From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#23426: 25.0.93; dired-do-find-regexp doesn't find newline Date: Wed, 04 May 2016 16:20:25 +0000 Message-ID: References: <3ba077a2-21e0-9799-4f8b-c07bd1623853@yandex.ru> <7da95e19-50ff-4ca5-a5b8-2a7f65c2a7cd@default> <6cf9e2bf-fa90-3783-b30a-9021074790b0@yandex.ru> <93badbbc-31f6-409d-8dff-d67e9202deca@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0934b60f27180532069bad X-Trace: ger.gmane.org 1462378902 30173 80.91.229.3 (4 May 2016 16:21:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 16:21:42 +0000 (UTC) Cc: 23426@debbugs.gnu.org, heinz@h-rommerskirchen.de To: Drew Adams , Dmitry Gutov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 18:21: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 1axzYI-0004To-SE for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 18:21:31 +0200 Original-Received: from localhost ([::1]:48894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzYF-0003zh-46 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 12:21:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzY5-0003mn-Pp for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axzXu-0000dD-2M for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:21:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axzXs-0000ca-Tn for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:21:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axzXp-0000qg-Ik for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 12:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2016 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23426 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23426-submit@debbugs.gnu.org id=B23426.14623788433230 (code B ref 23426); Wed, 04 May 2016 16:21:01 +0000 Original-Received: (at 23426) by debbugs.gnu.org; 4 May 2016 16:20:43 +0000 Original-Received: from localhost ([127.0.0.1]:38012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axzXX-0000q1-L9 for submit@debbugs.gnu.org; Wed, 04 May 2016 12:20:43 -0400 Original-Received: from mail-oi0-f42.google.com ([209.85.218.42]:32821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axzXV-0000pp-Oe for 23426@debbugs.gnu.org; Wed, 04 May 2016 12:20:42 -0400 Original-Received: by mail-oi0-f42.google.com with SMTP id v145so71170050oie.0 for <23426@debbugs.gnu.org>; Wed, 04 May 2016 09:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Vn1mrhkJXF0UXiKuX7z9jxXmjeq60caicz0J7MlqTUM=; b=cw2NDW/g0fFXldvrIzto9a/L+j9OM2DeyjHLMXQJre6YB1agaze91Ezrj6RvZWJ5Bq 99VrVHskOuZGN9L1ce35ITMLc39i07UuIwUscleqYvluwQ6FtM3bo0jDUSWngwUxIJ4s 0vbhtj6KVMhgYR77Lxb3NSbMhaly4A/dczIwObJzqynpfYIi3lcnSwneFelAxUtp8woy 8K2UDPX4o751wCBxhCrT/yr6ogKb7BD4s4HQPj9/+Gb1a5YZKa0DaUcWf6wnwnJe2go9 31BMZfcKZvdZjtZkhHf2XLKqzn2nXlHwvvDMdrqEmGfIUayDu4xLRZk/qluC4s3vbL0r 8mFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vn1mrhkJXF0UXiKuX7z9jxXmjeq60caicz0J7MlqTUM=; b=c5oWj26nTatOGXKalSc8ZBRddXG8YvDsUzgydrtLVnwXwpDcdjuYfeSMHuM/uiVT0o vaw4qpoPZ/8ej+pHkfiX9X+WcHvAH6ZwwRIQRQzNMjH9edgQOBlw+G0y06UinKOW7gfb 0+Yg757gz7+bc7NGwNx9G8dHzcVy5lUnD8ig3N5qgNkjIzeeXcerT/pd5FUQXay3ZAdm PpnIEoFBXUeF9tAVbHlqm0eZiUxYmGTCg8aFOysDX+3VBc/iKVVkr8OKyu/NLlDLSPJ7 CWfXLRrDEC75V10lAhnTg031DSMqn+AyUFhIfdmz6tb/S8IZc5vvxGAhWs0xq2JXnQsb E87A== X-Gm-Message-State: AOPr4FUgTQiQR5IDRy10McBHmlZzXItUpfleYAzA1iqhNMyyE+rQb9QMe/KXfiDCY9mc2r6XXU6kMPxvobfqeQ== X-Received: by 10.157.6.80 with SMTP id 74mr4644499otn.164.1462378836205; Wed, 04 May 2016 09:20:36 -0700 (PDT) In-Reply-To: <93badbbc-31f6-409d-8dff-d67e9202deca@default> 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:117763 Archived-At: --94eb2c0934b60f27180532069bad Content-Type: text/plain; charset=UTF-8 Hi all, Even understanding that users would need to install GNU find & grep on their Windows system to use the new implementations bound to A/Q in dired, I believe that we should have the following: - NOT bind A/Q at all if the right dependencies are not found. I tried the A binding on Windows, it looked like it was grepping for the strings I entered and returned an empty *xref* window. The same search on same files worked as expected in RHEL (to be honest I love this new feature on RHEL, and I might start using the A binding). Currently the implementation on Windows gives an appearance that something was searched for and no results were found. That is misleading! - Another alternative would be (if we want to keep A/Q bindings) that a user-error or error be thrown if the correct external dependencies are not installed. The user should be let known that they need to install the GNU find/grep executables for their platform in order to use those commands. In the current implementation, the user will just assume that they searched something and nothing got returned. - The requirement to have find/grep installed should also go to backward incompatible changes section in NEWS. WDYT? -- -- Kaushal Modi --94eb2c0934b60f27180532069bad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Even understanding that users w= ould need to install GNU find & grep on their Windows system to use the= new implementations bound to A/Q in dired, I believe that we should have t= he following:

- NOT bind A/Q at all if the right d= ependencies are not found. I tried the A binding on Windows, it looked like= it was grepping for the strings I entered and returned an empty *xref* win= dow. The same search on same files worked as expected in RHEL (to be honest= I love this new feature on RHEL, and I might start using the A binding). C= urrently the implementation on Windows gives an appearance that something w= as searched for and no results were found. That is misleading!
- Another alternative would be (if we want to keep A/Q binding= s) that a user-error or error be thrown if the correct external dependencie= s are not installed. The user should be let known that they need to install= the GNU find/grep executables for their platform in order to use those com= mands. In the current implementation, the user will just assume that they s= earched something and nothing got returned.

- The = requirement to have find/grep installed should also go to backward incompat= ible changes section in NEWS.

WDYT?
--

--
Kaushal Modi

--94eb2c0934b60f27180532069bad--