GNU bug report logs - #3746
M-r in comint mode should use isearch

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Fri, 3 Jul 2009 18:20:05 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: <3746 <at> debbugs.gnu.org>, "'Dan Nicolaescu'" <dann <at> ics.uci.edu>
Subject: bug#3746: M-r in comint mode should use isearch
Date: Fri, 10 Jul 2009 02:05:16 +0300
>> Generally, using C-u to modify behavior is a good thing but
>> not for C-r since its C-u argument runs a regular expression
>> search instead.
>
> Hm, I wonder why. ;-)
>
> I wonder why they didn't choose to have the search behavior
> (regexp vs plain) depend intelligently on the context
> (where the cursor is, what phase the moon is in,...).
> `C-u' seems so, well, primitive - actually leaving it up
> to the user to indicate explicitly what s?he means!
> Surely there is some smart way to second-guess the user
> in that case also. ;-)

If we are going to go down this road, soon we will have
only one command:

  M-x dwim RET

;-)

-- 
Juri Linkov
http://www.jurta.org/emacs/



This bug report was last modified 15 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.