emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Unsafe variable in a saved *compilation* buffer


From: Richard Stallman
Subject: Re: Unsafe variable in a saved *compilation* buffer
Date: Tue, 13 Mar 2007 23:24:48 -0400

    Indeed, but it's hardly specific to compilation-mode.  Any buffer content
    that contains relative file names will lose some of its meaning if it gets
    saved in another directory.

Most buffers don't contain a lot of file names.
Compilation buffers do, which is why I did it for Compilation buffers.

    For me it's much more common to access the same file under different names
    (typically via sshfs or Tramp, but also depending on if I'm on the server
    or on an NFS client, ...).  And I always get surprised that even though
    I was careful to save the file where it belongs, compilation can't find
    the sources.

I do not follow you; I do not see what scenario you are talking about
or how it relates to anything else.

    > ISTR that I added this because I ran into problems without it.

    What were those problems?

I don't remember, but I think I saved the buffer in my home directory,
and visited it again, and the file names did not work.




reply via email to

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