From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: binding c-h in isearch Date: Sat, 19 Apr 2008 15:39:51 -0700 Message-ID: <001e01c8a26e$47f41560$0200a8c0@us.oracle.com> References: <001b01c8a263$27d917e0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208644881 9799 80.91.229.12 (19 Apr 2008 22:41:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 22:41:21 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 20 00:41:56 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JnLko-000714-Os for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 00:41:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnLk9-0005oN-MB for ged-emacs-devel@m.gmane.org; Sat, 19 Apr 2008 18:41:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnLk5-0005k6-3F for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:41:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnLk3-0005gq-Fo for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:41:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnLk3-0005gf-D2 for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:41:07 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JnLk3-0003rR-CX for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:41:07 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m3JMf4Gl008742; Sat, 19 Apr 2008 17:41:04 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m3JL3gdg031836; Sat, 19 Apr 2008 16:41:03 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3655334751208644777; Sat, 19 Apr 2008 15:39:37 -0700 Original-Received: from dradamslap1 (/141.144.88.148) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 19 Apr 2008 15:39:37 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AciiZ1Mghj1Ef05cReOFkclt3i6eMQAAHDvA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95488 Archived-At: > > bind C-h to `isearch-mode-help'. > > I like the simplicity of it, indeed. But I also agree that > C-h k during isearch would come in handy sometimes, so it is > a good idea to try and make it work. That's a very minor advantage. And with the conventional approach, you would have that info anyway, once you have displayed the isearch-mode help, at the cost of an extra key hit or two. With the conventional approach, you would see succinct help about _only_ isearch mode, and you could always drill down for more detailed info if you want. The proposed approach, besides making the UI less conventional and so more complex, will make you wade through the other global C-h crap (either an extra prompt or the complete C-h C-h display) to get to whatever might be specific to isearch mode. The same is true even if we show the C-h m display instead of the C-h C-h display: it contains stuff that is extraneous to isearch. IOW, either you want (truly) global help (what RMS asked for) or you want isearch-mode help. The proposed approach gives you something halfway between. And it's not even obvious (esp. to newbies) that it does that - you might think that you're seeing vanilla global help, not help tailored for a particular mode. [Yes, that can be true for other modes too, but isearch-mode is a bit peculiar. It is not a conventional minor mode. You cannot do M-x isearch-mode to enter isearch minor mode - isearch-mode is not even a command (and isearch-minor-mode doesn't even exist). And if you do M-: (isearch-mode t), the top of the help buffer says "isearch-forward is...", not "isearch-mode is...".]