all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Heinz Rommerskirchen <heinz@h-rommerskirchen.de>, 23426@debbugs.gnu.org
Subject: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline
Date: Mon, 2 May 2016 21:23:09 +0300	[thread overview]
Message-ID: <bdc1fe32-f3f0-0226-10b1-c5a6e4b3ee8b@yandex.ru> (raw)
In-Reply-To: <57278BA0.6010604@h-rommerskirchen.de>

On 05/02/2016 08:17 PM, Heinz Rommerskirchen wrote:

> dired-do-find-regexp can't find matches for a regexp containing newline.
> To trigger the bug:
> - start "emacs -Q"
> - open "/usr/local/share/emacs/25.0.93/etc/" in dired
> - mark the file NEWS and maybe a few more
> - type "A C-q C-j C-q C-j"
> - there is a message in the echo area: "No matches for:
>
> "
> 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.

On the one hand, it limits the variety of the regexp you can use. On the 
other hand, you can get results faster, and you can search inside 
directories (dired-do-search only searches within regular files and 
silently skips any marked directories).





  parent reply	other threads:[~2016-05-02 18:23 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-02 17:17 bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline Heinz Rommerskirchen
2016-05-02 17:41 ` Drew Adams
2016-05-02 17:45   ` Drew Adams
2016-05-02 18:23 ` Dmitry Gutov [this message]
2016-05-03  1:18   ` Glenn Morris
2016-05-03 16:18     ` Eli Zaretskii
2016-05-03 23:08       ` Dmitry Gutov
2016-05-03 17:22     ` Dmitry Gutov
2016-05-03 19:00       ` Glenn Morris
2016-05-03 20:59         ` Dmitry Gutov
2016-05-04  2:05           ` Drew Adams
2016-05-04  2:34             ` Dmitry Gutov
2016-05-04  4:24               ` Drew Adams
2016-05-04 15:01                 ` Eli Zaretskii
     [not found]                 ` <<838tzpkgtj.fsf@gnu.org>
2016-05-04 15:31                   ` Drew Adams
2016-05-04 15:39                     ` Dmitry Gutov
2016-05-04 16:04                       ` Drew Adams
2016-05-04 16:13                         ` Eli Zaretskii
2016-05-04 16:00                     ` Eli Zaretskii
     [not found]                     ` <<83r3dhizis.fsf@gnu.org>
2016-05-04 16:32                       ` Drew Adams
2016-05-04 16:51                         ` Eli Zaretskii
2016-05-04  5:00 ` Kaushal Modi
2016-05-04 10:32   ` Dmitry Gutov
2016-05-04 13:32     ` Drew Adams
2016-05-04 13:49       ` Dmitry Gutov
2016-05-04 15:31         ` Drew Adams
2016-05-04 16:01           ` Eli Zaretskii
2016-05-04 15:15       ` Eli Zaretskii
2016-05-04 15:10     ` Eli Zaretskii
     [not found]     ` <<6a4860bb-2b39-4da4-b2a7-7b8d15211fee@default>
     [not found]       ` <<831t5hkg6x.fsf@gnu.org>
2016-05-04 15:39         ` Drew Adams
2016-05-04 15:53           ` Dmitry Gutov
2016-05-04 16:10             ` Drew Adams
2016-05-04 16:14               ` Eli Zaretskii
2016-05-04 16:20               ` Kaushal Modi
2016-05-04 16:25                 ` Dmitry Gutov
2016-05-04 16:41                 ` Eli Zaretskii
2016-05-04 18:06                   ` Kaushal Modi
2016-05-04 16:28               ` Dmitry Gutov
2016-05-04 16:08           ` Eli Zaretskii
     [not found] <<<CAFyQvY0KYfeg9-f8DiCJcEy5-W=yRFykLLpCHRtCeqzz9Bdi0g@mail.gmail.com>
     [not found] ` <<3ba077a2-21e0-9799-4f8b-c07bd1623853@yandex.ru>
     [not found]   ` <<<6a4860bb-2b39-4da4-b2a7-7b8d15211fee@default>
     [not found]     ` <<<831t5hkg6x.fsf@gnu.org>
     [not found]       ` <<7da95e19-50ff-4ca5-a5b8-2a7f65c2a7cd@default>
     [not found]         ` <<6cf9e2bf-fa90-3783-b30a-9021074790b0@yandex.ru>
     [not found]           ` <<93badbbc-31f6-409d-8dff-d67e9202deca@default>
     [not found]             ` <<83lh3piyvq.fsf@gnu.org>
2016-05-04 16:23               ` Drew Adams
     [not found]         ` <<83oa8liz53.fsf@gnu.org>
2016-05-04 16:39           ` Drew Adams
2016-05-04 18:20             ` John Wiegley
2016-05-04 20:09               ` Drew Adams
2016-05-04 21:13                 ` John Wiegley
2016-05-05 17:07                   ` Eli Zaretskii
2016-05-05 23:44                     ` John Wiegley
2016-05-05 17:03                 ` Eli Zaretskii
2016-05-05 17:01               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bdc1fe32-f3f0-0226-10b1-c5a6e4b3ee8b@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=23426@debbugs.gnu.org \
    --cc=heinz@h-rommerskirchen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.