unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* reverting non-existent file
@ 2020-05-14 16:13 Colin Baxter
  2020-05-14 18:22 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2020-05-14 16:13 UTC (permalink / raw)
  To: emacs-devel


I don't know if this is a bug or just a feature of emacs. Therefore, I'd
better ask here first.

1. emacs -Q <RET>
2. C-x C-f some-non-existing-file-name <RET>
3. M-x add-file-local-variable-prop-line <RET>
4. coding <RET>
5. iso-2022-jp <RET>
6. Told to revert file for effect to take place.
7. M-x revert-buffer <RET>
8. yes <RET>
9. Told cannot revert nonexistent file.

The same effect occurs with other codings, for example utf-16 - but not
with utf-8-unix. I'm using emacs-28.0.50.

Colin.


-- 
Colin Baxter
URL: http://www.Colin-Baxter.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-15  7:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 16:13 reverting non-existent file Colin Baxter
2020-05-14 18:22 ` Eli Zaretskii
2020-05-14 18:52   ` Colin Baxter
2020-05-14 19:02     ` Eli Zaretskii
2020-05-14 19:54       ` Richard Copley
2020-05-15  5:36         ` Colin Baxter
2020-05-15  7:15           ` Eli Zaretskii
2020-05-15  6:16         ` Eli Zaretskii
2020-05-14 19:58       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).