Article View: gnu.emacs.help
Article #189167Grabbing filename with doing M-x compile
From: James Cameron
Date: Sun, 21 Apr 1991 05:01
Date: Sun, 21 Apr 1991 05:01
27 lines
1375 bytes
1375 bytes
System: SunOS 4.1.1 emacs 18.57 Does anyone have any lisp code which implements both grab-file-name and/or file-completetion when doing M-x compile? Basically, if I am in Buffer foo.c and hit M-x compile and in my startup file I have: (setq compile-command "gcc ") Then I want to see: Compile command: gcc foo.c Anyone have any suggestions or pointers? jc -- -- James Cameron (jc@raven.bu.edu) Signal Processing and Interpretation Lab. Boston, Mass (617) 353-2879 ------------------------------------------------------------------------------ "But to risk we must, for the greatest hazard in life is to risk nothing. For the man or woman who risks nothing, has nothing, does nothing, is nothing." (Quote from the eulogy for the late Christa McAuliffe.)
Technical Details
Message-ID:
<JC.91Apr21010147@condor.bu.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!bu.edu!nntp-read!jcShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,c20840b6081e9682,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-04-21 04:47:32 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!bu.edu!nntp-read!jc From: jc@condor.bu.edu (James Cameron) Newsgroups: gnu.emacs.help Subject: Grabbing filename with doing M-x compile Message-ID: <JC.91Apr21010147@condor.bu.edu> Date: 21 Apr 91 05:01:47 GMT Sender: news@bu.edu.bu.edu Distribution: gnu Organization: What do you mean I *can't* do that???? Lines: 27