From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: '(emacs)Init Syntax' customizable minor mode variables Date: Thu, 11 Aug 2022 05:37:57 +0200 Message-ID: <87fsi35u22.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16858"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: YE Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 11 05:38:35 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 1oLz1n-0004EU-4K for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Aug 2022 05:38:35 +0200 Original-Received: from localhost ([::1]:53594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLz1l-0003vK-9P for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 23:38:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLz1J-0003vB-4f for help-gnu-emacs@gnu.org; Wed, 10 Aug 2022 23:38:05 -0400 Original-Received: from mout.web.de ([212.227.15.14]:44747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLz1H-0001ji-H8 for help-gnu-emacs@gnu.org; Wed, 10 Aug 2022 23:38:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1660189078; bh=YweEDHDRc4op1s7S9gM6tWB2VQBJcNi4FwiyfzIiLGI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=jmunDfvKZ8MdP7YElnXF01RGTpb7hUpNOWM+zXbxyr1DHAxQXQ6OOG+07MThnm0Ko HjVBXRAtNLFaFsvjgIScwNtW0WmAO8qmHM7aTW060u7L/PoWAqNk5DQS+0qBhwdyFc FX9pdxVCB+2M1hrBLq8odXCcQsIyZcXtv3tzSfyQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.57.248.18]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MWi5s-1ntFxm32y0-00XIff; Thu, 11 Aug 2022 05:37:58 +0200 In-Reply-To: (YE's message of "Mon, 08 Aug 2022 15:38:52 +0300") X-Provags-ID: V03:K1:DvNWsiRRykazKgUobyN4ZtZWmglKJJBLbTi7T7srMdTwKAVOZNe hg4eazkmig0E/PCrB0IcOzZcS7cnOz8lI5aFVfCyXZeBFTW79lpuaOU/gkFdNQY3wPSxKmN cEf5of4nd/MdZCzOzdapF03beJ9AtUpqSccpIcdV0x081ZEvSBa7QKPzSpRJHltu4iXHpaB aNSLjPOtL8mOfPtXJDHAA== X-UI-Out-Filterresults: notjunk:1;V03:K0:BgPggP33bik=:SVGfBeVm223agtQKSKVUQU YZFJWO0r9IGX5tn8RZ0ZcHj65NphoawIJJcvprp2riZhI6l0vhgNjfDqWAz3EYo8IZ7bXPBwt BZpsLmE9Bjp79xCWMKsXczy+lo71L+wuCLfmgeWCtgbWKiCaCDuQf+p2mCHcCbOjHwuf2jGd9 iTuWeLS+yK1/RddQXopbsQZ+nm/ZXHAthf6D+JTeihFcfAuA3TweDlmNMT00D6xTvM0/04kao JasFCthazoZEiWH8taqKHpgyp91EnnQRz8gv3z27udNm++8foDdbdz/SQFi01j11TRPemDYZl wcBgZH9TkM6S9YyxyoU8FvjJ9w/PMrJMJoFmheoxHN5HwYa0wzF4/JV57x/Xr+YHvKQ1ON+gm JIHE2eLUuwJHB59VPTuTarijZanGa0cwFV9gzMhOwxDgs70KE6pVnLAh7Awu51qEyN9FmnqvB tHvsWnLgF4kcenB8uvWM5txk8j1z6JIB7YGl6SrAAwCfpA6f9gaYtH4e73MenU7tvLRgZUDtA +5ZnzBZDog2FPsyCIi05xMkGgjy5po2fM8SZiv92O3EtStEZ4HlYcqxaB+g0rpduBFTr0uuWg oSzF6KKKUXDNIFcDy9iWrAz96mCshV/QEZLQkLNcj9MFcCBjdED0T1m8nRVHNiW/O7vNJtclk 9LxPttt39bWOfP8+2XBfcamuiPG2Cz63Q5j1ElHmwP3dCO00n+c8u9y+IDwx9eIsfVQcnFUMY TNrWuxVcX/Myki2nrkjioGEHQun/sdmq2z/BedyM8SdLk0T1PEOmInzteY8e+cS2CNgkUW4O Received-SPF: pass client-ip=212.227.15.14; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:138789 Archived-At: YE writes: > Could someone provide an example(s) for the "customizable minor mode > variables" that "do special things to enable the mode"? Enabling a mode has a lot of side effects - it's no surprise that most modes can't be enabled by just setting the mode's variable. Just as adding "MODE" to the mode-line won't enable the mode. There are some special examples where setting the mode variable does suffice to turn the mode, but that's due to the kind of implementation (you can, for example, set up the mode so that it is on, more or less, all the time, but permanently watches the variable and does nothing and stays silent when the variable is nil). Michael.