GNU bug report logs - #67527
30.0.50; FR: Add an option to disable ispell completion in text-mode

Previous Next

Package: emacs;

Reported by: Eason Huang <aqua0210 <at> foxmail.com>

Date: Wed, 29 Nov 2023 10:33:02 UTC

Severity: wishlist

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eason Huang <aqua0210 <at> foxmail.com>, Eshel Yaron <me <at> eshelyaron.com>
Cc: 67527 <at> debbugs.gnu.org
Subject: bug#67527: 30.0.50; FR: Add an option to disable ispell completion in text-mode
Date: Wed, 29 Nov 2023 15:18:05 +0200
> From: Eason Huang <aqua0210 <at> foxmail.com>
> Date: Wed, 29 Nov 2023 18:31:43 +0800
> 
> Hello Emacs Dev team,
> 
> In the below commit, Emacs support ispell-completion-at-point in
> text-mode.
> 
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=47e313e9805c527e590df4270062a9185ee9db78
> 
> But it would be nice to add an option to disable this feature.
> 
> Because when I enable the autocomplete by corfu or company, it will
> always popup the candidate when I input English charectors.
> I don't want to diable the autocomplete of corfu or company, because I
> need it in org code block.
> 
> 
> Workaroud:
> 
> Recently, I have to add this code snippet to disable it.
> 
> ```
> (with-eval-after-load 'org
>   (add-hook 'text-mode-hook
>             (lambda ()
>               (remove-hook 'completion-at-point-functions 'ispell-completion-at-point t))))
> ```

Adding Eshel to this discussion.




This bug report was last modified 1 year and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.