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: Mon, 20 Feb 2006 02:48:17 +0200 Organization: JURTA Message-ID: <87zmkn15zi.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> <87bqxgdevj.fsf@jurta.org> <87oe1gfbkd.fsf@jurta.org> <87zml09go4.fsf@jurta.org> <874q32n0o1.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140405903 20599 80.91.229.2 (20 Feb 2006 03:25:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2006 03:25:03 +0000 (UTC) Cc: eliz@gnu.org, romain@orebokech.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 20 04:25:02 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 1FB1fW-0005i8-FS for ged-emacs-devel@m.gmane.org; Mon, 20 Feb 2006 04:24:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FB1fV-0006cL-Rq for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2006 22:24:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FB0Jm-0008V3-Iq for emacs-devel@gnu.org; Sun, 19 Feb 2006 20:58:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FB0Jl-0008UQ-ET for emacs-devel@gnu.org; Sun, 19 Feb 2006 20:58:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FB0Jl-0008UC-7X for emacs-devel@gnu.org; Sun, 19 Feb 2006 20:58:25 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FB0PZ-0005Gl-O7; Sun, 19 Feb 2006 21:04:26 -0500 Original-Received: from mail.neti.ee (80-235-43-236-dsl.mus.estpak.ee [80.235.43.236]) by Relayhost2.neti.ee (Postfix) with ESMTP id A73E226CE; Mon, 20 Feb 2006 03:57:51 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Tue, 14 Feb 2006 17:17:33 -0500") 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:50797 Archived-At: > `M-s C-y' - isearch-yank-kill > `M-s C-e' - isearch-yank-line > `M-s C-f' - isearch-yank-char > `M-s M-f' - isearch-yank-word > `M-s M-f M-f M-f ...' - yank successive words > > That is an interesting idea too. I somewhat worry about the > idea of repetition after M-s, since that makes it like a mode. I think different isearch modes are not necessarily bad. There are already a few: isearch case-sensitivity mode toggled by M-c, regexp mode toggled by M-r, search string editing mode entered by M-e. So a new mode toggled by M-s would be useful too. In this mode many normal keys should be interpreted specially in isearch context: all point movement keys C-f/C-b/C-n/C-p, C-a/C-e, M-f/M-b should change the search string according to the original buffer and the new point location, i.e. after every point movement set the search string to the buffer's contents between isearch-other-end and point. Note that this is a different idea than using `M-s' as a prefix key like I proposed earlier. I think `M-s' as a key to toggle special mode is more convenient. It makes easier to type some yanking keys repeatedly. One disadvantage of this mode is that fewer keys will exit the search. But its advantages outweigh this disadvantage: in the default isearch mode we could turn off the special meanings of M-y, C-y, C-w, and in the new isearch mode use more natural keys for isearch commands. -- Juri Linkov http://www.jurta.org/emacs/