bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3746: M-r in comint mode should use isearch


From: Juri Linkov
Subject: bug#3746: M-r in comint mode should use isearch
Date: Fri, 10 Jul 2009 02:05:16 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]