From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: isearch-yank-char Date: Wed, 28 Apr 2004 08:02:14 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <878yggwvh3.fsf@mail.jurta.org> References: <874qr7l59b.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083128968 18975 80.91.224.253 (28 Apr 2004 05:09:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Apr 2004 05:09:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 28 07:09:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIhJt-0006xO-00 for ; Wed, 28 Apr 2004 07:09:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIhJs-0005hk-00 for ; Wed, 28 Apr 2004 07:09:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIhHD-0001gR-Ft for emacs-devel@quimby.gnus.org; Wed, 28 Apr 2004 01:06:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIhH8-0001eK-2M for emacs-devel@gnu.org; Wed, 28 Apr 2004 01:06:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIhGa-0001Nc-UT for emacs-devel@gnu.org; Wed, 28 Apr 2004 01:06:24 -0400 Original-Received: from [66.33.219.19] (helo=spoon.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIhGa-0001NR-5t for emacs-devel@gnu.org; Wed, 28 Apr 2004 01:05:52 -0400 Original-Received: from mail.jurta.org (80-235-32-202-dsl.mus.estpak.ee [80.235.32.202]) by spoon.dreamhost.com (Postfix) with ESMTP id B902613D94B; Tue, 27 Apr 2004 22:05:55 -0700 (PDT) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "26 Apr 2004 18:42:56 -0400") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22282 >> + (define-key map "\C-f" 'isearch-yank-char) > > I think many bindings are available for isearch because in practice very > few normal bindings are used to exit isearch. But I do think C-f is one of > those bindings that people use to exist isearch. C-f and C-b are ideal key bindings for this functionality because they cause changes only in the visual appearance: for users typing C-f with the intention to move the point, isearch may look "sticky", but there is no harm: the point still moves to the intended position and users can continue editing by typing other keys to exit isearch! BTW, I can't find a function name for deleting a character better than `isearch-del-char', because the suitable name `isearch-delete-char' is already used by another function which doesn't do what its function name says (it discards last input item, not character). -- Juri Linkov http://www.jurta.org/emacs/