all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* grep.el bug?
@ 2005-01-16  3:43 David Abrahams
  2005-01-16  4:09 ` David Abrahams
  0 siblings, 1 reply; 3+ messages in thread
From: David Abrahams @ 2005-01-16  3:43 UTC (permalink / 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

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

end of thread, other threads:[~2005-01-17 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16  3:43 grep.el bug? David Abrahams
2005-01-16  4:09 ` David Abrahams
2005-01-17 23:42   ` Richard Stallman

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.