From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Isearch: yanking before point Date: Thu, 23 Aug 2007 08:15:33 +0200 Message-ID: <85ir76ixoa.fsf@lola.goethe.zz> References: <20070821155943.GA19989@saeurebad.de> <20070822033338.GA32402@saeurebad.de> <87veb8hvz9.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1187849745 9627 80.91.229.12 (23 Aug 2007 06:15:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 06:15:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan =?iso-8859-1?Q?Reich=F6r?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 23 08:15:44 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 1IO5yo-0003Jg-UL for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 08:15:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO5yo-0000m5-6i for ged-emacs-devel@m.gmane.org; Thu, 23 Aug 2007 02:15:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IO5yk-0000lC-3H for emacs-devel@gnu.org; Thu, 23 Aug 2007 02:15:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IO5yi-0000kQ-La for emacs-devel@gnu.org; Thu, 23 Aug 2007 02:15:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IO5yi-0000kL-CY for emacs-devel@gnu.org; Thu, 23 Aug 2007 02:15:36 -0400 Original-Received: from mail-in-07.arcor-online.net ([151.189.21.47]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IO5yh-0004HX-Rh for emacs-devel@gnu.org; Thu, 23 Aug 2007 02:15:36 -0400 Original-Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 4A9FE24B632; Thu, 23 Aug 2007 08:15:34 +0200 (CEST) Original-Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id 3B36E2DAB45; Thu, 23 Aug 2007 08:15:34 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-050-128.pools.arcor-ip.net [84.61.50.128]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id 125983664C1; Thu, 23 Aug 2007 08:15:34 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 91E441C36605; Thu, 23 Aug 2007 08:15:33 +0200 (CEST) In-Reply-To: ("Stefan =?iso-8859-1?Q?Reic?= =?iso-8859-1?Q?h=F6r=22's?= message of "Thu\, 23 Aug 2007 07\:56\:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Virus-Scanned: ClamAV 0.91.1/4032/Wed Aug 22 22:15:27 2007 on mail-in-06.arcor-online.net X-Virus-Status: Clean X-Detected-Kernel: 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:77016 Archived-At: Stefan Reich=F6r writes: > Stefan Monnier writes: > >>> I'd suggest M-w for `isearch-yank-word-before-point' and M-l for >>> `isearch-yank-line-before-point'. That reminds me of scrolling up and >>> down, where the C-binding moves forward and the M-binding backward. >> >> Could we just add a single binding for "yank as follows" which would put >> isearch in a submode where you can move with the usual movement commands= and >> that corresponding text would thus be yanked? >> >> This way we only need to use a single key-binding and we get to reuse all >> the old movement key bindings we all know and love without having to lea= rn >> "oh right in isearch, to move forward one word I need C-w rather than M-f >> and to move back one word is M-w rather than M-b, and to move one line i= s=20 >> M-l rather than C-p and there's no equivalent to C-M-f and ..." > > That is a GREAT idea! How about ESC i for "escape isearch"? And another M-i to get back in again? --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum