From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Isearch: yanking before point Date: Wed, 22 Aug 2007 11:17:38 -0400 Message-ID: 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=us-ascii X-Trace: sea.gmane.org 1187795927 13599 80.91.229.12 (22 Aug 2007 15:18:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 15:18:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 22 17:18:46 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 1INryo-0005eA-6t for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 17:18:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INryn-0002vb-El for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2007 11:18:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INryj-0002rY-3i for emacs-devel@gnu.org; Wed, 22 Aug 2007 11:18:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INryi-0002qc-Ij for emacs-devel@gnu.org; Wed, 22 Aug 2007 11:18:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INryi-0002q9-9i for emacs-devel@gnu.org; Wed, 22 Aug 2007 11:18:40 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INryh-0006kr-VX for emacs-devel@gnu.org; Wed, 22 Aug 2007 11:18:40 -0400 Original-Received: from ceviche.home (vpn-132-204-232-183.acd.umontreal.ca [132.204.232.183]) by pruche.dit.umontreal.ca (8.13.7/8.13.7) with ESMTP id l7MFIcKj022474 for ; Wed, 22 Aug 2007 11:18:38 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 22FC4B4123; Wed, 22 Aug 2007 11:17:37 -0400 (EDT) In-Reply-To: <87veb8hvz9.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed\, 22 Aug 2007 09\:25\:14 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered HAS_X_HELO=0 X-Detected-Kernel: Linux 2.6 (newer, 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:76965 Archived-At: > 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 learn "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 is M-l rather than C-p and there's no equivalent to C-M-f and ..." Stefan