GNU bug report logs - #19710
24.4.51; Isearch is broken in comints which relly on regexp

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Wed, 28 Jan 2015 09:11:02 UTC

Severity: normal

Found in version 24.4.51

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vitalie Spinu <spinuvit <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 19710-done <at> debbugs.gnu.org
Subject: bug#19710: 24.4.51; Isearch is broken in comints which relly on regexp
Date: Thu, 05 Feb 2015 11:03:41 +0100
Thanks. It works.

  Vitalie


 >>> Juri Linkov on Thu, 05 Feb 2015 02:57:07 +0200 wrote:

 >> >> Recent changes to commit to allow for multiline search assume fields
 >> >> throughout. The common case when comint-use-prompt-regexp is non-nil is
 >> >> not captured.
 >> >>
 >> >> To see the problem start shell and issue a couple of commands. Then
 >> >> (setq comint-use-prompt-regexp t), and add a couple of RETs. Then try M-r.
 >> >>
 >> >> You should see "Regexp history I-search backward:" several lines above
 >> >> where it should be and isearch will not work as expected.
 >> >>
 >> >> If you restart your shell, you will not even see the "Regexp history
 >> >> I-search backward:" as there are no fields in the buffer.
 >> 
 >> > Thanks for the report.  This can be fixed by the patch that
 >> > reverts the change of callers, and instead modifies
 >> > `comint-line-beginning-position' to support multi-line input
 >> > for both cases of comint-use-prompt-regexp = t/nil:
 >> 
 >> Thanks Juri, this patch solves the problem indeed.

 > I fixed this on the emacs-24 branch because bug#19572 backported
 > previous changes to emacs-24.




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

Previous Next


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