Skip to content

Set completion-styles via setq-local rather than by let-binding#514

Open
oantolin wants to merge 1 commit into
alphapapa:masterfrom
oantolin:fix-completion-in-rec-minibuffers
Open

Set completion-styles via setq-local rather than by let-binding#514
oantolin wants to merge 1 commit into
alphapapa:masterfrom
oantolin:fix-completion-in-rec-minibuffers

Conversation

@oantolin

@oantolin oantolin commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

When the completion-styles are bound they affect all recursive minibuffers as well, overriding the user's completion setup! Using setq-local instead ensures the org-ql completion settings are only applied for the org-ql-completing-read minibuffer.

I would have run across this problem simply because I tend to use recursive minibuffers, but this also is a problem for people who do not enable recursive minibuffers but use Embark to, say, refile a heading from org-ql-find (Embark temporarily activates recursive minibuffers).

When the completion-styles are bound they affect all recursive
minibuffers as well, overriding the user's completion setup! Using
setq-local instead ensures the org-ql completion settings are only
applied for the org-ql-completing-read minibuffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant