GNU bug report logs - #19572
24.4; M-x comint-history-isearch-backward doesn't search multi-line history entries

Previous Next

Package: emacs;

Reported by: joaotavora <at> gmail.com (João Távora)

Date: Mon, 12 Jan 2015 10:37:02 UTC

Severity: normal

Found in version 24.4

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: joaotavora <at> gmail.com (João Távora)
To: 19572 <at> debbugs.gnu.org
Subject: bug#19572: 24.4; M-x comint-history-isearch-backward doesn't search multi-line history entries
Date: Mon, 12 Jan 2015 10:36:12 +0000
   emacs -Q
   M-x ielm RET
   'foo RET
   'bar RET
   '(baz M-j bin) RET
   M-x comint-history-isearch-backward RET b a z

expected the multi-line entry to be restored to input, but
comint.el fails to find it.

This is because `comint-history-isearch-search' uses

    (goto-char (comint-line-beginning-position))

I think it should use `comint-goto-process-mark'. comint.el is a big
beast but I think this makes sense. Should I fix it thusly? (unless
anyone beats me to it)

João




This bug report was last modified 10 years and 135 days ago.

Previous Next


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