Re: Disable auto-completion when visiting GPG files

aitor <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <aaVB05cb8S29Oe4y@sipc87>
On Fri, Feb 27, 2026 at 01:37:17PM +0100, Michael Heerdegen via Users list for the GNU Emacs text editor wrote:

> > Thanks everybody for the help. However, I'm still unsure on how to
> > proceed in order to disable auto-completion (company-mode) when visiting
> > ".gpg" files. Any ideas?
> 
> I don't use company-mode, but the machine behind auto encryption, epa,
> provides the function `epa-file-name-p' as a test for whether a certain
> file will be handled by it.
> 
> Is company-mode a global or a buffer-local mode?

global (I have `(global-company-mode)` in my .init.el)

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.