[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caching where-is-internal
From: |
Daniel Mendler |
Subject: |
Re: Caching where-is-internal |
Date: |
Mon, 24 May 2021 22:45:14 +0200 |
On 5/24/21 10:33 PM, Stefan Monnier wrote:
>> This makes sense. Thanks. Then we have to figure out why this spurious
>> cache flush happens.
>
> The cache checks that the set of active keymaps is the same as
> last time `where-is-internal` was called.
> So if the set of active keymaps is different, the cache will be flushed.
>
> Otherwise, the cache is also flushed by `set-keymap-parent` and
> `define-key` (search for `where_is_cache` in src/keymap.c for details).
Thanks. But it seems I cannot reproduce the problem anymore in
Selectrum. Maybe this was due to some temporary buffers used by
Selectrum back then, which have been removed for good now. Maybe this
has fixed this caching issue. My Vertico UI also does not have the
issue. I removed the binding cache from Marginalia.
Daniel
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, (continued)
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/23
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Daniel Mendler, 2021/05/24
- Caching where-is-internal (was: (icomplete-vertical-mode): Add support for affixations and, annotations), Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal (was: (icomplete-vertical-mode): Add support for affixations and, annotations), Daniel Mendler, 2021/05/24
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal, Daniel Mendler, 2021/05/24
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: Caching where-is-internal,
Daniel Mendler <=
- Re: Caching where-is-internal, Stefan Monnier, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/24
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Juri Linkov, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/05/25
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Dmitry Gutov, 2021/05/25