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-yank-word-or-char Date: Wed, 01 Aug 2007 19:47:09 +0300 Organization: JURTA Message-ID: <877iof8qg7.fsf@jurta.org> References: <7dbe73ed0707292234m43457746icd33edb3e52834a3@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185987174 27881 80.91.229.12 (1 Aug 2007 16:52:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2007 16:52:54 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: "Mathias Dahl" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 01 18:52:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IGHRD-0002PJ-Ht for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2007 18:52:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGHRD-00059X-4t for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2007 12:52:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGHQz-00054y-Fm for emacs-devel@gnu.org; Wed, 01 Aug 2007 12:52:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGHQy-00054a-1V for emacs-devel@gnu.org; Wed, 01 Aug 2007 12:52:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGHQx-00054U-Oi for emacs-devel@gnu.org; Wed, 01 Aug 2007 12:52:27 -0400 Original-Received: from barracuda.neti.ee ([194.126.101.113] helo=smtp-out.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGHQx-0005Ss-Gd for emacs-devel@gnu.org; Wed, 01 Aug 2007 12:52:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by MXR-4.estpak.ee (Postfix) with ESMTP id 9BB4C83D6; Wed, 1 Aug 2007 19:52:14 +0300 (EEST) X-Virus-Scanned: amavisd-new at !change-mydomain-variable!.example.com Original-Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-1.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ncorGBb10Vtz; Wed, 1 Aug 2007 19:52:13 +0300 (EEST) Original-Received: from Relayhost3.neti.ee (unknown [88.196.174.169]) by MXR-4.estpak.ee (Postfix) with ESMTP id B6D2D841B; Wed, 1 Aug 2007 19:52:13 +0300 (EEST) Original-Received: from mail.estpak.ee (84-50-157-21-dsl.est.estpak.ee [84.50.157.21]) by Relayhost3.neti.ee (Postfix) with ESMTP id D8678B3388; Wed, 1 Aug 2007 19:52:12 +0300 (EEST) In-Reply-To: <7dbe73ed0707292234m43457746icd33edb3e52834a3@mail.gmail.com> (Mathias Dahl's message of "Mon\, 30 Jul 2007 07\:34\:50 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) 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:75915 Archived-At: > FWIW, I like the new behaviour, it gives me more control. I mostly use > the C-w binding when I want to search for a procedure name, and > sometimes it ends with a number of underscores, like this: > > PROCEDURE Do_The_Stuff___ (foo IN NUMBER) IS > > Previously, having point at D, when using C-w, using it three times > to "eat" the last f in "Stuff", if typed once more it ate I think all the > way to foo. Now three extra C-w eats all the underscores, which is > what I want, most of the times. I have never thought about the new > behaviour as being cumbersome. Now the need to collect non-word characters by C-w is mitigated by two keybindings C-M-w and C-M-y that removes/adds one character. So with C-w overshoot you can remove or add more characters with these keys. And note that even with new heuristic, C-w doesn't do what you want. According to your description you want to put the whole identifier to the search string, so you probably wish a single key like C-M-f to grab the whole expression. -- Juri Linkov http://www.jurta.org/emacs/