Re: Disable auto-completion when visiting GPG files

aitor <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <aaWlllvaQbnbR9RZ@sipc87>
On Mon, Mar 02, 2026 at 02:31:32PM +0100, Michael Heerdegen via Users list for the GNU Emacs text editor wrote:

> I installed it from Elpa to have a look.  That global mode enables
> company-mode on a per buffer basis by calling `company-mode-on'.
> Unfortunately this mechanic doesn't fit your use case: the configuration
> variable `company-global-modes' probably can't be used here AFAIU.

Thank you for your help! For the record, I ended up switching from
Company to Corfu for auto-completion, and setting `global-corfu-modes`
to '((not auto-encryption-mode))'.

It works!

best,

aitor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.