From unknown Fri Aug 15 14:18:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6232 <6232@debbugs.gnu.org> To: bug#6232 <6232@debbugs.gnu.org> Subject: Status: Suggestion for isearch: in backward search yank to front of search string Reply-To: bug#6232 <6232@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:18:13 +0000 retitle 6232 Suggestion for isearch: in backward search yank to front of se= arch string reassign 6232 emacs submitter 6232 Lennart Borgman severity 6232 wishlist tag 6232 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 12:09:56 2010 Received: (at submit) by debbugs.gnu.org; 20 May 2010 16:09:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF8Jn-0006RV-UN for submit@debbugs.gnu.org; Thu, 20 May 2010 12:09:56 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF8Jl-0006RL-D8 for submit@debbugs.gnu.org; Thu, 20 May 2010 12:09:53 -0400 Received: from lists.gnu.org ([199.232.76.165]:40210) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OF8Jg-0008Id-RB for submit@debbugs.gnu.org; Thu, 20 May 2010 12:09:48 -0400 Received: from [140.186.70.92] (port=42786 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF8Jb-0007aK-9E for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 12:09:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF8JT-0003Nj-FN for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 12:09:43 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:56652) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF8JS-0003NU-NR for bug-gnu-emacs@gnu.org; Thu, 20 May 2010 12:09:34 -0400 Received: by gyg4 with SMTP id 4so5340767gyg.0 for ; Thu, 20 May 2010 09:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=9se3Y0tOld3Oa6lM3vtTzXXOzkiSv6f2cYr7mchrvBw=; b=GqU6Qsc7cxNQDdO/fBcJWWl4R5r59ClwLVEO2Amu8+WI68Qg33JpmXw6PEPXLHM/PV /pDia71TE8wWfnuPCcoREEKrKwyzWpOlXBW/YSyiCDF23yX0jwCgYIQmPC1KlTJDCNl+ w8zhflCtzqjk1TDzyGs1AshOQfeSvL1MDe6gg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=RjAuvuGbRM/y5X63N+d2ZKVu1YU9ffoEzWQ55liiUFniACsc/ENc++Xe6ZH1D3Apd4 MUlDC0UT//vKrhEzTeKTxJCpbWT3Tb/Uotxwi3orxiBA1LUAQqDtY4x1d19skaEQz8Df RIgcX9vPT0AD0UmgX5CPX/pTHBu+Rd34ZhVwo= Received: by 10.101.133.30 with SMTP id k30mr357794ann.42.1274371773722; Thu, 20 May 2010 09:09:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.177.20 with HTTP; Thu, 20 May 2010 09:09:12 -0700 (PDT) From: Lennart Borgman Date: Thu, 20 May 2010 18:09:12 +0200 Message-ID: Subject: Suggestion for isearch: in backward search yank to front of search string To: Emacs Bugs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) 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? From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 20:12:08 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 00:12:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFFqS-0002B4-4Y for submit@debbugs.gnu.org; Thu, 20 May 2010 20:12:08 -0400 Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFFqQ-0002Ac-8n for 6232@debbugs.gnu.org; Thu, 20 May 2010 20:12:06 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.33.97.cable.starman.ee [82.131.33.97]) by mx1.starman.ee (Postfix) with ESMTP id B0D493F412F; Fri, 21 May 2010 03:11:59 +0300 (EEST) From: Juri Linkov To: Lennart Borgman Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string Organization: JURTA References: Date: Fri, 21 May 2010 03:09:37 +0300 In-Reply-To: (Lennart Borgman's message of "Thu, 20 May 2010 18:09:12 +0200") Message-ID: <87sk5myv0i.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 6232 Cc: 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > 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. -- Juri Linkov http://www.jurta.org/emacs/ From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 21:18:47 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 01:18:47 +0000 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 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 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= Received: by 10.100.246.28 with SMTP id t28mr1359884anh.122.1274404720189; Thu, 20 May 2010 18:18:40 -0700 (PDT) MIME-Version: 1.0 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> References: <87sk5myv0i.fsf@mail.jurta.org> From: Lennart Borgman Date: Fri, 21 May 2010 03:18:19 +0200 Message-ID: Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string To: Juri Linkov Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 6232 Cc: 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 04:27:34 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 08:27:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFNZt-0006ri-Pp for submit@debbugs.gnu.org; Fri, 21 May 2010 04:27:34 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFNZs-0006rc-JJ for 6232@debbugs.gnu.org; Fri, 21 May 2010 04:27:33 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 1715C1C002B5; Fri, 21 May 2010 10:27:29 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 04F06901BD; Fri, 21 May 2010 10:27:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id rudG-9BocYVg; Fri, 21 May 2010 10:27:28 +0200 (CEST) Received: from hase.home (ppp-88-217-123-22.dynamic.mnet-online.de [88.217.123.22]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 21 May 2010 10:27:27 +0200 (CEST) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string References: X-Yow: I love FRUIT PICKERS!! Date: Fri, 21 May 2010 10:27:28 +0200 In-Reply-To: (Lennart Borgman's message of "Thu, 20 May 2010 18:09:12 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6232 Cc: 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > 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? Such a feature should definitely be on a separate key. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 04:35:04 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 08:35:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFNhA-0006va-2K for submit@debbugs.gnu.org; Fri, 21 May 2010 04:35:04 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFNh9-0006vE-1f for 6232@debbugs.gnu.org; Fri, 21 May 2010 04:35:03 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id D73F81C00219; Fri, 21 May 2010 10:34:59 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 7F2E7901E5; Fri, 21 May 2010 10:34:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id 8eJ3qZPRav47; Fri, 21 May 2010 10:34:58 +0200 (CEST) Received: from hase.home (ppp-88-217-123-22.dynamic.mnet-online.de [88.217.123.22]) by mail.mnet-online.de (Postfix) with ESMTP; Fri, 21 May 2010 10:34:58 +0200 (CEST) From: Andreas Schwab To: Lennart Borgman Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string References: <87sk5myv0i.fsf@mail.jurta.org> X-Yow: Four thousand different MAGNATES, MOGULS & NABOBS are romping in my gothic solarium!! Date: Fri, 21 May 2010 10:34:58 +0200 In-Reply-To: (Lennart Borgman's message of "Fri, 21 May 2010 03:18:19 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6232 Cc: Juri Linkov , 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Lennart Borgman writes: > 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. It would be totally confusing behaviour. Normal characters are always added at the end, so yanking should always behave the same. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 05:54:43 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 09:54:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFOwF-0007Wm-9O for submit@debbugs.gnu.org; Fri, 21 May 2010 05:54:43 -0400 Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFOwD-0007Wh-Fm for 6232@debbugs.gnu.org; Fri, 21 May 2010 05:54:42 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:37490) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1OFOw9-0007Au-BX (Exim 4.70) (return-path ); Fri, 21 May 2010 10:54:37 +0100 From: Leo To: Andreas Schwab Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string References: Date: Fri, 21 May 2010 10:54:36 +0100 In-Reply-To: (Andreas Schwab's message of "Fri, 21 May 2010 10:27:28 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 6232 Cc: Lennart Borgman , 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) On 2010-05-21 09:27 +0100, Andreas Schwab wrote: > Lennart Borgman writes: > >> 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? > > Such a feature should definitely be on a separate key. > > Andreas. C-y is almost useless to me so I have done something like this: (define-key isearch-mode-map [remap isearch-yank-line] 'isearch-yank-sexp) (defun isearch-yank-sexp () "Pull the sexp at point into search string." (interactive) (if (and isearch-just-started (bounds-of-thing-at-point 'sexp)) (progn (goto-char (car (bounds-of-thing-at-point 'sexp))) (isearch-yank-string (thing-at-point 'sexp))) (isearch-yank-internal (lambda () (ignore-errors (forward-sexp 1)) (point))))) Leo From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 14:31:41 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 18:31:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFX0W-0003jX-Sx for submit@debbugs.gnu.org; Fri, 21 May 2010 14:31:41 -0400 Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFX0U-0003jS-TT for 6232@debbugs.gnu.org; Fri, 21 May 2010 14:31:39 -0400 Received: by gwb19 with SMTP id 19so149423gwb.3 for <6232@debbugs.gnu.org>; Fri, 21 May 2010 11:31:34 -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 :content-transfer-encoding; bh=3NcbTY4voGsXUL56eOZ2CGoOFmOOWK/3dlEl/YoKe48=; b=BftZAHusVF6Px2p8FWUFr/n/e2LzkOv0P4bqJTWN9ixcLYNxEuZvgvRCRznxCqzy2/ JEUSY9WRgE5FeENwWelnOxL4OIxqWDqfQYstiQU4Lf8YJ+ZmgWfmIrrzWcjLK+9Wug8h 1WBPpxeAgdkUcVaTNW25vEdgTHxDAuy8qtyNA= 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:content-transfer-encoding; b=Q3gekT/odZxDrqD1zCWFrSDppSP8yTi/RK6NW0hOgkrUiXmZ8T1d79WbyoMBg+bczm /XE2SCRBnI83qtNssWceNmWlChpQzQGolAZzrhesv/dgCrddvCOme0N5GBWrqAMbhKVt 9FsV5pjJHfVeHq7P2dhmJtgudPmCClcJPx0MM= Received: by 10.101.10.26 with SMTP id n26mr2904820ani.55.1274466693195; Fri, 21 May 2010 11:31:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.177.20 with HTTP; Fri, 21 May 2010 11:31:12 -0700 (PDT) In-Reply-To: References: <87sk5myv0i.fsf@mail.jurta.org> From: Lennart Borgman Date: Fri, 21 May 2010 20:31:12 +0200 Message-ID: Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string To: Andreas Schwab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6232 Cc: Juri Linkov , 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On Fri, May 21, 2010 at 10:34 AM, Andreas Schwab wr= ote: > Lennart Borgman writes: > >> 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. > > It would be totally confusing behaviour. =C2=A0Normal characters are alwa= ys > added at the end, so yanking should always behave the same. I can see your point, but my gut feeling is perhaps not the same. Also consider the 4th point I made: > 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. I any case I think it is important that the key sequences for adding at the beginning and end of the search string are similar. There are 4 yank commands in isearch for adding at the end. How about adding shift to these to add at the beginning? From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 17:09:49 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 21:09:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZTZ-0004uP-FM for submit@debbugs.gnu.org; Fri, 21 May 2010 17:09:49 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZTY-0004uK-H9 for 6232@debbugs.gnu.org; Fri, 21 May 2010 17:09:48 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFZTU-0007o9-4Y; Fri, 21 May 2010 17:09:44 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Lennart Borgman In-reply-to: (message from Lennart Borgman on Fri, 21 May 2010 03:18:19 +0200) Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string References: <87sk5myv0i.fsf@mail.jurta.org> Message-Id: Date: Fri, 21 May 2010 17:09:44 -0400 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6232 Cc: juri@jurta.org, 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) In backward search, self-inserting characters add to the end of the search string. To make yank add at the beginning would be inconsistent and not useful. From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 17:19:48 2010 Received: (at 6232) by debbugs.gnu.org; 21 May 2010 21:19:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZdE-0004z2-L1 for submit@debbugs.gnu.org; Fri, 21 May 2010 17:19:48 -0400 Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFZdC-0004yx-Ld for 6232@debbugs.gnu.org; Fri, 21 May 2010 17:19:47 -0400 Received: by gwb19 with SMTP id 19so221103gwb.3 for <6232@debbugs.gnu.org>; Fri, 21 May 2010 14:19:42 -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 :content-transfer-encoding; bh=xGWSjVTfwYn6E/XmD/LS8MoCLZ05izZ/K0gfBWYorvA=; b=XaSmEIUkLtSzWvaTOo1u7+lYx2EjUNxmh6YTnAK2qex9MI5ntPiRAsae407c6NeyPo rOcEIzVz1OGgSBZQAy/GSBh/HACO25mULVjsmJawOsCwgSFaradm+oGDxtHYhKLkSnkl WEaw3V11cPy2e5kHElTxuLIrY5pWLWCntC5ew= 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:content-transfer-encoding; b=bB8WZak0PctcPgEPsHZk8zMVcPJ+ZEQwHeWfdLuwjZ2bcPUrsXsjCk8ObWSZ6OUaLU kxk6C2v5KvjzN07nay+AqNv42b7rpUS19FVS6A1IIcm2nlGU2A9BkvqMjXPsrvVWPmr8 ITZ4ZRgGlV47Nt3mYvc5iWmk7VWNP9sQ9iMGk= Received: by 10.100.233.4 with SMTP id f4mr2989231anh.217.1274476782221; Fri, 21 May 2010 14:19:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.177.20 with HTTP; Fri, 21 May 2010 14:19:22 -0700 (PDT) In-Reply-To: References: <87sk5myv0i.fsf@mail.jurta.org> From: Lennart Borgman Date: Fri, 21 May 2010 23:19:22 +0200 Message-ID: Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string To: rms@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 6232 Cc: juri@jurta.org, 6232@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On Fri, May 21, 2010 at 11:09 PM, Richard Stallman wrote: > In backward search, self-inserting characters add to the end of the > search string. =C2=A0To make yank add at the beginning would be > inconsistent Both you and Andreas think that yanking at the beginning for backward isearch is inconsistent. If you both feel that way I tend to agree (since this is a usability proble= m). > and not useful. However if it is useful is a quite different thing. I have use cases for it. I can't imagine that other people does not have it so I assume this is not really what you (or Andreas) wanted to say. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 21:42:41 2012 Received: (at 6232-done) by debbugs.gnu.org; 22 Feb 2012 02:42:41 +0000 Received: from localhost ([127.0.0.1]:49668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S02AC-0000ue-PB for submit@debbugs.gnu.org; Tue, 21 Feb 2012 21:42:40 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:55774 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S02AA-0000uW-6o for 6232-done@debbugs.gnu.org; Tue, 21 Feb 2012 21:42:38 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S027t-0007K5-Nc; Tue, 21 Feb 2012 21:40:17 -0500 From: Glenn Morris To: 6232-done@debbugs.gnu.org Subject: Re: bug#6232: Suggestion for isearch: in backward search yank to front of search string References: <87sk5myv0i.fsf@mail.jurta.org> X-Spook: Mantis 64 Vauxhall Cross Aldergrove Ft. Meade ASPIC X-Ran: ">J,AD5a[(7+C,MIxq9~L{#fUyc1g:KcKfT>+byi9;h%he#W~2&Uk=a5jv{&:x5hpgL(U} X-Hue: black X-Attribution: GM Date: Tue, 21 Feb 2012 21:40:17 -0500 In-Reply-To: (Andreas Schwab's message of "Fri, 21 May 2010 10:34:58 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 6232-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) There was fairly strong opposition to this, so closing as "wontfix". From unknown Fri Aug 15 14:18:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Mar 2012 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator