Skip to content

corfu-prescient-mode doesn't add inserted candidates to prescient--history #135

Closed
@ssl19

Description

Tested with emacs -Q with those settings

(setq corfu-auto t)
(setq corfu-auto-prefix 0)
(corfu-mode +1)
(corfu-prescient-mode +1)

Currently, corfu-prescient--remember doesn't add corfu-insert candidate to prescient--history. It might be related with this line:

(advice-add 'vertico-insert :after #'vertico-prescient--remember))

After I use this hack:

(advice-add #'corfu-insert :before #'corfu-prescient--remember)

corfu-prescient--remember seems to work normally.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions