From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: repeat isearch-forward-regexp with just C-s C-s also Date: Wed, 05 Jun 2002 10:33:35 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206051433.g55EXaQ30864@rum.cs.yale.edu> References: <200206031141.g53BfS620332@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023287927 27661 127.0.0.1 (5 Jun 2002 14:38:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2002 14:38:47 +0000 (UTC) Cc: jidanni@ms46.hinet.net, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Fbvz-0007C2-00 for ; Wed, 05 Jun 2002 16:38:47 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17FcGQ-0007E1-00 for ; Wed, 05 Jun 2002 16:59:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17FbtR-00062J-00; Wed, 05 Jun 2002 10:36:09 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Fbrx-0005p9-00; Wed, 05 Jun 2002 10:34:38 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g55EXaQ30864; Wed, 5 Jun 2002 10:33:36 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4588 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4588 > OK, but to repeat the last regexp search, another ESC C-s C-s seems > too much to ask. How about just C-s C-s? > > I am not sure it is a good idea for C-s to do a regexp search. > Repeating the last non-regexp search, which is what it does now, > seems like the right thing to do. > > But if users want to try it and report their opinions, > I'd be interested in hearing about it. I've been using a local patch which makes C-s C-s repeat the last search (regexp or not) and I find it very useful. The problem is that I find M-C-s M-C-s significantly more difficult to hit than C-s C-s, so when I need to repeat a search many times, C-s C-s is much better. Another reason is that I rarely use M-C-s but instead I do `C-s ..blabla.. M-r ..blibli' because I often notice "too late" that I want a regexp search rather than a plain search, so almost all my regexp searches are started with C-s rather than with M-C-s or C-u C-s. Stefan