GNU bug report logs - #23426
25.0.93; dired-do-find-regexp doesn't find newline

Previous Next

Package: emacs;

Reported by: Heinz Rommerskirchen <heinz <at> h-rommerskirchen.de>

Date: Mon, 2 May 2016 17:19:02 UTC

Severity: normal

Merged with 24305

Found in versions 25.0.93, 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 23426 <at> debbugs.gnu.org, Heinz Rommerskirchen <heinz <at> h-rommerskirchen.de>
Subject: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline
Date: Tue, 3 May 2016 20:22:21 +0300
On 05/03/2016 04:18 AM, Glenn Morris wrote:

> For this specific example, a grep-ish way to find empty lines is '^$'.

You can't search for an empty line following a letter 'A' this way, though.

> However, using "A" to search for that (or the empty regexp) causes Emacs
> to hang indefinitely. :(

Yup, it's a bug in xref--collect-matches-1 (you can re-search-forward 
indefinitely for such a regexp, and that's what it does). I'll try not 
to forget about it.




This bug report was last modified 8 years and 270 days ago.

Previous Next


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