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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Le Wang <l26wang <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: comint-previous-matching-input-from-input is broken (as compared to
	bash/zsh)
Date: Thu, 10 Jan 2013 23:18:30 +0800
[Message part 1 (text/plain, inline)]
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.

Patch included.


-- 
Le
[comint.el_keep_point_in_place.diff (application/octet-stream, attachment)]

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.