From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "wangyu" Newsgroups: gmane.emacs.help Subject: a problem about igrep Date: Wed, 11 Jun 2003 16:39:08 +0800 Organization: Bentium Ltd. (CN99) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1055320907 6419 80.91.224.249 (11 Jun 2003 08:41:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2003 08:41:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 11 10:41:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Q1A5-0001bh-00 for ; Wed, 11 Jun 2003 10:40:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Q19o-0003Zf-Dc for gnu-help-gnu-emacs@m.gmane.org; Wed, 11 Jun 2003 04:40:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: tu069212.tsinghua.edu.cn Original-X-Trace: mail.cn99.com 1055320544 72886 166.111.69.212 (11 Jun 2003 08:35:44 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Wed, 11 Jun 2003 08:35:44 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:114353 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10847 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10847 I copied the igrep.el file into the directory lisp and add the following to the .emacs file: (autoload (function igrep) "igrep" "*Run ¡ägrep¡ä PROGRAM to match EXPRESSION in FILES..." t) (autoload (function igrep-find) "igrep" "*Run ¡ägrep¡ä via ¡äfind¡ä..." t) (autoload (function dired-do-igrep) "igrep" "*Run ¡ägrep¡ä on the marked (or next prefix ARG) files." t) (autoload (function dired-do-igrep-find) "igrep" "*Run ¡ägrep¡ä via ¡äfind¡ä on the marked (or next prefix ARG) directories." t) (autoload (function grep) "igrep" "*Run ¡ägrep¡ä PROGRAM to match EXPRESSION in FILES..." t) (autoload (function egrep) "igrep" "*Run ¡äegrep¡ä..." t) (autoload (function fgrep) "igrep" "*Run ¡äfgrep¡ä..." t) (autoload (function agrep) "igrep" "*Run ¡äagrep¡ä..." t) (autoload (function grep-find) "igrep" "*Run ¡ägrep¡ä via ¡äfind¡ä..." t) (autoload (function egrep-find) "igrep" "*Run ¡äegrep¡ä via ¡äfind¡ä..." t) (autoload (function fgrep-find) "igrep" "*Run ¡äfgrep¡ä via ¡äfind¡ä..." t) (autoload (function agrep-find) "igrep" "*Run ¡äagrep¡ä via ¡äfind¡ä..." t) (autoload (function dired-do-grep) "igrep" "*Run ¡ägrep¡ä on the marked (or next prefix ARG) files." t) (autoload (function dired-do-grep-find) "igrep" "*Run ¡ägrep¡ä via ¡äfind¡ä on the marked (or next prefix ARG) directories." t) However, when I use the function fgrep or igrep,there is a message saying: symbol's value as variable is void : grep-null-service.why?