GNU bug report logs - #13223
24.2; comint history rendered useless by messages

Previous Next

Package: emacs;

Reported by: "Tim Daly Jr." <tim <at> tenkan.org>

Date: Wed, 19 Dec 2012 06:40:02 UTC

Severity: normal

Found in version 24.2

Fixed in version 24.3.50

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: "Tim Daly Jr." <tim <at> tenkan.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 13223 <at> debbugs.gnu.org
Subject: bug#13223: patch to fix this bug
Date: Tue, 30 Apr 2013 18:35:59 -0700
On Apr 28, 2013, at 11:45 PM, Juri Linkov wrote:

>> 	* comint.el (comint-history-isearch-in-progress): new variable
>> 	that lets us detect that an isearch is running over command
>> 	history
> 
> I wonder why you didn't use the existing variable `isearch-mode'
> to detect that an isearch is running?  There should be no problem
> using `isearch-mode' as you can see in the patch below.
> 
> Additionally it will display only the current history item where
> isearch actually matches, i.e. to display just one "History item"
> message per one M-r isearch match.  This is necessary to inform the user
> about the current history index as the commands `M-p' (comint-previous-input)
> and `M-n' (comint-next-input) already do:

quite right, your patch looks much better. :)


-tim





This bug report was last modified 12 years and 80 days ago.

Previous Next


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