🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99983

Help applying function to files from TAGS

#99983
From: Jeff Sondeen
Date: Fri, 16 Feb 1990 22:32
17 lines
1399 bytes
I'm trying to apply a function that I defined on all the files in the tags     
file list.  Can someone please help me?  Thanks!!  Here's my unsuccessful hack:

(defun test () "test"                         
        (insert-string "hi there"))           
                                              
(defun tags-do (this)                         
  "Run THIS on all files listed in tag table."
  (interactive "sDo what (function name): ")  
  (setq tags-loop-form (list this))           
  (tags-loop-continue t))                     
                                              
The error I get with (tags-do "test") is:     
                                              
Invalid function: "test"

Thanks for your help.  /jeff
Technical Details
Message-ID: <900216143256.23800103@Cheeta.ISI.Edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!tut.cis.ohio-state.edu!CHEETA.ISI.EDU!sondeen

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,60ef814a2adb8992,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-02-17 14:16:12 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!tut.cis.ohio-state.edu!CHEETA.ISI.EDU!sondeen
From: sondeen@CHEETA.ISI.EDU (Jeff Sondeen)
Newsgroups: gnu.emacs.bug
Subject: Help applying function to files from TAGS
Message-ID: <900216143256.23800103@Cheeta.ISI.Edu>
Date: 16 Feb 90 22:32:56 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 17
Posted: Fri Feb 16 23:32:56 1990