emacs-devel
[Top][All Lists]
Advanced

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

Re: Don't complain about changed file when it hasn't changed


From: Eli Zaretskii
Subject: Re: Don't complain about changed file when it hasn't changed
Date: Tue, 30 Aug 2016 20:26:15 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Tue, 30 Aug 2016 13:13:14 -0400
> 
> >> I don't know for a fact that it doesn't work in the unibyte case, actually.
> > buffer-file-coding-system will be the local default,
> 
> How do you know?  IOW, which scenario are you thinking about?

I did this:

  emacs -Q
  C-x b foo
  M-: (set-buffer-multibyte nil) RET
  M-: buffer-file-coding-system RET

This yields my default for buffer-file-coding-system.

> Maybe in some cases it may not work, indeed.  My favorite way to fix
> those would be to make sure buffer-file-coding-system is set to
> something like `binary' when the buffer is unibyte.

That'd be fine, I think.



reply via email to

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