GNU bug report logs - #7885
23.2.91; comint-previous/next-matching-input-from-input don't return current line

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Sat, 22 Jan 2011 13:40:02 UTC

Severity: normal

Tags: fixed

Found in version 23.2.91

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 7885 <at> debbugs.gnu.org
Subject: bug#7885: 23.2.91; comint-previous/next-matching-input-from-input don't return current line
Date: Tue, 08 Dec 2020 17:16:03 +0100
Reuben Thomas <rrt <at> sc3d.org> writes:

> If I run `comint-previous-matching-input-from-input' (which I have bound
> to M-p) then `comint-next-matching-input-from-input' (which I have bound
> to M-n), I would expect to get back to the line I'm currently typing,
> but instead it goes past it to the next matching input (cycling round to
> the end of the input ring).
>
> This is logical from the point of view of what the functions say they
> do, but confound my expectations, which are governed by the behavior of
> the equivalent readline functions, history-search-{forward,backward}.
>
> I cannot therefore confidently say this is a bug, but I can say it's not
> what I expect.

This should now be fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 161 days ago.

Previous Next


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