From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Exposing Isearch toggleable options Date: Sun, 1 Nov 2015 12:42:16 +0000 Message-ID: References: <87611q7c3f.fsf@mail.linkov.net> <877fm5tefl.fsf@mail.linkov.net> <87wpu3x4p4.fsf@mail.linkov.net> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446381752 16704 80.91.229.3 (1 Nov 2015 12:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Nov 2015 12:42:32 +0000 (UTC) Cc: emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 01 13:42:32 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zsrxv-0006SN-My for ged-emacs-devel@m.gmane.org; Sun, 01 Nov 2015 13:42:31 +0100 Original-Received: from localhost ([::1]:36656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsrxv-0001LL-1p for ged-emacs-devel@m.gmane.org; Sun, 01 Nov 2015 07:42:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsrxi-0001L9-NN for emacs-devel@gnu.org; Sun, 01 Nov 2015 07:42:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zsrxh-0003Bg-KB for emacs-devel@gnu.org; Sun, 01 Nov 2015 07:42:18 -0500 Original-Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:35680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsrxh-0003Bb-CC for emacs-devel@gnu.org; Sun, 01 Nov 2015 07:42:17 -0500 Original-Received: by lfbn126 with SMTP id n126so51340540lfb.2 for ; Sun, 01 Nov 2015 04:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=6HjvjbM/aoDH2Z1vzWZ+S2ObCLQ6Vs93y1YLf4gm7pk=; b=o/fqx/HVgOXz+T8xPI8pFTdytl8yUI/iMcGPOUzybraqzQ6Q36LvV8BAECO4xs8A9+ KbP87AMQWXSQ4wuwDVlwJ6MHt274WKANj0Us1Iu1p3W0TWza+Kyp5chc5IyuQhUcMCUk TzDSoT+zLBavzqCgH/hiKKo20ODO0EhJ4R3l/dTa8t7sDHu+bATYzwHNId8cx8iNahkr UzMleeO4HTnS/9SFbxwOMPUiV4Hl9yhsP1pWENn74y3Iy9vZ+6dj4fdS+r8jyWOs3L77 dr45wcuhWx8eXX+wT/LXnH8AElMFPW1jqVUzBi+UsikcrB8lOeZQg1Phl2HR7odz7sjf tsLw== X-Received: by 10.25.212.8 with SMTP id l8mr5000776lfg.118.1446381736629; Sun, 01 Nov 2015 04:42:16 -0800 (PST) Original-Received: by 10.112.63.71 with HTTP; Sun, 1 Nov 2015 04:42:16 -0800 (PST) In-Reply-To: <87wpu3x4p4.fsf@mail.linkov.net> X-Google-Sender-Auth: K5-Oztj4anQQRzZodlLdEvdNpQI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193061 Archived-At: 2015-10-31 0:27 GMT+00:00 Juri Linkov : >> 1. [...] > > Instead of the Help buffer we could open a Customizable-like buffer > with widget-type fields, thus in addition to *showing* the current > search options and info about keys to change them, also allow > *changing* the current search options. Sounds like a good addition. >> 3. Display an information similar to the prompt I originally >> suggested, but on the mode-line. > > We already have a precedent in C mode with mode-line like > =E2=80=9CC/lah ,=E2=80=9D (note the space character inside, indicating Wo= rd mode). > In Isearch doing the same will show something like =E2=80=9CIsearch/c' w= =E2=80=9D > (case-sensitive char-folded lax-whitespace word search). While that's a fine addition to the current situation. I'm specifically trying to expose the keys you use to change isearch options. I suppose we could display those in a help-echo hint on those mode-line abbreviations, but I prefer to make it very clear to the user that they can type a key to see options. >> In items 1 and 2, we could display the indicators on an idle timer if pr= eferred. >> Here's what the minibuffer might look like in that situation: >> >> Isearch: search string [C-h] Help > > I doubt that users might want to see the same reminder =E2=80=9C[C-h] Hel= p=E2=80=9D > permanently or when paused to look at the highlighted search results. You see that `Isearch: ' prompt every time you hit C-s, and that's right beside the text you're typing. This Help reminder would be off to the right edge (so it's far from the text you're typing). Besides, if you just type C-h once, you'll see a buffer explaining (among other things) how to disable this reminder.