From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David R Newsgroups: gmane.emacs.help Subject: Re: compiling emacs using cygwin Date: Mon, 18 Jun 2007 00:41:43 +0100 Message-ID: <4675c6b0$1_1@mk-nntp-2.news.uk.tiscali.com> References: <46585cfc$1_4@mk-nntp-2.news.uk.tiscali.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182127236 8342 80.91.229.12 (18 Jun 2007 00:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2007 00:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 18 02:40:35 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I05II-0005Jv-08 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jun 2007 02:40:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I05IH-0008D5-8q for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 20:40:33 -0400 User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 52 X-Original-NNTP-Posting-Host: 80.47.199.23 Original-NNTP-Posting-Host: mk-nntp-2.news.uk.tiscali.com Original-X-Trace: 18 Jun 2007 00:41:40 +0100, mk-nntp-2.news.uk.tiscali.com Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed1.ip.tiscali.net!tiscali!newsfeed2.ip.tiscali.net!212.74.112.120.MISMATCH!mk-nntp-1.news.uk.tiscali.com!mk-nntp-2.news.uk.tiscali.com Original-Xref: shelby.stanford.edu gnu.emacs.help:149556 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45145 Archived-At: 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)