unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: tramp error: Opening output file, etc
Date: Wed, 5 Oct 2005 13:00:54 +0000	[thread overview]
Message-ID: <20051005130054.GC992@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <20051005072218.171f117b@dellap.mousecar.net>

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	other threads:[~2005-10-05 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 11:22 tramp error: Opening output file: no such file or directory, /usr/src/packages/BUILD/emacs-21.3/src/#todo# ken
2005-10-05 13:00 ` Neon Absentius [this message]
2005-10-05 15:05 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051005130054.GC992@SDF.LONESTAR.ORG \
    --to=absent@sdf.lonestar.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).