[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merging results from completion-at-point-functions
From: |
Eric S Fraga |
Subject: |
Re: merging results from completion-at-point-functions |
Date: |
Sun, 01 May 2022 17:29:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
On Friday, 29 Apr 2022 at 16:52, Stefan Monnier via Users list for the GNU
Emacs text editor wrote:
>>> (setq-local completion-at-point-functions
>>> (list (cape-super-capf #'cape-dabbrev #'cape-dict #'cape-keyword)))
>
> Note that this sets up these CAPF functions only for the buffer that's
> current when the code is executed, so if you put it into your .emacs
> it's probably going to affect completions in *scratch* only.
Yes, that's clear. Thank you.
I am setting the variable in the right place to have
it set for the buffer I am writing in. But it just doesn't do anything
when I try to complete.
To check, if I use
(setq-local completion-at-point-functions (list #'cape-dabbrev))
instead of the expression above, that particular capf does get invoked.
--
Eric S Fraga with org 9.5.3 in Emacs 29.0.50 on Debian 11.3
- Re: merging results from completion-at-point-functions,
Eric S Fraga <=