From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6232: Suggestion for isearch: in backward search yank to front of search string Date: Fri, 21 May 2010 03:18:19 +0200 Message-ID: References: <87sk5myv0i.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1274405233 13203 80.91.229.12 (21 May 2010 01:27:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 01:27:13 +0000 (UTC) Cc: 6232@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 21 03:27:12 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFH15-0005Il-ME for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 May 2010 03:27:12 +0200 Original-Received: from localhost ([127.0.0.1]:38949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFH15-0005ia-1d for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 21:27:11 -0400 Original-Received: from [140.186.70.92] (port=51875 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFH0x-0005iQ-2U for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 21:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFH0v-00072j-Dn for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 21:27:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60175) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFH0v-00072b-6m for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 21:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFGtC-0002er-Bt; Thu, 20 May 2010 21:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 May 2010 01:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6232 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6232-submit@debbugs.gnu.org id=B6232.127440472710209 (code B ref 6232); Fri, 21 May 2010 01:19:02 +0000 Original-Received: (at 6232) by debbugs.gnu.org; 21 May 2010 01:18:47 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFGsw-0002ec-DG for submit@debbugs.gnu.org; Thu, 20 May 2010 21:18:46 -0400 Original-Received: from mail-gx0-f223.google.com ([209.85.217.223]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFGsu-0002eW-5S for 6232@debbugs.gnu.org; Thu, 20 May 2010 21:18:44 -0400 Original-Received: by gxk23 with SMTP id 23so265256gxk.15 for <6232@debbugs.gnu.org>; Thu, 20 May 2010 18:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=zVb/cauO+FNL7tRa7Jwu3N8gaiGdAjvSZI0zLNJn9Qo=; b=Jy5nBWN5lW9sDpjAAKm+QoVsEZfXoi4LVD10QP71nl5y2rnhqJ2NnsenNu9sryXiIU uceYYrPx5piLWNwEZQbL2dtd3ft6UrTzOrf/dRzM+ebiQI2HiEwYkelEa0MzxKQp2XGv 992mX+fZZXQJAUtbQGFPHcYQ6zc01bth8vCNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ex264hMePSSoDjuMYFzc1ForDeRdw7xT6Qaf2+pJAdaEnsEMcxg93auk06eNcHEUzn LkgZuAIOFByBjCzWOCpVp2vrKOhHNzT/DhgqYMAAjU2stjVK9OUdRSo7DVxMCwEd7tgx odxnZcAgVIJY5QvzFVXTHOxwMyNZg8DpCtmuY= Original-Received: by 10.100.246.28 with SMTP id t28mr1359884anh.122.1274404720189; Thu, 20 May 2010 18:18:40 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Thu, 20 May 2010 18:18:19 -0700 (PDT) In-Reply-To: <87sk5myv0i.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 May 2010 21:19:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37128 Archived-At: On Fri, May 21, 2010 at 2:09 AM, Juri Linkov wrote: >> Yanking to the end of the search string in isearh (i.e. C-w etc.) is >> very practical. However I miss yanking to the front of the search >> string. >> >> My suggestion is to change the semantics a bit and yank to the front >> of the search string when searching backwards. What do you think? > > I think this would be wrong to do because C-w and all other yanking commands > always yank in the forward direction. My suggestion to use the normal key bindings but let them act in the reverse direction is based on reasoning like this: 1) There is a lack of key bindings in isearch-mode. 2) Using the same keybindings make them easy to remember. 3) It does seem rather logical that the yanking is done at the other end when search direction is reversed. 4) Maybe more important: The marker in isearch that shows the direction will be at the position where the yanking is done. Or at least nearly. So the semantics is in a sense the same since yanking is done forward from that marker.