From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: drmemory@starband.net (DrMemory) Newsgroups: gmane.emacs.help Subject: Re: emacsclient: controlling from an application? Date: Fri, 17 Oct 2003 22:45:39 GMT Organization: Starband Communications Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F8D9119.8050500@yahoo.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066431720 27846 80.91.224.253 (17 Oct 2003 23:02:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2003 23:02:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 01:01:58 2003 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 1AAdba-0004QK-00 for ; Sat, 18 Oct 2003 01:01:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAdaw-0003HH-9o for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2003 19:01:18 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.5.7 (UNIX) Original-Lines: 35 Original-NNTP-Posting-Host: 148.63.113.13 Original-X-Complaints-To: abuse@starband.net Original-X-Trace: twister1.starband.net 1066430760 148.63.113.13 (Fri, 17 Oct 2003 18:45:38 EDT) Original-NNTP-Posting-Date: Fri, 17 Oct 2003 18:45:38 EDT Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!elnk-atl-nf1!newsfeed.earthlink.net!newsfeeds-atl2!c03.atl99!news.webusenet.com!taylorrain.knology.net!cyclone1.starband.net!twister1.starband.net.POSTED!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:117388 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:13318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13318 It was suggested that I set the auto-save-visited-file-name var: >>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 ...) -*- >> Which didn't work: >> It appears that the eval worked: >> However, the auto-save is still behaving as if the global value were in force: And you suggested: > >The variable is consulted when visiting a file to setup some other >auto-save-related variables. What is probably occuring is that the >variable is consulted before it is changed by the "eval: (set ...)" >cookie. > Nosing around, I find a variable called buffer-auto-save-file-name. Setting that in an eval statement does work, if anyone is interested.... -*- eval: (setq buffer-auto-save-file-name "Whatever") -*- Also, the run-with-idle-timer idea worked just fine. Thanks! Now I just wish I could make the USR1 signal work. I'm running version 20.6.1 here at work, so I will try with my newer version at home before submitting any bug reports...