From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: bug#32093: 27.0.50; M-x grep appends /dev/null to command line Date: Tue, 10 Jul 2018 09:33:29 +0200 Message-ID: <87o9ffv92u.fsf@fencepost.gnu.org> References: <87lgamdqcb.fsf@fencepost.gnu.org> <87pnzyawdg.fsf@gmx.de> <87h8ladpem.fsf@fencepost.gnu.org> <87lgamavq7.fsf@gmx.de> <87d0vydli6.fsf@fencepost.gnu.org> <87va9pdin0.fsf@gmail.com> <83pnzxh7lj.fsf@gnu.org> <87pnzwccfh.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531208000 17352 195.159.176.226 (10 Jul 2018 07:33:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2018 07:33:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: michael.albinus@gmx.de, 32093@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 10 09:33:15 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcn99-0004Qr-C4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2018 09:33:15 +0200 Original-Received: from localhost ([::1]:46307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcnBG-000811-D9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2018 03:35:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcn9z-0007DI-6i for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 03:34:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcn9w-0000AZ-0H for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 03:34:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcn9v-0000AU-S6 for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 03:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcn9u-00089C-55 for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2018 03:34:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2018 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32093 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32093-submit@debbugs.gnu.org id=B32093.153120802431293 (code B ref 32093); Tue, 10 Jul 2018 07:34:02 +0000 Original-Received: (at 32093) by debbugs.gnu.org; 10 Jul 2018 07:33:44 +0000 Original-Received: from localhost ([127.0.0.1]:53008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcn9c-00088e-7v for submit@debbugs.gnu.org; Tue, 10 Jul 2018 03:33:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcn9b-00088T-80 for 32093@debbugs.gnu.org; Tue, 10 Jul 2018 03:33:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcn9V-0008Qs-AY for 32093@debbugs.gnu.org; Tue, 10 Jul 2018 03:33:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcn9P-0008Po-P5; Tue, 10 Jul 2018 03:33:31 -0400 Original-Received: from x4e304007.dyn.telefonica.de ([78.48.64.7]:47132 helo=lola) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fcn9P-0001nF-2E; Tue, 10 Jul 2018 03:33:31 -0400 In-Reply-To: <87pnzwccfh.fsf@gmail.com> (Noam Postavsky's message of "Mon, 09 Jul 2018 17:43:46 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:148406 Archived-At: Noam Postavsky writes: >>>From 3b0f302b7d06c37cc6fbff2f1e18904020de51f2 Mon Sep 17 00:00:00 2001 > From: Noam Postavsky > Date: Mon, 9 Jul 2018 17:38:40 -0400 > Subject: [PATCH v1] Use README instead of HELLO for grep probing (Bug#32093) > > * lisp/progmodes/grep.el (grep-compute-defaults): Check README for the > string COPYRIGHT; HELLO no longer has "English" at the beginning of a > line since 2018-05-19 "Use Enriched mode in etc/HELLO to keep charset > information". > --- > lisp/progmodes/grep.el | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el > index b7c44d6083..b466e205b8 100644 > --- a/lisp/progmodes/grep.el > +++ b/lisp/progmodes/grep.el > @@ -626,28 +626,28 @@ grep-compute-defaults > (unless (or (not grep-use-null-device) (eq grep-use-null-device t)) > (setq grep-use-null-device > (with-temp-buffer > - (let ((hello-file (expand-file-name "HELLO" data-directory))) > + (let ((hello-file (expand-file-name "README" data-directory))) Using `hello-file' for indicating "README" does not particularly help reading comprehension. -- David Kastrup