Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1567918imm; Wed, 6 Jun 2018 19:05:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKXMtVUCokEZFZ8MHVKEcDgfBvB0ZVmcnhWBFYqd6IdSTMT/6YzbcwD4f/96KGQRYM50GdD X-Received: by 2002:a63:745a:: with SMTP id e26-v6mr4381148pgn.377.1528337118065; Wed, 06 Jun 2018 19:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528337118; cv=none; d=google.com; s=arc-20160816; b=sC08+eSvgeQBWmoZ1oJ7a4av+Cgevl8qagZKjuywqSHb1nUMcr8s96BDbIqZYjwIty ppqeKtLoGeOqy1TEcvKSUGXOB4VZIjX0+m82qYvuGOk1koCGuHRDsokf9eXcxjrOCoP/ cmEIpT13oRsjP8wVFskYP7Izf4/JABuMciPQqyRmM/xEaAIuTE9pKtXyLc/TKcNuvEq+ MPf6ObJeSTuBbWXaPg4pV01Fyj2QyLZ3USlJ6ERu/ojAuEErOOwlCpNtULZcST1jjBie GoI0/nE3d6rcVoxiAQHs7Vceeh9ZtWEIfflJtGHzoCjOXpsxlW2vmtMrcbZzM7EhwQaI r4hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=pHaLTQcxRXY6lY44zxRe9h1HGHhdA6InhKaCw8a2dpQ=; b=YQncYjfjqWdH0DKFVlpVoYL7lg5afokHTOV/E6I/lE/7YEPdoSqXAfu031PMXqO1bx LWyz0I78l0+Gf8EY5pb+v/Phibsgc3xfVT+CpY+Y9Btx6RqyBzW1JzXydsKsyFa3oHsP hBSxQ1Hcmd5shc+NieCSiEA4N2kqrE2ELV0l8j170sUZSkTeUs+WD8eNJ8W1zANh/BWd 2tjza0hGpv6wG0Vd4p1ig3O6uBGlx4zERqIunU229dbibd5PF0e5Nc0+znJbbPD9b67z gZmUWuguJoZoWJXO1iaiKrzfrCex+0YzG03g0SgemfZOQZ1cEXtbXOLyBPXa6iucu8EY DLJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pDVSTU6g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f127-v6si39081348pgc.503.2018.06.06.19.05.02; Wed, 06 Jun 2018 19:05:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pDVSTU6g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753210AbeFGCDa (ORCPT + 99 others); Wed, 6 Jun 2018 22:03:30 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:17111 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933567AbeFGCDY (ORCPT ); Wed, 6 Jun 2018 22:03:24 -0400 Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w5723IjN019354; Thu, 7 Jun 2018 11:03:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w5723IjN019354 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1528336999; bh=pHaLTQcxRXY6lY44zxRe9h1HGHhdA6InhKaCw8a2dpQ=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=pDVSTU6gdVdp+SVMpXMdcLQgvuqyzU8FCYSNjkGSUUphUA95CfR1770rDvIPryVWU gJyy9U2YZ1CYmj7XXgX96petEYa1Qk6gDQkbN03Rvy+EDuFeuK3aMcr4odXPf36HcZ /WKbXkl/cMJRKStcXl/kVp0Ij73/M6mPu0tGCXDPL2OoQZ1hSVKct1Zs4uGWwdN+8+ JTxZxz/dm1WQqPlUL9MzPJdiZUdOBTU4TYHUedEVR9uhs+si+7EKvAzQceK4pmcSgy U9Ta4jr4jxQbnMVZuCt9H/CJppVimjVCYrWiC2uP3m/DXm9B3YyUE5KbmdrKilqjNR F0ZFX4drXqnuw== X-Nifty-SrcIP: [209.85.217.173] Received: by mail-ua0-f173.google.com with SMTP id c23-v6so5419714uan.3; Wed, 06 Jun 2018 19:03:18 -0700 (PDT) X-Gm-Message-State: APt69E2xMW5KqUpajrT6/YB1GKincwRQhcdFAPLOliL+P0y/P0yAkfyp bpFHWDaH9kJ+ktoYWkI1Aom/E3Cc096dzj8w7cE= X-Received: by 2002:a9f:3d6b:: with SMTP id m43-v6mr3761528uai.17.1528336997765; Wed, 06 Jun 2018 19:03:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 19:02:37 -0700 (PDT) In-Reply-To: References: <20180606215616.12817-1-dirk@gouders.net> From: Masahiro Yamada Date: Thu, 7 Jun 2018 11:02:37 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 0/1] mconf: Emacs-like isearch To: Dirk Gouders Cc: Randy Dunlap , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-06-07 8:54 GMT+09:00 Dirk Gouders : > Randy Dunlap writes: > >> On 06/06/2018 03:32 PM, Dirk Gouders wrote: >>> Randy Dunlap writes: >>> >>>> On 06/06/2018 02:56 PM, Dirk Gouders wrote: >>>>> Hello, >>>>> >>>>> being an Emacs user, I frequently find myself pressing CTRL-s in mconf >>>>> to search for some menu entry, especially in large menus. I use Emacs, but I have never typed Ctrl-s in menuconfig. Is it important to use the same key pattern as in Emacs? You intercepted Ctrl-* Currently, Ctrl-C terminates the program, but this patch makes it no-op. >>>>> I decided to implement a basic isearch in mconf and would like to hear >>>>> if others find this functionality useful, as well. >>>>> >>>>> The new functionality is started with pressing CTRL-s followed by >>>>> characters that form the search string. To search for further >>>>> occurences of an entered string, press CTRL-s instead of further >>>>> characters. >>>>> >>>>> For example: to navigate to the USB device drivers, press CTRL-s de ENTER ENTER usb ENTER ENTER >>>> >>>> Not being an emacs user, what is the "de" for above? >>> >>> "de" (with my .config) causes a match for "Device Drivers" -- >>> no other menu entry matching the string "de" is befor that entry. >>> >> >> Device Drivers is the first match for me also. >> >> To get to the USB drivers, I have to enter: >> CTRL-s de ENTER ENTER CTRL-s usb ENTER ENTER > > Yes, I left out the second CTRL-s, thank you! > > Oh well, I shouldn't have sent this late at night, then I would probably > have explained the needed input as: > > 1) CTRL-s // start isearch > 2) de // substring that matches "Device Drivers" > 3) ENTER // quit isearch > 4) ENTER // enter Device Drivers menu > 5) CTRL-s // start isearch > 6) usb // navigate to USB support > 7) ENTER // quit isearch > 8) ENTER // enter USB support menu Hmm. I tried this, but I was a bit annoyed. I wonder if this could be more user-friendly. For example, I want KEY_UP/DOWN/LEFT/RIGHT to quit the search mode without pressing ENTER. > Again, I'm really sorry for the confusion. > > Dirk > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html You in -- Best Regards Masahiro Yamada