unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Discarding errors from find-dired
@ 2014-06-09 15:15 Doug Lewan
  2014-06-11 14:19 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Lewan @ 2014-06-09 15:15 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

I'd like to discard stderr from the find command in (find-dired) and would appreciate pointers.

It looks like (grep-apply-setting) is the right function to use, since "This variable's value takes effect when `grep-compute-defaults' is called." (from the help for find-program). However, I haven't found anything useful looking through the code for (grep-compute-defaults).

(grep-compute-defaults) both establishes and manipulates the grep-host-defaults-alist, which is not documented well.

Thanks.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

LISP: The most intelligent way to misuse a computer.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Discarding errors from find-dired
  2014-06-09 15:15 Discarding errors from find-dired Doug Lewan
@ 2014-06-11 14:19 ` Michael Heerdegen
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen @ 2014-06-11 14:19 UTC (permalink / raw)
  To: help-gnu-emacs

Doug Lewan <dougl@shubertticketing.com> writes:

> I'd like to discard stderr from the find command in (find-dired) and
> would appreciate pointers.
>
> It looks like (grep-apply-setting) is the right function to use, since
> "This variable's value takes effect when `grep-compute-defaults' is
> called." (from the help for find-program). However, I haven't found
> anything useful looking through the code for (grep-compute-defaults).
>
> (grep-compute-defaults) both establishes and manipulates the
> grep-host-defaults-alist, which is not documented well.

Can you describe a bit clearer what problem you are trying to solve?
If your question is about find-dired, how is this related to grep?  Or
do you mean `find-grep-dired'?

Michael.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-11 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 15:15 Discarding errors from find-dired Doug Lewan
2014-06-11 14:19 ` Michael Heerdegen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).