[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode
From: |
Eli Zaretskii |
Subject: |
bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode' |
Date: |
Sat, 10 Feb 2024 21:23:37 +0200 |
> Cc: 68881@debbugs.gnu.org
> Date: Sat, 10 Feb 2024 10:22:16 -0800
> From: Jim Porter <jporterbugs@gmail.com>
>
> On 2/7/2024 9:37 AM, Juri Linkov wrote:
> >> The main issue was that outline.el uses 'line-beginning-position' and
> >> friends, which respects field boundaries, but I think we want to avoid that
> >> for 'outline-minor-mode'. Maybe we could use 'pos-bol' and friends instead,
> >> but my understanding is that 'line-beginning-position' respects display
> >> directionality (which we probably want), but 'pos-bol' doesn't.
> >
> > I'm not aware of any cases that would require restricting
> > outlines to field boundaries.
>
> Thanks. After reading the source (generally a good idea), I now see that
> 'line-beginning-position' doesn't respect display directionality, so
> there's no reason to use it over 'pos-bol' and friends. I've therefore
> updated the patch to use those, which makes things a bit simpler.
>
> (In any case, I think for RTL, we'd want to use the logical ordering of
> the text anyway, but possibly add the outline buttons on the right side
> of the window instead. That's out of scope for this bug though.)
I don't understand what text directionality has to do with the issue
at hand. If you elaborate, I could perhaps be of assistance in this
matter.
- bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode', Jim Porter, 2024/02/01
- bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode', Juri Linkov, 2024/02/11
- bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode', Jim Porter, 2024/02/11
- bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode', Juri Linkov, 2024/02/12
- bug#68881: 30.0.50; [PATCH] Field properties confuse 'outline-minor-mode', Jim Porter, 2024/02/12