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

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

Re: emacsclient: controlling from an application?


From: Kevin Rodgers
Subject: Re: emacsclient: controlling from an application?
Date: Wed, 15 Oct 2003 12:25:29 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

DrMemory wrote:

I would like to have a cron task signal emacsclient to save a certain
buffer which I keep open throughout the workday, so that a perl script
can do some processing on the contents at the end of the day.
Signalling to save _all_ buffers would be okay too.

I know I can set the auto-save-visited-file-name variable so that
auto-saves write to the original file; but unless I could do this on a
per-buffer basis I surely wouldn't want this as global behaviour.

You can set any variable on a per-buffer basis:


(set (make-local-variable 'auto-save-visited-file-name) t)


Try putting that in the file itself, either as the first line

# -*- eval: (set ...) -*-

or at the end

### Local Variables:
### eval: (set ...)
### End:

--
Kevin Rodgers



reply via email to

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