From: David Abrahams <dave@boost-consulting.com>
Subject: grep.el bug?
Date: Sat, 15 Jan 2005 22:43:25 -0500 [thread overview]
Message-ID: <cscnug$jph$1@sea.gmane.org> (raw)
I just rebuilt emacs from CVS. On line 541 of grep.el, a change was
made about a year ago that seems to be breaking grep-find for me.
(let ((null-device nil)) ; see grep
(grep command-args))))
This always leads to the following backtrace for me:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
call-process("find" nil nil nil nil "-print0")
grep-compute-defaults()
grep-process-setup()
compilation-start("find . -type f -not -path \"*/CVS/*\" ...)
grep("find . -type f -not -path \"*/CVS/*\" -not -name \ ...)
grep-find("find . -type f -not -path \"*/CVS/*\" -not ...)
call-interactively(grep-find)
execute-extended-command(nil)
call-interactively(execute-extended-command)
As far as I can tell, null-device gets passed as the 5th argument to
call-process, which expects only strings after its 4th argument. But
this can't have remained broken for everyone for a whole year, can it?
So I must be missing something. The comment that directs me to "see
grep" leaves me completely in the dark.
Clues, anyone?
Thanks in advance,
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
next reply other threads:[~2005-01-16 3:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-16 3:43 David Abrahams [this message]
2005-01-16 4:09 ` grep.el bug? David Abrahams
2005-01-17 23:42 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cscnug$jph$1@sea.gmane.org' \
--to=dave@boost-consulting.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).