[EMAIL PROTECTED] (Kai Gro�johann) writes:
> Ryan Hodges <[EMAIL PROTECTED]> writes:
>
>> When tramp-auto-save-directory is set to nil, the above evaluates to:
>> the /usr/src/build.... pathname.
>
> It should eval to /[EMAIL PROTECTED]:/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.
_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel