From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Slass Newsgroups: gmane.emacs.help Subject: Re: META-x grep question Date: Wed, 21 Apr 2004 21:53:34 GMT Organization: Comcast Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <40850130$0$1123$4d4eb98e@news.dk.uu.net> <108aqvfer3ne6ab@corp.supernews.com> <4086133a$0$1116$4d4eb98e@news.dk.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082585296 23241 80.91.224.253 (21 Apr 2004 22:08:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 22:08:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 00:08:08 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGPt2-00079x-00 for ; Thu, 22 Apr 2004 00:08:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGPow-0003DV-Lg for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Apr 2004 18:03:54 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn51feed!worldnet.att.net!attbi_s54.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 24.18.253.35 Original-X-Complaints-To: abuse@comcast.net Original-X-Trace: attbi_s54 1082584414 24.18.253.35 (Wed, 21 Apr 2004 21:53:34 GMT) Original-NNTP-Posting-Date: Wed, 21 Apr 2004 21:53:34 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:122541 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17828 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17828 FCC writes: >>> >> Thanks ! That works ! >> Do you know if one could put it in the .emacs file instead ?? >> BR >> Brian >I have in my _emacs file a section called custom-set variables, and >there I have many entries along with: > >'(grep-command "grep --regexp=\"\\B!.*\" --only-matching --no-filename >FNAME.f90") > >which basically displays all the comments in file FNAME.f90. You can >edit anything inside "". It's not a good idea to advise novices to edit their custom-set-variables directly. Much better to make the changes within the customize buffer, and then click the button labled "Save for Future Sessions". That will update the custom-set-variables section of your .emacs file. -- Mike Slass