|
From: | Richard Hansen |
Subject: | bug#60333: [PATCH] whitespace: Update bob, eob markers in base and indirect buffers |
Date: | Thu, 29 Dec 2022 01:54:21 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
On 12/28/22 09:51, Stefan Monnier wrote:
When a buffer is changed, update `whitespace-bob-marker' and `whitespace-eob-marker' not just in the current buffer, but also in the base buffer and all of its indirect buffers (if any) (Bug#46982).That doesn't sound right. We should only update them in those indirect buffers which also use whitespace eob/bob markers. It should be their individual responsibility to register hook functions to update their own markers.
The changelog was worded poorly; it does what you expect it to do. Attached is an updated patch with hopefully better wording; please let me know if it still needs improvement.
v2-0001-whitespace-Update-bob-eob-markers-in-base-and-ind.patch
Description: Text Data
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |