From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: suggestion for C-s (isearch-.*) key-bindings Date: Mon, 23 Jul 2007 00:45:56 +0300 Organization: JURTA Message-ID: <87zm1op0x7.fsf@jurta.org> References: <87r6n1kfyg.fsf@debby.local.net> <87sl7hr2oy.fsf@jurta.org> <874pjxjk57.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185141528 24285 80.91.229.12 (22 Jul 2007 21:58:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 21:58:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dieter Wilhelm Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 22 23:58:45 2007 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 1ICjRn-0005zX-L7 for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 23:58:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICjRn-0001n3-7g for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 17:58:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICjQe-0001B4-P4 for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICjQd-0001A2-27 for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICjQc-00019v-TA for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:26 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ICjQc-0004sY-A5 for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:26 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1ICjQY-0003i9-BX; Mon, 23 Jul 2007 00:57:24 +0300 In-Reply-To: <874pjxjk57.fsf@debby.local.net> (Dieter Wilhelm's message of "Sun\, 22 Jul 2007 03\:35\:00 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Scanner-Signature: 0a21689c2f1d2e94d8aa83f1a1b60733 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1263 [July 20 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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:75331 Archived-At: >> M-s C-f - yank char to the search string >> M-s M-f - yank word to the search string >> M-s C-e - yank line to the search string >> M-s C-M-f - yank sexp to the search string > > Why do you prefer a special key combo beforehand the motion commands? > I, personally, am very happy with the current 'isearch mode' which > changes the meaning of some key-bindings. (Vi's modal philosophy in > Emacs by stealth!). And it makes sense, they are normally exclusive: > Either I want to move point by motion commands or I want to move by > searching commands, I don't see yet the rub. Unfortunately, there are too little keys that are not useful to exit isearch and be applied to the buffer where the search was exited. So it is hard to find a suitable key for the search type you proposed - to yank sexp to the search string. A special prefix key allows more keys to extend isearch functionality. >>> 2.) M-y -> C-y > > The M-y -> C-y would be good, wouldn't it? This is not a backward compatible change :( -- Juri Linkov http://www.jurta.org/emacs/