From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 10:16:49 2012 Received: (at submit) by debbugs.gnu.org; 30 Jan 2012 15:16:49 +0000 Received: from localhost ([127.0.0.1]:45314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrsyP-0004X7-76 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 10:16:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34231) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrsyJ-0004Ws-Vl for submit@debbugs.gnu.org; Mon, 30 Jan 2012 10:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrsy0-00027t-GW for submit@debbugs.gnu.org; Mon, 30 Jan 2012 10:16:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:34708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrsy0-00027p-F3 for submit@debbugs.gnu.org; Mon, 30 Jan 2012 10:16:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrsxr-0006RL-GF for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 10:16:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrsxl-00024r-Ml for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 10:16:15 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:50442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrsxl-00024Z-0M for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2012 10:16:09 -0500 Received: by bkbzs2 with SMTP id zs2so2814283bkb.0 for ; Mon, 30 Jan 2012 07:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=jZVK2YHZ5DKwwXnEAHm6u/EacLR65UVCkAnPcFc/8ZU=; b=FFyNywWZEIN0C8dT6u5DG7yTqmuN3h/iZLVIPfunSlHEXwOjEdn0zxBovxZuG0fxnB +QtTgPAJRdR+xDgo1d+dw6/aboMDR2vbMSaErR9u3PV6pWTYIxF6lRpu+ap8omMFcGyW H5kNIc/J+WTPFdNNdyclubwsyuD3OdbNRlRdw= MIME-Version: 1.0 Received: by 10.204.143.131 with SMTP id v3mr8949067bku.83.1327936566916; Mon, 30 Jan 2012 07:16:06 -0800 (PST) Received: by 10.204.188.8 with HTTP; Mon, 30 Jan 2012 07:16:06 -0800 (PST) Date: Mon, 30 Jan 2012 10:16:06 -0500 Message-ID: Subject: 24.0.93; isearch-yank-line moved from C-y From: "Aaron S. Hawley" To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit 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: -3.4 (---) I appreciate the new behavior of M-y in Isearch Mode. I find it more satisfying, and less frustrating, to be able to access the full kill ring. I was surprised that the previously unsatisfying command M-y overwrote the behavior of C-y in Isearch Mode. C-y had held the very useful command of yanking the rest of the line into Isearch. I eat and breathe Diff output and line-oriented source code, so I would use the C-y command often to search similar text or compare text in the buffer or across buffers. I use M-x diff or M-x compare-windows but Isearch Mode can get the job done quicker in some cases. I don't have any data to support that C-y is popular. I won't suggest that the bindings for Isearch Mode are anywhere near sane. I recall I was flummoxed by them at first. The bindings are diabolical for beginners in most ways, but how did I learn them if they weren't coherent? However, the new change is disruptive for existing users of Emacs and after trying it for two weeks, I can confirm that putting `isearch-yank-line' to the `M-s C-e' binding is unsatisfying (M-s C-k makes more sense). Though, without any data maybe I'm the only person who uses it and needs a short key binding? The proposed bindings for 24.1 are: (define-key isearch-mode-map "\C-y" 'isearch-yank-kill) (define-key isearch-mode-map "\M-y" 'isearch-yank-pop) (define-key isearch-mode-map "\M-s\C-e" 'isearch-yank-line) I'd prefer to revert partially to: (define-key isearch-mode-map "\C-y" 'isearch-yank-line) (define-key isearch-mode-map "\M-y" 'isearch-yank-pop) Or keep the proposed new bindings, but at least give a better binding than M-s C-e for the old C-y. How about the shorter (and obvious) key binding of C-k? (define-key isearch-mode-map "\C-y" 'isearch-yank-kill) (define-key isearch-mode-map "\M-y" 'isearch-yank-pop) (define-key isearch-mode-map "\C-k" 'isearch-yank-line) Thanks for Emacs, aaron -- In general, we reserve the right to have a poor memory--the computer, however, is supposed to remember! Poor computer. -- Guy Lewis Steele Jr. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 13:54:30 2012 Received: (at 10654) by debbugs.gnu.org; 30 Jan 2012 18:54:30 +0000 Received: from localhost ([127.0.0.1]:45560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwN4-0001IW-4J for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:54:30 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:57653 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwN2-0001IO-A8 for 10654@debbugs.gnu.org; Mon, 30 Jan 2012 13:54:29 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RrwMq-0002zh-Q7; Mon, 30 Jan 2012 13:54:16 -0500 From: Glenn Morris To: "Aaron S. Hawley" Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y References: X-Spook: pre-emptive United Nations passwd Capricorn Gazprom asset X-Ran: [YI2OI|?j|Q-MuUX%f(.VVI=k}|mtbv[MJ;,/GWl}`vF57E(5G*B5pM1IGA-ua7/;{)]), X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 30 Jan 2012 13:54:16 -0500 In-Reply-To: (Aaron S. Hawley's message of "Mon, 30 Jan 2012 10:16:06 -0500") Message-ID: <1a8vkp9g2v.fsf@fencepost.gnu.org> 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: 10654 Cc: 10654@debbugs.gnu.org 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 (----) "Aaron S. Hawley" wrote: > I don't have any data to support that C-y is popular. The weight of opinion seems to be against you. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7700#11 I've always found the C-y binding in isearch "useless" and counter-intuitive. I'd much rather make C-y and M-y behave like they do in the minibuffer. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8183#5 While I'm sure there's someone in the world who has a use for searching for the entire next line, there are many, many more people who find it useful to search for items from the kill ring. http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00687.html I was reluctant about it in the first place. > I can confirm that putting `isearch-yank-line' to the `M-s C-e' > binding is unsatisfying (M-s C-k makes more sense). Here is the motivation: http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00606.html bind `isearch-yank-line' to `M-s C-e' because `move-end-of-line' is on `C-e'. > Though, without any data maybe I'm the only person who uses it and > needs a short key binding? [...] > How about the shorter (and obvious) key binding of C-k? [...] > (define-key isearch-mode-map "\C-k" 'isearch-yank-line) Personally I have no opinion. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 13:55:24 2012 Received: (at control) by debbugs.gnu.org; 30 Jan 2012 18:55:24 +0000 Received: from localhost ([127.0.0.1]:45565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwNw-0001KH-Ec for submit@debbugs.gnu.org; Mon, 30 Jan 2012 13:55:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:57688 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrwNu-0001KA-Cl for control@debbugs.gnu.org; Mon, 30 Jan 2012 13:55:23 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RrwNj-00038R-Fl for control@debbugs.gnu.org; Mon, 30 Jan 2012 13:55:11 -0500 Date: Mon, 30 Jan 2012 13:55:11 -0500 Message-Id: Subject: control message for bug 10654 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control 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 (----) severity 10654 wishlist From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 15:19:49 2012 Received: (at 10654) by debbugs.gnu.org; 30 Jan 2012 20:19:49 +0000 Received: from localhost ([127.0.0.1]:45661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrxhc-00049b-Qq for submit@debbugs.gnu.org; Mon, 30 Jan 2012 15:19:49 -0500 Received: from mail-bk0-f44.google.com ([209.85.214.44]:65343) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rrxha-00049O-Ht for 10654@debbugs.gnu.org; Mon, 30 Jan 2012 15:19:47 -0500 Received: by bkbzt4 with SMTP id zt4so3619824bkb.3 for <10654@debbugs.gnu.org>; Mon, 30 Jan 2012 12:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FBO/ZLWSJWSnOOVAKeeddtmemtUEOtUTgEpaxzeFQOs=; b=FDjYUCdW2PTUsYSHsxIwp5+D5pv77kMGaCOaNV9IgPscbt+qmc9nsqS5+TsxFwFYO+ IOc+fTJ/p/7knCV+ofGVeb7117/E+z3RigulBJGBnNvr1QhFEA8lEPoE3ma7A9pC1MtD FUj5AIZFs9MmLEXTovhrqwKVHZgEyDlnDVOYM= MIME-Version: 1.0 Received: by 10.204.151.196 with SMTP id d4mr9373039bkw.29.1327954769313; Mon, 30 Jan 2012 12:19:29 -0800 (PST) Received: by 10.204.188.8 with HTTP; Mon, 30 Jan 2012 12:19:29 -0800 (PST) In-Reply-To: <1a8vkp9g2v.fsf@fencepost.gnu.org> References: <1a8vkp9g2v.fsf@fencepost.gnu.org> Date: Mon, 30 Jan 2012 15:19:29 -0500 Message-ID: Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y From: "Aaron S. Hawley" To: Glenn Morris Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10654 Cc: 10654@debbugs.gnu.org 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: -2.6 (--) On 1/30/12, Glenn Morris wrote: > "Aaron S. Hawley" wrote: > >> I don't have any data to support that C-y is popular. > > The weight of opinion seems to be against you. This is what I expected. Thanks for tracking down the threads, Glenn. It would seem the binding for hitting C-y in Isearch to yank the rest of the line existed ever since Daniel LaLiberte wrote Isearch 20 years ago. I guess its time has come. This means hitting C-k C-/ C-s C-y rather than C-s C-y. I can relinquish that C-y in Isearch wasn't consistent with global C-y in Emacs, but if word and character yanking are on C-w and C-M-y, respectively, it seems like line-yanking should be on a better binding than M-s C-e. Thanks again, aaron > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7700#11 > I've always found the C-y binding in isearch "useless" and > counter-intuitive. I'd much rather make C-y and M-y behave like they > do in the minibuffer. > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8183#5 > While I'm sure there's someone in the world who has a use for > searching for the entire next line, there are many, many more people > who find it useful to search for items from the kill ring. > > http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00687.html > I was reluctant about it in the first place. > >> I can confirm that putting `isearch-yank-line' to the `M-s C-e' >> binding is unsatisfying (M-s C-k makes more sense). > > Here is the motivation: > http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00606.html > bind `isearch-yank-line' to `M-s C-e' because `move-end-of-line' is > on `C-e'. -- In general, we reserve the right to have a poor memory--the computer, however, is supposed to remember! Poor computer. -- Guy Lewis Steele Jr. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 18:10:15 2012 Received: (at 10654) by debbugs.gnu.org; 30 Jan 2012 23:10:15 +0000 Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rs0MY-0000Qx-7B for submit@debbugs.gnu.org; Mon, 30 Jan 2012 18:10:14 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:43250 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rs0MV-0000Qo-Ie for 10654@debbugs.gnu.org; Mon, 30 Jan 2012 18:10:12 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id CAE31451C817; Mon, 30 Jan 2012 15:08:48 -0800 (PST) From: Juri Linkov To: "Aaron S. Hawley" Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y Organization: JURTA References: Date: Tue, 31 Jan 2012 00:59:53 +0200 In-Reply-To: (Aaron S. Hawley's message of "Mon, 30 Jan 2012 10:16:06 -0500") Message-ID: <87liookd92.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10654 Cc: 10654@debbugs.gnu.org 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: -1.9 (-) > (define-key isearch-mode-map "\C-k" 'isearch-yank-line) To tell the truth, this is exactly what I currently use in .emacs. `C-k' is a very convenient binding for `isearch-yank-line', but I hesitated to propose it for adding to isearch.el because I expect the opposition to that. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 12:48:33 2012 Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 17:48:33 +0000 Received: from localhost ([127.0.0.1]:52533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtNFQ-0007Mr-Mt for submit@debbugs.gnu.org; Fri, 03 Feb 2012 12:48:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37091) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtNFO-0007Mg-Qa for submit@debbugs.gnu.org; Fri, 03 Feb 2012 12:48:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtNEk-000746-Ho for submit@debbugs.gnu.org; Fri, 03 Feb 2012 12:47:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:43656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNEk-000742-GQ for submit@debbugs.gnu.org; Fri, 03 Feb 2012 12:47:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNEj-0003pi-FF for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 12:47:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtNEf-00073D-F7 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 12:47:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:53728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNEf-00072s-9x for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 12:47:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RtNEd-0005Z7-VT for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 18:47:43 +0100 Received: from c-71-237-25-24.hsd1.co.comcast.net ([71.237.25.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2012 18:47:43 +0100 Received: from kevin.d.rodgers by c-71-237-25-24.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Feb 2012 18:47:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y Date: Fri, 03 Feb 2012 10:48:29 -0700 Lines: 19 Message-ID: References: <1a8vkp9g2v.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-25-24.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.26) Gecko/20120129 Thunderbird/3.1.18 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit 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 (----) On 1/30/12 1:19 PM, Aaron S. Hawley wrote: > It would seem the binding for hitting C-y in Isearch to yank the rest > of the line existed ever since Daniel LaLiberte wrote Isearch 20 years > ago. I guess its time has come. This means hitting C-k C-/ C-s C-y > rather than C-s C-y. I can relinquish that C-y in Isearch wasn't > consistent with global C-y in Emacs, but if word and character yanking > are on C-w and C-M-y, respectively, it seems like line-yanking should > be on a better binding than M-s C-e. Or word and character yanking could be bound consistently: M-s M-f and M-s C-f That approach would be a little less onerous if additional words or characters could be added to the search string by additional M-f and C-f without prefixing each with M-s. -- Kevin Rodgers Denver, Colorado, USA From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 20:06:46 2012 Received: (at 10654) by debbugs.gnu.org; 4 Feb 2012 01:06:46 +0000 Received: from localhost ([127.0.0.1]:52942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtU5W-00022r-As for submit@debbugs.gnu.org; Fri, 03 Feb 2012 20:06:46 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:59097 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtU5U-00022e-TH for 10654@debbugs.gnu.org; Fri, 03 Feb 2012 20:06:45 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4C1C6451C826; Fri, 3 Feb 2012 17:04:50 -0800 (PST) From: Juri Linkov To: Kevin Rodgers Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y Organization: JURTA References: <1a8vkp9g2v.fsf@fencepost.gnu.org> Date: Sat, 04 Feb 2012 02:17:55 +0200 In-Reply-To: (Kevin Rodgers's message of "Fri, 03 Feb 2012 10:48:29 -0700") Message-ID: <87liojxvi0.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10654 Cc: 10654@debbugs.gnu.org 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: -1.9 (-) > That approach would be a little less onerous if additional words or characters > could be added to the search string by additional M-f and C-f without prefixing > each with M-s. If `C-k' for `isearch-yank-line' is not under consideration, then I recommend to allow `M-s C-e C-e C-e ...' in 24.1 because `M-s C-e M-s C-e M-s C-e ...' is unusable. This can be achieved with the patch below. Other repeating key sequences `M-s M-f M-f M-f ...' and `M-s C-f C-f C-f ...' could be implemented as well, but there is no urgent need for them now. === modified file 'lisp/isearch.el' --- lisp/isearch.el 2012-02-01 00:21:17 +0000 +++ lisp/isearch.el 2012-02-04 00:17:07 +0000 @@ -533,6 +533,9 @@ (defvar minibuffer-local-isearch-map map) "Keymap for editing Isearch strings in the minibuffer.") +(defvar isearch-repeat-key nil) +(defvar isearch-repeat-command nil) + ;; Internal variables declared globally for byte-compiler. ;; These are all set with setq while isearching ;; and bound locally while editing the search string. @@ -1662,6 +1665,8 @@ (defun isearch-yank-line () "Pull rest of line from buffer into search string." (interactive) + (setq isearch-repeat-key last-input-event + isearch-repeat-command 'isearch-yank-line) (isearch-yank-internal (lambda () (let ((inhibit-field-text-motion t)) (line-end-position (if (eolp) 2 1)))))) @@ -1962,8 +1967,13 @@ (defun isearch-other-meta-char (&optiona (this-command-keys))) (main-event (aref key 0)) (keylist (listify-key-sequence key)) + (repeat-key isearch-repeat-key) scroll-command isearch-point) - (cond ((and (= (length key) 1) + (setq isearch-repeat-key nil) + (cond ((and (eq main-event repeat-key) isearch-repeat-command) + (setq isearch-repeat-key main-event) + (command-execute isearch-repeat-command)) + ((and (= (length key) 1) (let ((lookup (lookup-key local-function-key-map key))) (not (or (null lookup) (integerp lookup) (keymapp lookup))))) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 11:42:49 2022 Received: (at 10654) by debbugs.gnu.org; 27 Jan 2022 16:42:49 +0000 Received: from localhost ([127.0.0.1]:56325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7rF-0000KA-JQ for submit@debbugs.gnu.org; Thu, 27 Jan 2022 11:42:49 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7rD-0000Ju-6q for 10654@debbugs.gnu.org; Thu, 27 Jan 2022 11:42:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ulyl0Aoae7vP9D0qjXzqpUtccHleJaKD7IveAE7+Hg=; b=hDbTvLuGi7SQCOSGecr9t/fZGs t0C8ZgVq4JQPaX0Kbh9J985BHNsHpiAUkCjqslTA+kX5qFTppNNFP9cT5/C/IFafCiCGU1FThV86Q MF59wZTQDHPeJ0N8CjyZWR/OZeI3fcI14BGHLWL6JFhNcqWsZ+9LP7Gu6VX31VLeRd2c=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD7r4-0000EM-3a; Thu, 27 Jan 2022 17:42:40 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#10654: 24.0.93; isearch-yank-line moved from C-y References: <1a8vkp9g2v.fsf@fencepost.gnu.org> X-Now-Playing: David Sylvian's _Dead Bees on a Cake_: "Krishna Blue" Date: Thu, 27 Jan 2022 17:42:37 +0100 In-Reply-To: <1a8vkp9g2v.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 30 Jan 2012 13:54:16 -0500") Message-ID: <87lez1ku4i.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris writes: >> I don't have any data to support that C-y is popular. > > The weight of opinion seems to be against you. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10654 Cc: 10654@debbugs.gnu.org, "Aaron S. Hawley" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Glenn Morris writes: >> I don't have any data to support that C-y is popular. > > The weight of opinion seems to be against you. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I think the conclusion here is that we didn't want to change these key bindings, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 11:42:56 2022 Received: (at control) by debbugs.gnu.org; 27 Jan 2022 16:42:56 +0000 Received: from localhost ([127.0.0.1]:56328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7rL-0000KS-QI for submit@debbugs.gnu.org; Thu, 27 Jan 2022 11:42:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7rJ-0000K8-Dc for control@debbugs.gnu.org; Thu, 27 Jan 2022 11:42:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OTZ3XH09qAJVLulQ5vbqDknHMYYKtRVqcttbLOg3+Go=; b=YnHu+rETcyt5ZF1h5xzZKt6VcP ur9y+4jrZoJx5Yp6/+fNTYCtB9Fx07ydVnQB3L4ApilZTpSAhi40cwFgVsnEcylJTfH/4f1GrRDaS ecgwKFLLYtbJC8gxbOlhGhzesVEV33ZExOcUTDG9NeJjEPqasTnng20JW73ObzIwOgX0=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD7rB-0000EV-LE for control@debbugs.gnu.org; Thu, 27 Jan 2022 17:42:47 +0100 Date: Thu, 27 Jan 2022 17:42:45 +0100 Message-Id: <87k0elku4a.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10654 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10654 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 10654 quit From unknown Sat Jun 21 03:11:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Feb 2022 12:24:09 +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