all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Glenn Morris <rgm@gnu.org>
Cc: 23426@debbugs.gnu.org, Heinz Rommerskirchen <heinz@h-rommerskirchen.de>
Subject: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline
Date: Tue, 3 May 2016 23:59:08 +0300	[thread overview]
Message-ID: <9638d58e-0c5c-a587-c3a6-272254597b88@yandex.ru> (raw)
In-Reply-To: <4xr3dj7yrk.fsf@fencepost.gnu.org>

On 05/03/2016 10:00 PM, Glenn Morris wrote:

>> You can't search for an empty line following a letter 'A' this way, though.
>
> No, but that's not what the OP's example was.
> (The "A" is the keybinding that triggers the search, not part of the search.)

Oh. So your example is a direct equivalent. Thanks.

> There is "grep -z" for multi-line searches, BTW, but it's a bit clunky.

I looked at 'grep -zo', but it doesn't seem suitable for our purpose: 
there's no way to make it output the correct line number. So we'd have 
to load each file in Emacs fully and search it them through ourselves a 
second time.

> Also "pcregrep".

It looks like a better choice, but it's not installed on most systems 
AFAICT (it wasn't on mine), and xref doesn't really know what to do with 
multiline matches anyway yet (?).





  reply	other threads:[~2016-05-03 20:59 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
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 [this message]
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=9638d58e-0c5c-a587-c3a6-272254597b88@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=23426@debbugs.gnu.org \
    --cc=heinz@h-rommerskirchen.de \
    --cc=rgm@gnu.org \
    /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.