From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline Date: Wed, 4 May 2016 02:08:36 +0300 Message-ID: <0e97c691-b726-7002-30d7-d5da074d6cac@yandex.ru> References: <57278BA0.6010604@h-rommerskirchen.de> <837ffbktdt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1462316983 22067 80.91.229.3 (3 May 2016 23:09:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 May 2016 23:09:43 +0000 (UTC) Cc: 23426-done@debbugs.gnu.org, heinz@h-rommerskirchen.de To: Eli Zaretskii , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 01:09:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axjRb-0007Cv-4M for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 01:09:31 +0200 Original-Received: from localhost ([::1]:44494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axjRW-00066y-TW for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 May 2016 19:09:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axjRO-0005uG-Ds for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 19:09:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axjRC-0008VB-Pp for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 19:09:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axjRB-0008Tv-JS for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 19:09:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axjR8-0001nJ-4n for bug-gnu-emacs@gnu.org; Tue, 03 May 2016 19:09:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2016 23:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 23426 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 23426@debbugs.gnu.org, dgutov@yandex.ru, heinz@h-rommerskirchen.de Original-Received: via spool by 23426-done@debbugs.gnu.org id=D23426.14623169266873 (code D ref 23426); Tue, 03 May 2016 23:09:01 +0000 Original-Received: (at 23426-done) by debbugs.gnu.org; 3 May 2016 23:08:46 +0000 Original-Received: from localhost ([127.0.0.1]:36074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axjQs-0001mn-8Z for submit@debbugs.gnu.org; Tue, 03 May 2016 19:08:46 -0400 Original-Received: from mail-wm0-f50.google.com ([74.125.82.50]:36858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axjQr-0001mZ-8s for 23426-done@debbugs.gnu.org; Tue, 03 May 2016 19:08:45 -0400 Original-Received: by mail-wm0-f50.google.com with SMTP id n129so166450578wmn.1 for <23426-done@debbugs.gnu.org>; Tue, 03 May 2016 16:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=M0gq2xIufgtaNcyaU1mz2VYkZdRj8b6v5ck3ppuqyrI=; b=f9TL6BoOulSh56Km3eS7w9lJ3utA7Ar4yUALBdB6xwt5xzaQU7WqzbLxSG4LLwD/j6 HGUQAqEbWJdplzqqIsfefIekJm5D2PUMzodnVMElQ8iEB7hqmgp0wzDCCl6GAwTXVTvR MYsmak7fqORciznGcc90z71i/Dpk2F5iCjqduTlDHjBnAcZ0cOxFmu5FFlfLj66as5il FibfRW95QHJ8D87DCJQld0DLpgJe4YGzfDmfUpZpggi8SNyB3taR1zIf1k6VrtSGUTMD dUSfiiEaLVxTwDwf7+X+1ifgCyyrZ3uyPGE0Mw0F2iqQFpJ1X5QxpeR+sjQmKJ4L/f9+ yM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=M0gq2xIufgtaNcyaU1mz2VYkZdRj8b6v5ck3ppuqyrI=; b=W5UlJljsFwgG2pKvcj8lGMuB+Wr+Ar8lw36XHZNdIrPtohk2zLdcpTky62nSvRoXol PSt1tSUYrwXcanyIo+yn06EVV7TwAriuV5gYfWbwoznumh29QU8p8LAYO80ZDsuI8l7U XI+W2bjq9mOtFASARCKE2XtpMUjZdMx1rDJ3nAdaNa7FwL9Yp7ajRjb2cIcoWO2XjQPT 49Fmo+xZzbyPHWe9HOP4j/iP7aEem5RgmCv4phCRGMTtpD0E/NvoWaa6ixYDx/0ARa3P +AvkrZCajSZih0bYu8MGOYHvyvltDEN8N9k2n6lID4WL72IpFe33Zf6MXYweRDGybvMk k+9Q== X-Gm-Message-State: AOPr4FUp2G0PvNAD/8qWz8KQV28UVa+oNkqNpRhYZ081IRei6ja0e1rbxdcAQdChyGh3ww== X-Received: by 10.28.149.205 with SMTP id x196mr28871195wmd.67.1462316919486; Tue, 03 May 2016 16:08:39 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id jr8sm803288wjb.15.2016.05.03.16.08.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2016 16:08:38 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1 In-Reply-To: <837ffbktdt.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117700 Archived-At: Version: 25.1 On 05/03/2016 07:18 PM, Eli Zaretskii wrote: >> (The fact that it uses grep should perhaps be documented, since it >> affects what one can search for.) > > I added that to the doc string. I'm much less inclined to state this > ion the manual, as this seems to be a subtle implementation detail, > and is probably subject to change. Right, and it's not easy to describe, because for now we support only constructs that Grep understands but require the user to escape the terms the way Emacs requires, not Grep (so the result is somewhere between BRE and ERE). Hopefully, we'll allow more Emacs-specific terms in the future (by stripping them out before giving the regexp to Grep, and then verifying the matches in Emacs with the correct regexp). >> 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. :( > > That's a bug that should be fixed, for sure. Fixed in 4d8fd9c. Closing.