Package: emacs-snapshot Version: 1:20051215-1 Severity: normal
[ I had already reported this bug upstream four weeks ago, but got no response. And since it has not been fixed either, nobody seems to feel responsible. So I report it here, trying to draw attention to the problem. ] If saving a buffer with the current or preferred coding system is not possible, Emacs displays a `*Warning*' buffer which tells to select a safe coding system or to edit the buffer. If you quit then and the buffer had not been saved before (i.e., `buffer-backed-up' was nil), you will lose the backup file for the buffer. Take the following steps to reproduce the problem: $ export LC_ALL=C $ echo "foo" > bar ; cp bar bar~ $ emacs -Q -f view-hello-file bar In Emacs, in the "bar" buffer, type M-x insert-buffer RET C-x C-s Emacs should display a '*Warning*' buffer now; type C-g to quit. Now there are two problems: The backup file bar~ is gone :-( and, more importantly, `buffer-backed-up' is t, although the buffer had actually not been backed up. Thus, saving later will not back up the original state. The problem seems to be long outstanding, I could also reproduce it with Emacs 21.4. -- System Information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]