help-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 02 May 2022 12:47:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Sunday,  1 May 2022 at 13:22, Stefan Monnier via Users list for the GNU 
Emacs text editor wrote:
>     M-: (funcall (cape-super-capf #'cape-dabbrev #'cape-dict #'cape-keyword)) 
> RET

It didn't do anything.

After a lot of experimentation and some discussions on the cape github
issue pages, I have determined that cape-super-capf does not work with
vanilla completion-at-point but does if you use corfu on top of it.

The settings I now have are:

  (global-corfu-mode)
  (corfu-history-mode)

and

(setq-local completion-at-point-functions
 (list
  (cape-super-capf #'cape-tex #'cape-dabbrev #'cape-dict #'cape-ispell)))

for org mode buffers only.

I have set up corfu to be invoked with TAB as I find the auto mode too
intrusive and it imposes a small but noticeable lag in my typing.

-- 
Eric S Fraga with org 9.5.3 in Emacs 29.0.50 on Debian 11.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]