GNU bug report logs - #13404
comint-previous-matching-input-from-input is broken (as compared to bash/zsh)

Previous Next

Package: emacs;

Reported by: Le Wang <l26wang <at> gmail.com>

Date: Thu, 10 Jan 2013 15:19:01 UTC

Severity: minor

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 13404-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Le Wang <l26wang <at> gmail.com>
Cc: 13404-done <at> debbugs.gnu.org
Subject: Re: bug#13404: comint-previous-matching-input-from-input is broken
 (as compared to bash/zsh)
Date: Wed, 18 Dec 2013 11:03:20 +0800
Le Wang <l26wang <at> gmail.com> writes:

> I like to bind comint-previous-matching-input-from-input to M-p,
> however the current behavior is to find the first match and move the
> point to the end of the line.
>
> The point should not be moved so that I can press M-p again to find
> the next match.
>
> This is how this command works in zsh and bash.

Looks reasonable.  I've committed your patch, thanks.




This bug report was last modified 11 years and 153 days ago.

Previous Next


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