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 19:34:46 +0000 Message-ID: References: <87611q7c3f.fsf@mail.linkov.net> <877fm5tefl.fsf@mail.linkov.net> <87wpu3x4p4.fsf@mail.linkov.net> <1bb5e765-6599-4076-b9c7-11b416a48db7@default> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1446406504 22391 80.91.229.3 (1 Nov 2015 19:35:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Nov 2015 19:35:04 +0000 (UTC) Cc: emacs-devel , Juri Linkov To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 01 20:35:04 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 1ZsyP9-0000ho-6R for ged-emacs-devel@m.gmane.org; Sun, 01 Nov 2015 20:35:03 +0100 Original-Received: from localhost ([::1]:38587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsyP8-0006E5-Fl for ged-emacs-devel@m.gmane.org; Sun, 01 Nov 2015 14:35:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsyOu-0006Dz-MK for emacs-devel@gnu.org; Sun, 01 Nov 2015 14:34:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsyOt-0003LC-Nw for emacs-devel@gnu.org; Sun, 01 Nov 2015 14:34:48 -0500 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:36341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsyOt-0003L0-Gl for emacs-devel@gnu.org; Sun, 01 Nov 2015 14:34:47 -0500 Original-Received: by lbjm5 with SMTP id m5so75694282lbj.3 for ; Sun, 01 Nov 2015 11:34:46 -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; bh=ftHlTfsjqOTK/g0joCMQatroLcI8qlz5W/TvBycn9Dc=; b=XxRjCKcahq4jQHSnx7eTGDMhgW7oLrHx3mKlDj9VRdrMUA0I/5KHKVBINV98WsM83z Xr+H7YO7nRT3eZ242nW4roP4PJLnPC8Izon01SWBW45vbMwitrBdF5/344l4Unm8EF6g FtS4SYyaMAUd/ZD11/2mCfbjz/zV43HQlp86INMV8aMVyc5Y3ABdWaFbs2JcdvRhqjws mtADrmKVG8eeg8ARLdf4HkL2tWtpX3qTtaTBSJQuRPCGnMps2I2f9Exz2yaeXY6oJXL4 gleOTBLVkGyLQGXJ9XEbFFCzOfY+usStkNlvMQsd3xTGU4A1LvqNqs2M2yECLbm1Dbs+ M3lA== X-Received: by 10.112.235.65 with SMTP id uk1mr8094172lbc.118.1446406486883; Sun, 01 Nov 2015 11:34:46 -0800 (PST) Original-Received: by 10.112.63.71 with HTTP; Sun, 1 Nov 2015 11:34:46 -0800 (PST) In-Reply-To: <1bb5e765-6599-4076-b9c7-11b416a48db7@default> X-Google-Sender-Auth: 08mCxpkpjusVXCcyecXJOdaoG8k X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 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:193076 Archived-At: 2015-11-01 16:01 GMT+00:00 Drew Adams : >> > 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. > > Not to me, it doesn't. A widget-filled buffer is a step > backward in this context, IMO. I should have explained more. I don't mean it would be good to merge isearch's customization group with the help buffer. I just meant we could add a few checkboxes to that buffer. For instance, currently the help for isearch has a paragraph like this: Type M-s c to toggle search case-sensitivity. Type M-s i to toggle search in invisible text. Type M-s r to toggle regular-expression mode. Type M-s w to toggle word mode. Type M-s _ to toggle symbol mode. Type M-s ' to toggle character folding. Adding a single checkbox to the end (or start) of each line would be nice (and it isn't what I'd call a "widget-filled" buffer). Or we could replace that paragraph with something like this (where [] denotes a checkbox) Search options | Toggle key --------------------------------------------------- [] case-sensitive | M-s c [] inside invisible text | M-s i [] regular-expression | M-s r [] word mode | M-s w [] symbol mode | M-s _ [] character folding | M-s ' (let's not nitpick on the format here, I'm just suggesting how the options could be made toggleable) > See above. The mode-line is precious,[...] The mode-line is a poor design > choice for reminders about Isearch keys. Which is why number 3 is my least preferred option. :-) > And again, prominent reminders of Isearch keys should not > privilege the keys to change option values. [...] > option toggling should [not] suddenly be considered > the only, or even the most, important kind of Isearch > action to remind users about. Which is why option 1) was my first preference. The isearch help buffer exposes all keys, not just those toggles (and we can reorder it how we see fit). > (Artur/Bruce - which do you prefer, BTW?) Artur. Chaging this email address has been on my todo list. :-P > I agree that putting such a reminder in the echo area > would not be a step forward. Noted.