From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: snarf up text when at query-replace from: prompt Date: Thu, 09 Jan 2003 02:28:32 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87n0mjmaat.fsf@jidanni.org> <87u1gloopx.fsf@jidanni.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042097950 2574 80.91.224.249 (9 Jan 2003 07:39:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 07:39:10 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WXHQ-0000fO-00 for ; Thu, 09 Jan 2003 08:39:08 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WXMq-00071b-00 for ; Thu, 09 Jan 2003 08:44:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WXH3-0004E6-04 for emacs-devel@quimby.gnus.org; Thu, 09 Jan 2003 02:38:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WXFA-000384-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 02:36:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WXCS-0000Ql-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 02:34:11 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WX7A-00065s-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 02:28:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18WX7A-0001bE-00; Thu, 09 Jan 2003 02:28:32 -0500 Original-To: jidanni@dman.ddts.net In-reply-to: <87u1gloopx.fsf@jidanni.org> (message from Dan Jacobson on 07 Jan 2003 07:14:34 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10601 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10601 well actually lets talk about C-s. If one hit C-s C-h, wouldn't it be neat if it were like when one hit C-h k C-s? At least give some hints in the minibuffer about goodies like: Type C-s to search again forward, C-r to search again backward. Type C-w to yank word from buffer onto end of search string and search for it. Type C-y to yank rest of line onto end of search string and search for it. Type M-y to yank last killed text onto end of search string and search for it. etc. Such a feature was implemented, but I turned it off. ;; Turned off because I find I expect to get the global definition--rms. ;; ;; Instead bind C-h to special help command for isearch-mode. ;; (define-key map "\C-h" 'isearch-mode-help) I think I found it inconvenient because I would type C-h expecting it to exit the search and do its usual job. However, if this feature is significantly good for beginners, maybe we should turn it on again, and I can turn it of in my .emacs file. Does anyone else have an opinion?