Skip to content

vertico buffer mode slow when font size is decreased #427

Closed Answered by minad
rougier asked this question in Q&A
Discussion options

You must be logged in to vote

Investigating a little bit more, this seems to be caused by the pre-redisplay function of vertico-buffer. At least the problem goes away when I remove this hook. I have to check if I am doing something problematic there which somehow causes a recursion of the redisplay code. Ideally such pre-redisplay functions are completely avoided, but I guess I didn't find a better solution back then when I wrote this.

EDIT: Worked around the problem in 37e01c1. This is definitely a problem in the display engine, where we hit a slow path for large vscroll values.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@minad
Comment options

@minad
Comment options

Answer selected by rougier
@rougier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #426 on December 28, 2023 12:35.