From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: global-company-mode and company-mode Date: Tue, 2 Aug 2022 14:23:45 +0300 Message-ID: <2438dd9d-6982-4b31-630f-f9a904e1e63b@yandex.ru> References: <48e6e2a9-7cb2-1899-47f7-188c49125f1b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: help-gnu-emacs@gnu.org To: wilnerthomas@tutanota.com, thibaut.verron@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 02 13:25:34 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIq1l-0009Dn-Ff for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 02 Aug 2022 13:25:33 +0200 Original-Received: from localhost ([::1]:52840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIq1k-0003s1-2D for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 02 Aug 2022 07:25:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIq0E-0003rD-I8 for help-gnu-emacs@gnu.org; Tue, 02 Aug 2022 07:23:58 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:44847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIq0C-0006bn-RY for help-gnu-emacs@gnu.org; Tue, 02 Aug 2022 07:23:58 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id q30so13076669wra.11 for ; Tue, 02 Aug 2022 04:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=vaFbUYNM6cBJuSYRq/vXGTciyuatx9EspMlz0dh6r9Q=; b=cg8lMZQXustNG8MxJUZ4dronCaaxBcSNCirL9hKHn0J1EAy964GVEnpAh9sGGF4/CX WRWiYPzdCvFKEBKpZE9AIlQi6ac8SPexPHZWAllgw401qWm7ErE37MPkFUD/OTwiyEv/ wVTgafGNomq0quvE18umqPsYgpXohBcQoL76HYuPrG4TemhhLbC14GlOD8bzQGQ7eZUb pz5DP1NbRkr3BCeHe2O/5gwwESsT3xzcfb6ri1tMkKFoKAdROtSBlr51noe/EUAT7E/I udVmfINWwknx95JzhKspJgJdiBUwgu1+542AUPoof6IKEaXUkxzVx1ieZJKKs9DNd6ml WWPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=vaFbUYNM6cBJuSYRq/vXGTciyuatx9EspMlz0dh6r9Q=; b=10UnDQy9ASqyxw7ooRRrWAdLmyb0yjw9JSDx+6WZQt4WyEs2xAzLRmg1zEh6gIROk9 EWJ4ICc0ZfLdtKzEaIE3Qrg1ZwewxEQWj5XogkRemX2bfQQSsfVCv8ILjKAHQfKW/X/9 ekatfzgdfeNYcG7jLt9Oi6KAlhs3Npze87mWN0nb8RX3RElHL985o2ldJAnrTKb5mw0p fa0koxUEBg63/bWOCm6b8hONGqQ4d5RXLZf4wnkpS+OySOhPIzCfTLgO0znz5dEDtpuX bjj0mpkn8l0eXLkHxLcZGGAL7gjm089BgRJAgg/Eq/+iN7wWnN+NV/bG4rrXBKnfHH7+ vuuw== X-Gm-Message-State: ACgBeo0T5hcGz//4VubZ8Tq6KxNm0pMayx/jA0T3orNAiO+oinqYsstg CNrjTZVc0aERANy/Sk99/tM= X-Google-Smtp-Source: AA6agR5qgb3/LytadlyIuTuRiPbF6caYLDz5qsSHuj6JLNT87LrBovOhQkJk4bu6AIsibUgyGbKLnA== X-Received: by 2002:adf:fb86:0:b0:21e:3cc8:a917 with SMTP id a6-20020adffb86000000b0021e3cc8a917mr13273386wrr.538.1659439427153; Tue, 02 Aug 2022 04:23:47 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id ba4-20020a0560001c0400b002205f0890eesm8346219wrb.77.2022.08.02.04.23.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Aug 2022 04:23:47 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=raaahh@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138742 Archived-At: On 02.08.2022 14:15, wilnerthomas--- via Users list for the GNU Emacs text editor wrote: > Right.  Is there the command (global-company-mode -1) available?  What if I want to enable global-company-mode, would I use the hook? Just 'M-x global-company-mode' in both cases. It toggles.