From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: isearch-yank-char Date: 01 May 2004 22:02:20 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qr7l59b.fsf@mail.jurta.org> <20040426230345.GA8594@fencepost> <877jw2cq4f.fsf@floss.red-bean.com> <87ad0xvo33.fsf@mail.jurta.org> <871xm8wv6j.fsf@mail.jurta.org> <87n04u77z8.fsf@floss.red-bean.com> <87k6zygjff.fsf@mail.jurta.org> <8765bi75vp.fsf@floss.red-bean.com> <87hdv1c1lm.fsf@mail.jurta.org> <87y8od60if.fsf@floss.red-bean.com> <87zn8t6v8z.fsf@mail.jurta.org> <87hdv15q09.fsf@floss.red-bean.com> <87u0z1xasi.fsf@mail.jurta.org> <874qr15m5a.fsf@floss.red-bean.com> <87zn8snazi.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 1083449105 6581 80.91.224.253 (1 May 2004 22:05:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 May 2004 22:05:05 +0000 (UTC) Cc: kfogel@red-bean.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 02 00:04:58 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 1BK2bS-0005CW-00 for ; Sun, 02 May 2004 00:04:58 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BK2bR-0002tK-00 for ; Sun, 02 May 2004 00:04:57 +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 1BK2aY-0006cS-A7 for emacs-devel@quimby.gnus.org; Sat, 01 May 2004 18:04:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BK2aF-0006aj-8v for emacs-devel@gnu.org; Sat, 01 May 2004 18:03:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BK2Zg-0005Qx-K4 for emacs-devel@gnu.org; Sat, 01 May 2004 18:03:40 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BK2Zc-0005QH-Ve for emacs-devel@gnu.org; Sat, 01 May 2004 18:03:05 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id EB1035EE04A; Sun, 2 May 2004 00:03:03 +0200 (CEST) Original-To: Juri Linkov In-Reply-To: <87zn8snazi.fsf@mail.jurta.org> Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:22509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22509 Juri Linkov writes: > Karl Fogel writes: > > Interesting! This patch goes further, and changes C-w back to > > 'isearch-yank-word' (instead of 'isearch-yank-word-or-char'). I noticed this too -- and although I think the new C-f binding is a great thing (and love C-b even more), I still think that often isearch-yank-word-or-char does a better job than isearch-yank-word in cases like the following [] is the cursor location: fun1((abc-def-ghi[])); fun2(xyz); But I'm obviously biased here (as the one who suggested the new C-w binding :-) > > Yes, I think that when `isearch-yank-char' has a key binding, > it's better to change 'isearch-yank-word' to C-w to give the user > a choice between adding a word or a character into the search string. The question is: What is a "word" ? -- Kim F. Storm http://www.cua.dk