help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling emacs using cygwin


From: David R
Subject: Re: compiling emacs using cygwin
Date: Mon, 18 Jun 2007 00:41:43 +0100
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)

Kevin Rodgers wrote:
David R wrote:
My problem is that M-x agrep
M-x fgrep and all other greps produce the message as
 >  symbol's value as variable is void: grep-null-device

I think you are using an old version of igrep.el (which I wrote).
Version 2.84 from 1998-09-22 has:

(defvar igrep-null-device
  (cond ((boundp 'null-device) null-device) ; Emacs 20
    ((boundp 'grep-null-device) grep-null-device)) ; Emacs 19
  "The system null device.")

thanks
I got it working somehow (I can't remember how)


(load-file "~/.emacs.d/igrep.el")
    (autoload 'igrep "igrep"
       "*Run `grep` PROGRAM to match REGEX in FILES..." t)
    (autoload 'igrep-find "igrep"
       "*Run `grep` via `find`..." t)
    (autoload 'igrep-visited-files "igrep"
       "*Run `grep` ... on all visited files." t)
    (autoload 'dired-do-igrep "igrep"
       "*Run `grep` on the marked (
or next prefix ARG) files." t)
    (autoload 'dired-do-igrep-find "igrep"
"*Run `grep` via `find` on the marked (or next prefix ARG) directories." t)
    (autoload 'Buffer-menu-igrep "igrep"
      "*Run `grep` on the files visited in buffers marked with '>'." t)
    (autoload 'igrep-insinuate "igrep"
      "Define `grep' aliases for the corresponding `igrep' commands." t)
;; 2. a. For completeness, you can add these forms as well:
    (autoload 'grep "igrep"
       "*Run `grep` PROGRAM to match REGEX in FILES..." t)
    (autoload 'egrep "igrep"
       "*Run `egrep`..." t)
    (autoload 'fgrep "igrep"
       "*Run `fgrep`..." t)
    (autoload 'agrep "igrep"
       "*Run `agrep`..." t)
    (autoload 'grep-find "igrep"
       "*Run `grep` via `find`..." t)
    (autoload 'egrep-find "igrep"
       "*Run `egrep` via `find`..." t)
    (autoload 'fgrep-find "igrep"
       "*Run `fgrep` via `find`..." t)
    (autoload 'agrep-find "igrep"
       "*Run `agrep` via `find`..." t)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]