emacs-devel
[Top][All Lists]
Advanced

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

Re: 27.0.50: How can I test a buffer-local window-configuration-change-h


From: Stefan Monnier
Subject: Re: 27.0.50: How can I test a buffer-local window-configuration-change-hook in batch mode?
Date: Sat, 26 Oct 2019 08:11:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> I don't think long lines pose any performance problems in buffers
>> which are never displayed
>
> You are wrong: it will cause problems in any function that uses the
> display code, even if nothing is displayed.  For example,
> vertical-motion, next-line, posn-at-point, etc. all use the display
> code internally.

In theory you're right.  But I think in practice "buffers that aren't
displayed" is a pretty good approximation of "so-long won't help".

>> I've not been able to spot any down-sides to the change, so I'm pretty
>> sure it's the right thing to do.
> Well, one downside is that you now need to use a hook that was not
> really meant for that, or we'd need to introduce yet another hook.

I missed something: which new hook would be needed?


        Stefan




reply via email to

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