tramp-devel
[Top][All Lists]
Advanced

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

Re: autosaving isn't working.


From: Kai Großjohann
Subject: Re: autosaving isn't working.
Date: Thu, 14 Aug 2003 21:38:00 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

address@hidden (Kai Großjohann) writes:

> Ryan Hodges <address@hidden> writes:
>
>> When tramp-auto-save-directory is set to nil, the above evaluates to:
>>      the /usr/src/build.... pathname.
>
> It should eval to /address@hidden:/usr/src/build... or something like
> this.  Something is fishy here.
>
> Alas, I have no time at the moment to investigate.  I'll try to find
> the time later.

Ah, now I looked a little bit.

What does C-h v auto-save-file-name-transforms RET say after starting
Emacs?  After starting "emacs -q -no-site-file"?

On my system, the value is

(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/usr/sw-src/emacs/21.3/emacs-21.3/src/\\2"))

because /usr/sw-src/emacs/21.3/emacs-21.3 is the build directory of
Emacs.  This is a bug.  In the CVS version of Emacs, the value is

(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/tmp/\\2" t))

Note that the regexp on the left is the same but the directory on the
right has changed.

As a workaround, you can set auto-save-file-name-transforms to nil or
to something like the new default value.  Note that Emacs 21.3
doesn't grok the additional third argument, yet.

Please remember to undo the workaround after upgrading to a version
of Emacs where the bug has been fixed.  (I don't know if 21.4 will
contain the bugfix or not.  Maybe someone who is working with the
21.1-RC branch can say.)
-- 
Two cafe au lait please, but without milk.




reply via email to

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