Subject: comint-previous-matching-input-from-input is broken (as compared to bash/zsh)
From: Le Wang <[email-masked]>
To: [email-masked]
Date: Thu, 10 Jan 2013 23:18:30 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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