--- Begin Message ---
Subject: |
comint-previous-matching-input-from-input is broken (as compared to bash/zsh) |
Date: |
Thu, 10 Jan 2013 23:18:30 +0800 |
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
Description: Binary data
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Le Wang <address@hidden> 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.
--- End Message ---