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


Message #10 received at 3746 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 3746 <at> debbugs.gnu.org
Subject: Re: bug#3746: M-r in comint mode should use isearch
Date: Sat, 04 Jul 2009 02:36:36 +0300
> When using the minibuffer for example doing:
>
> M-x
> then
> C-r
> will use isearch to search the history.  This is nice because it shows
> the items that are matched.
>
> M-r should to the same thing when used in comint, right now it's hard
> to tell if it matches anything before typing RET

Do you mean implementing a bash-like history isearch
in comint/shell modes?  I think it would be nice.
But maybe M-r is not the best key to start a shell history
isearch in the comint buffer.  In the minibuffer M-r keeps
its old functionality, and C-s is used to isearch the
minibuffer history.

It seems we can't use C-s in the comint buffer to isearch the
shell history because searching in the output is useful as well.
Maybe we should let C-s to isearch the shell history from the M-r
minibuffer instead of the minibuffer history of the previous M-r input?

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



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

Previous Next


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