[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15 Oct 2003 14:59:33 -0400
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
Has anyone ever tried to use this variable ?
It has some really nasty effects. Let's see a session:
% emacs -q --no-site-file
M-: (setq auto-save-visited-file-name t)
C-x C-f ~/tmp/foo.txt RET
type in some text with é or à
# Now foo.txt has size 30, for instance, using latin-1.
# Wait until the buffer is auto-saved.
# BUG-1: Now foo.txt has size 32, using emacs-mule encoding.
# BUG-2: Emacs prompts because the file was "changed since saved".
# let's not save, but kill the buffer instead.
C-x k RET
# BUG-3: foo.txt does not exist any more because Emacs thought it
# was the auto-save file and should thus be removed.
I think we need to do something.
Maybe fix the above bugs, which might uglify a good bit of the code.
Or maybe remove the option instead.
Or at least make it into a `defvar' rather than `defcustom'.
Stefan Monnier <=