[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should `revert-buffer' preserve text-scaling by default?
From: |
Juri Linkov |
Subject: |
Re: Should `revert-buffer' preserve text-scaling by default? |
Date: |
Sun, 01 Dec 2019 23:49:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> Before I go down this road, I'd like to know if anyone thinks text-scaling
> is just another minor mode and should be bound together with other modes
> via the existing `preserve-modes' flag to `revert-buffer'. I think the
> opposite: that is, I think text-scaling should be treated specially, for
> the reasons given above. I just wanted to check here before writing
> any code.
Recently I encountered a similar problem - I was reading a read-only
file buffer in View mode (with a non-nil 'view-read-only') where
SPC scrolls the page forward. Then needed to revert the buffer,
but afterwards SPC changed its behavior to self-inserting spaces
because read-only view-mode was disabled after reverting.
- Re: Should `revert-buffer' preserve text-scaling by default?, (continued)
- Re: Should `revert-buffer' preserve text-scaling by default?, Eli Zaretskii, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Karl Fogel, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Eli Zaretskii, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Karl Fogel, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Stefan Monnier, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Karl Fogel, 2019/12/02
- Re: Should `revert-buffer' preserve text-scaling by default?, Eli Zaretskii, 2019/12/03
- Re: Should `revert-buffer' preserve text-scaling by default?, Eli Zaretskii, 2019/12/03
- Re: Should `revert-buffer' preserve text-scaling by default?, Eli Zaretskii, 2019/12/03
- Re: Should `revert-buffer' preserve text-scaling by default?, Karl Fogel, 2019/12/03
Re: Should `revert-buffer' preserve text-scaling by default?,
Juri Linkov <=