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: isearch-allow-move [Was: isearch-allow-prefix] Date: Thu, 06 Jun 2013 18:07:37 +0300 Organization: JURTA Message-ID: <87li6n46rq.fsf@mail.jurta.org> References: <87txlts7so.fsf@mail.jurta.org> <20130524093858.GA2754@acm.acm> <87hahstd47.fsf@mail.jurta.org> <20130525200103.GA3451@acm.acm> <878v32aj3c.fsf@mail.jurta.org> <20130602210512.GC2765@acm.acm> <87sj0xn484.fsf@mail.jurta.org> <20130604212400.GB2492@acm.acm> <87d2s1otjb.fsf@mail.jurta.org> <20130605210241.GA3730@acm.acm> <8761xr93h5.fsf_-_@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370531418 14763 80.91.229.3 (6 Jun 2013 15:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2013 15:10:18 +0000 (UTC) Cc: Alan Mackenzie , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 06 17:10:17 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkbpP-0000QR-Nf for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2013 17:10:15 +0200 Original-Received: from localhost ([::1]:39175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbpP-0000I4-3b for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2013 11:10:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbpG-0008Uh-Bz for emacs-devel@gnu.org; Thu, 06 Jun 2013 11:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukbp8-0002lx-VS for emacs-devel@gnu.org; Thu, 06 Jun 2013 11:10:06 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:44315 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukbp8-0002ln-QS for emacs-devel@gnu.org; Thu, 06 Jun 2013 11:09:58 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B8781258B9E91C; Thu, 6 Jun 2013 08:09:56 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 06 Jun 2013 08:45:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160168 Archived-At: > I think it's fine if some people want such a feature, but I don't think > it belongs in isearch.el. OTOH it's perfectly OK to add hooks or do > some changes in order to make it possible to implement such a feature > cleanly outside of isearch.el. It is intended to replace several mostly unusable and ugly (mis)features in isearch.el, replacing all them with a unified and intuitive user interface: 1. Replace the hard to type key sequence `M-s C-e M-s C-e M-s C-e ...' that pulls consecutive lines with more usable and easy to type shorter key sequence `M-s C-e C-e C-e ...' that will fix bug#10654. 2. Remove such surprising and inconvenient feature as typing `C-f' at the end of the isearch-edit-string minibuffer to pull characters to the end of the minibuffer. It will help to finally get rid of the command `isearch-yank-char-in-minibuffer' and to remove its binding `C-f' from `minibuffer-local-isearch-map', because now the same functionality will be available without such non-standard behavior, i.e. by replacing the sequence `C-s M-e C-f C-f C-f' with less surprising `M-s C-f C-f C-f M-e'. 3. Make the value `edit' of the option `search-exit-option' obsolete, i.e. currently when `search-exit-option' is `edit', then typing `C-s C-f C-f C-f' activates the minibuffer and pulls characters to the end of the minibuffer. The proposed patch will replace this with `M-s C-f C-f C-f M-e'. 4. Replace unintuitive keybindings `C-M-w' (isearch-del-char) and `C-M-y' (isearch-yank-char) with more convenient and intuitive `M-s C-f C-b', thus allowing the keys `C-M-w' and `C-M-y' exit Isearch and execute global commands (`C-M-y' is currently unbound globally, but there were proposals for its global bindings). 5. Instead of adding more explicit yanking commands like `isearch-yank-sexp' proposed in bug#6232, it will be possible to just put the `isearch-allow-move' property on `forward-sexp' or many other motion commands.