From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: faq.texi Date: Thu, 09 Feb 2006 19:31:44 +0200 Organization: JURTA Message-ID: <87bqxgdevj.fsf@jurta.org> References: <878xstfkz2.fsf@pacem.orebokech.com> <87d5i23qek.fsf@pacem.orebokech.com> <87psm0n9x9.fsf@pacem.orebokech.com> <87lkwnkmcb.fsf@pacem.orebokech.com> <8764npegbm.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139517055 8515 80.91.229.2 (9 Feb 2006 20:30:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 20:30:55 +0000 (UTC) Cc: romain@orebokech.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 09 21:30:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F7IRB-0005JY-AC for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2006 21:30:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7IRA-0006ie-GC for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2006 15:30:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7Frp-0000id-Qh for emacs-devel@gnu.org; Thu, 09 Feb 2006 12:46:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7Fro-0000hx-Gg for emacs-devel@gnu.org; Thu, 09 Feb 2006 12:46:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7Frn-0000hj-SK for emacs-devel@gnu.org; Thu, 09 Feb 2006 12:46:03 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7FvK-0001xd-B3; Thu, 09 Feb 2006 12:49:42 -0500 Original-Received: from mail.neti.ee (80-235-37-98-dsl.mus.estpak.ee [80.235.37.98]) by Relayhost2.neti.ee (Postfix) with ESMTP id E3A7F4E92; Thu, 9 Feb 2006 19:45:57 +0200 (EET) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Wed, 08 Feb 2006 23:55:48 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:50249 Archived-At: >> > Is there anything that prevents us from binding S-insert in >> > isearch-mode-map? >> >> Yes: C-y in isearch does not run `yank', and people expect C-y and >> S-insert to do the same thing. > > I was talking about binding S-insert to do the same thing as C-y. > Is there a problem doing that? Do you mean the same thing as C-y does in isearch mode or not? If you mean binding S-insert to the same thing as C-y in isearch mode (i.e. `isearch-yank-line') then I think it is a bad idea to bind a useful key S-insert to `isearch-yank-line' just for consistency. Moreover, I think C-y was a bad choice for a keybinding to `isearch-yank-line'. I hope at some time `isearch-yank-kill' in isearch will be bound to more natural C-y, and `isearch-yank-line' to some other key, but not to M-y. Yanking in isearch has another nuisance: there is no key to replace text just yanked into the search string with earlier kills, i.e. what M-y normally does. If you mean binding S-insert to `isearch-yank-kill' this would be useful only for novices who don't know about M-y (`isearch-yank-kill'), but not for all other users. Since now it is not possible to exit isearch and yank with the same key M-y, currently S-insert is the only key that can do this, i.e. it is more convenient to type only one key S-insert with automalically existing isearch than typing two keys `RET C-y'. -- Juri Linkov http://www.jurta.org/emacs/