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


Message #17 received at 23426 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 23426 <at> debbugs.gnu.org, Heinz Rommerskirchen <heinz <at> h-rommerskirchen.de>
Subject: Re: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline
Date: Mon, 02 May 2016 21:18:42 -0400
Dmitry Gutov wrote:

>> - type "A C-q C-j C-q C-j"
[...]
>> In former versions of Emacs (e.g. 24.5.1) this same recipe brought you
>> to the first empty line in one of the marked files.
>
> I don't know if it's possible to search for "A^J^J" using find+grep,
> and it's the implementation choice for this function.

(The fact that it uses grep should perhaps be documented, since it
affects what one can search for.)

For this specific example, a grep-ish way to find empty lines is '^$'.
However, using "A" to search for that (or the empty regexp) causes Emacs
to hang indefinitely. :(




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

Previous Next


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