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. _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug