From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: wilnerthomas@tutanota.com
Cc: 56890@debbugs.gnu.org
Subject: bug#56890: Enabling and disabling company-mode
Date: Wed, 03 Aug 2022 07:22:37 +0200 [thread overview]
Message-ID: <m2a68lc34y.fsf@Mini.fritz.box> (raw)
In-Reply-To: <N8T_pAk--3-2@tutanota.com> (wilnerthomas@tutanota.com's message of "Tue, 2 Aug 2022 14:45:52 +0200 (CEST)")
wilnerthomas@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.
prev parent reply other threads:[~2022-08-03 5:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 12:45 bug#56890: Enabling and disabling company-mode wilnerthomas--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-03 5:22 ` Gerd Möllmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a68lc34y.fsf@Mini.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=56890@debbugs.gnu.org \
--cc=wilnerthomas@tutanota.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).