help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subsitute for current file name in buffer in emacs


From: Ken Goldman
Subject: Re: subsitute for current file name in buffer in emacs
Date: Mon, 04 Feb 2008 15:58:31 -0500
User-agent: Mozilla/5.0 (X11; U; AIX 000C89FF4C00; en-US; rv:1.7) Gecko/20040617

I'm sure there is. But if you're doing serious programming, you should invest in learning 'make'.

shankarrg wrote:
suppose i need to use the file name which is currently present in buffer
opened before me in emacs ..

now suppose it is a .cpp file say abc.cpp
now to compile this file i have to use        ...\g++  abc.cpp


now  instead for putting abc.cpp  is there a variable or command which
substitutes itself as the file name in current buffer when used ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]