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: isearch and M-y/C-y Date: Thu, 20 Nov 2008 01:18:00 +0200 Organization: JURTA Message-ID: <874p23b907.fsf@jurta.org> References: <1226849462.184357.3770.nullmailer@null> <87zljzpbml.fsf@jurta.org> <1226945661.613276.9583.nullmailer@null> <87k5b22br7.fsf@jurta.org> <1227049197.867615.3169.nullmailer@null> <1227108293.271364.5180.nullmailer@null> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227136820 4163 80.91.229.12 (19 Nov 2008 23:20:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 23:20:20 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 20 00:21:22 2008 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 1L2wMG-0003QJ-Mq for ged-emacs-devel@m.gmane.org; Thu, 20 Nov 2008 00:21:16 +0100 Original-Received: from localhost ([127.0.0.1]:41552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2wL7-0002yH-I9 for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 18:20:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2wKy-0002wn-2F for emacs-devel@gnu.org; Wed, 19 Nov 2008 18:19:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2wKv-0002wA-RA for emacs-devel@gnu.org; Wed, 19 Nov 2008 18:19:55 -0500 Original-Received: from [199.232.76.173] (port=36935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2wKv-0002w7-NI for emacs-devel@gnu.org; Wed, 19 Nov 2008 18:19:53 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:51801) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2wKs-0006Cg-UX; Wed, 19 Nov 2008 18:19:51 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1L2wKq-000Gn2-6j; Thu, 20 Nov 2008 01:19:48 +0200 In-Reply-To: <1227108293.271364.5180.nullmailer@null> (Alfred M. Szmidt's message of "Wed, 19 Nov 2008 16:24:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: c2436a487120708c9e0f2b31fdd4cc45 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5787 [Nov 20 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:105836 Archived-At: > The current search C-y feature needs to be easy to type in order to > be any use. I think C-M-y would be too inconvenient, so it would > almost have the effect of eliminating this feature. > > We use C-M-w already, and other C-M- combinations, so I cannot see how > that would be any more inconvient. Perhaps someone has a better idea > for a keybinding? I have the following idea: bind `isearch-yank-line' to `M-s C-e' because `move-end-of-line' is on `C-e'. It is also possible to allow a sequence of `M-s C-e C-e C-e ...' without the need to repeat `M-s' before each `C-e'. This can be extended to other motion commands, e.g. `M-s C-f C-f C-f ...' to call a sequence of `isearch-yank-char', `M-s M-f M-f M-f ...' to call a sequence of `isearch-yank-word', and any combinations of them `M-s C-f M-f C-f ...', etc. -- Juri Linkov http://www.jurta.org/emacs/