all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: <david.chappaz@free.fr>
Cc: 46801@debbugs.gnu.org
Subject: bug#46801: Autodetection of grep-use-null-device
Date: Sat, 27 Feb 2021 06:03:46 +0100	[thread overview]
Message-ID: <87blc6je4t.fsf@gnus.org> (raw)
In-Reply-To: <055601d70c62$57d58ba0$0780a2e0$@free.fr> (david chappaz's message of "Fri, 26 Feb 2021 09:10:51 -0800")

<david.chappaz@free.fr> writes:

> 4/ I can see that grep-use-null-device has been set to nil
>
> This suggests that automatic detection of grep-use-null-device
>
> has taken place. Is this expected after non-interactive invocation ?

It's always computed -- by `grep-process-setup', but that's after the
grep command is constructed, which is why you're getting that
"/dev/null" at the end, and then the variable is set to nil.

I've now changed this in Emacs 28 to compute the value earlier, so this
is less inconsistent (and I've also updated the doc string).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-02-27  5:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26 17:10 bug#46801: Autodetection of grep-use-null-device david.chappaz
2021-02-27  5:03 ` Lars Ingebrigtsen [this message]
2021-02-28  1:39   ` david.chappaz

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=87blc6je4t.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46801@debbugs.gnu.org \
    --cc=david.chappaz@free.fr \
    /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.