emacs-devel
[Top][All Lists]
Advanced

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

Re: Should `revert-buffer' preserve text-scaling by default?


From: Eli Zaretskii
Subject: Re: Should `revert-buffer' preserve text-scaling by default?
Date: Sat, 30 Nov 2019 09:22:40 +0200

> From: Karl Fogel <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,  address@hidden
> Date: Fri, 29 Nov 2019 15:20:42 -0600
> 
> However, the more I think about it, the more I wonder if maybe just
> defaulting `preserve-modes' to true might be the best solution. Does it 
> really make sense to *not* preserve modes by default when reverting a buffer?

Well, the fact that we did that for eons is one huge evidence that it
does make sense.

But I won't object to exposing that argument via a defcustom or a
special value of prefix arg.

> So how about we just flip that parameter's sense and change its name to 
> `discard-modes' (or `revert-modes', or whatever)?

This must be an opt-in feature, for backward compatibility reasons.



reply via email to

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