disable dabbrev in certain modes? #542
Replies: 3 comments 1 reply
-
Is |
Beta Was this translation helpful? Give feedback.
-
no it's not. in a lisp prog mode, (cape-elisp-block
cape-file
tags-completion-at-point-function) while in org mode (where i want to disable dabbrev) it is: (pcomplete-completions-at-point
t
ispell-completion-at-point) but i still have auto complete being triggered with dabbrev results while i write. |
Beta Was this translation helpful? Give feedback.
-
thanks for the details. i'm aware my past use of company is adding to my confusion. you are correct that it is ispell completions that i'm getting. it's not to do with org, but text-mode, which now adds ispell completion by default, with no user option. this is my issue: https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-11/msg01638.html. my workaround: (use-package corfu
:bind (:map corfu-map
(("<tab>" . corfu-expand))) ;; max common substr
:hook (text-mode .
(lambda ()
(setq-local corfu-auto nil))) thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
i'm using corfu (and cape) with a very basic config lifted from the recommendations in the docs.
i would like to exclude dabbrev suggestions from appearing automatically as i write in text/org modes. i'm happy with having it available with its usual
M-/
andC-M-/
bindings.how do i go about achieving that? with company i used to remove it from the backends as needed.
my config:
Beta Was this translation helpful? Give feedback.
All reactions