GNU bug report logs - #56890
Enabling and disabling company-mode

Previous Next

Package: emacs;

Reported by: wilnerthomas <at> tutanota.com

Date: Tue, 2 Aug 2022 15:05:05 UTC

Severity: normal

Fixed in version 29.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56890 in the body.
You can then email your comments to 56890 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56890; Package emacs. (Tue, 02 Aug 2022 15:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to wilnerthomas <at> tutanota.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 02 Aug 2022 15:05:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: wilnerthomas <at> tutanota.com
To: Bug Gnu Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Enabling and disabling company-mode
Date: Tue, 2 Aug 2022 14:45:52 +0200 (CEST)
[Message part 1 (text/plain, inline)]
I want to have the ability in enable and disable company-mode at will.  But I am getting confused wint the use of company-mode and global-company-mode.

To enable I use

(add-hook 'after-init-hook 'global-company-mode)

But then, how do I disable, and then enable global-company-mode again?

What does (company-mode 1) actually do?




[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56890; Package emacs. (Wed, 03 Aug 2022 05:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 56890 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: wilnerthomas <at> tutanota.com
Cc: 56890 <at> debbugs.gnu.org
Subject: Re: bug#56890: Enabling and disabling company-mode
Date: Wed, 03 Aug 2022 07:22:37 +0200
wilnerthomas <at> tutanota.com writes:

> I want to have the ability in enable and disable company-mode at will.  But I am getting confused wint the use of company-mode and
> global-company-mode.
>
> To enable I use
>
> (add-hook 'after-init-hook 'global-company-mode)
>
> But then, how do I disable, and then enable global-company-mode again?
>
> What does (company-mode 1) actually do?

Use M-x global-company-mode RET for toggling.  You can use C-h f to see
the documentation of functions.

Please use gnu-emacs-help for help requests.

Closing.




bug marked as fixed in version 29.1, send any further explanations to 56890 <at> debbugs.gnu.org and wilnerthomas <at> tutanota.com Request was from Gerd Möllmann <gerd.moellmann <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 03 Aug 2022 05:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 Aug 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 295 days ago.

Previous Next


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