[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60333: [PATCH] whitespace: Update bob, eob markers in base and indir
From: |
Eli Zaretskii |
Subject: |
bug#60333: [PATCH] whitespace: Update bob, eob markers in base and indirect buffers |
Date: |
Thu, 12 Jan 2023 11:32:21 +0200 |
> Cc: 60333@debbugs.gnu.org
> Date: Thu, 29 Dec 2022 01:54:21 -0500
> From: Richard Hansen <rhansen@rhansen.org>
>
> 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.
Stefan, any further comments, or should this go in?
- bug#60333: [PATCH] whitespace: Update bob, eob markers in base and indirect buffers,
Eli Zaretskii <=