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

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

Re: tramp error: Opening output file, etc


From: Neon Absentius
Subject: Re: tramp error: Opening output file, etc
Date: Wed, 5 Oct 2005 13:00:54 +0000
User-agent: Mutt/1.4.2.1i

On Wed, Oct 05, 2005 at 07:22:18AM -0400, ken wrote:

> From the little I know of emacs, I'm guessing that tramp/emacs is
> trying to save a temporary file and doesn't have write permission in the
> subdir it's configured to do this in.  (It's kind of nuts to have this
> subdir as the default for this.)  How do I change this?  

Well you can set the variable "tramp-auto-save-directory".

I prefer to have tramp to auto-save locally (its much faster) so I
have in my .emacs 

  (setq tramp-auto-save-directory "/tmp")


> I would prefer to put #todo# in the same subdir as todo... and
> this would seem to make the most sense as the default for
> everyone.
> 

Yes indeed (the speed issue aside).  I am not sure how to do that, 
the naive

  (setq tramp-auto-save-directory (pwd))

wont work due to the semantics of evaluation in Lisp, I think.
It will evaluate (pwd) at start-up and then assign that value
to the variable.

Probably there is a standard way to get "dynamically" the working
directory.  Any suggestions?

> 
> tnx,
> ken
> 

-- 
Everyone is so overwhelmed by the hospitality. And so many of the
people in the arena here, you know, were underprivileged anyway, so
this--this (she chuckles slightly) is working very well for them.
     -- Barbara Bush, about the refugees from New Orleans.




reply via email to

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