[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56682: locked narrowing
From: |
Eli Zaretskii |
Subject: |
bug#56682: locked narrowing |
Date: |
Wed, 17 Aug 2022 21:33:40 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: dgutov@yandex.ru, 56682@debbugs.gnu.org, gregory@heytings.org
> Date: Wed, 17 Aug 2022 13:58:21 -0400
>
> [ BTW, apparently when `display_line_numbers_widen` is in use and the
> buffer is narrowed, we don't use that cache at all for
> `maybe_produce_line_number` (according to xdisp.c:24217). IOW that
> cache always counts from BEGV, so we also need to check that BEGV is
> still the same as when the cache was filled. I also can't see in
> `decode_mode_spec` where we check that the narrowing has changed
> before using the cached value. All in all, I just don't understand
> how that cache is maintained. ]
Search in xdisp.c for "->base_line_number = 0", and you will see that
we invalidate the cache when the narrowing changes or when other
similar calamities happen.
- bug#56682: locked narrowing, (continued)
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing,
Eli Zaretskii <=
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/17
- bug#56682: locked narrowing, Stefan Monnier, 2022/08/17
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/18
- bug#56682: locked narrowing, Gregory Heytings, 2022/08/20
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/20
- bug#56682: locked narrowing, Eli Zaretskii, 2022/08/20
- bug#56682: locked narrowing, Gregory Heytings, 2022/08/20
- bug#56682: Fix the long lines font locking related slowdowns, Eli Zaretskii, 2022/08/05
- bug#56682: Fix the long lines font locking related slowdowns, Gregory Heytings, 2022/08/05