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: tex-mode.el Date: Thu, 11 Feb 2021 05:11:36 +0100 Message-ID: <874kiji6pz.fsf@web.de> References: <878s7xkvgi.fsf@zoho.eu> <87im71jeew.fsf@zoho.eu> <20210209201315.GD30277@tuxteam.de> <20210209204537.GE30277@tuxteam.de> <877dngtw7l.fsf@web.de> <87a6sbxob4.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22699"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 11 05:12:21 2021 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 1lA3L2-0005mH-4v for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Feb 2021 05:12:20 +0100 Original-Received: from localhost ([::1]:42340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lA3L1-0004gG-7Q for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 23:12:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lA3KQ-0004g7-AP for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 23:11:42 -0500 Original-Received: from mout.web.de ([212.227.15.14]:36091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lA3KO-0003aO-KH for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 23:11:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1613016697; bh=JiGDM0MAYRTfjIGu5F2LATvcfurlD/CTj6oQDrx/0GI=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=KdgJYgeaffamiPV3QLCDQKIajJ/OdWJGR/JyiA1TvtfvrBGYdWZWyHHgNohHPSiBI LKnp6NgAG+UzsiZAF0kZ8pdaisTUXYSVxI89FF9CfOjIHjcR13cgOp645XDPi0KtU6 7yJlb0iM6ESZ9Q4iEwcyM7SqISZGPjwGnlBX4UNQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.220.60]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MX0q4-1lMCNh03Ua-00VvMT; Thu, 11 Feb 2021 05:11:37 +0100 In-Reply-To: (Christopher Dimech's message of "Thu, 11 Feb 2021 05:01:08 +0100") X-Provags-ID: V03:K1:VzuHR+kQvLl6EscD7DmHyMTwR4NpuevgOTyhtkcBzZwzNw1ZciM T4PIYFJjtFmSH3hGyKEFI+0YQH/Iwnd7pqdLgjaYdQMqO+1e6Wr805guuFhks4fWVGn0vkg M7tX0mJCOcT9UU5WisCbPTFYdku/radnCgTfFSW5n10tuBw7T4KnRlcDxwktSGaXpBSFsMI mGkh8ewEK7gvKUrYDs4Wg== X-UI-Out-Filterresults: notjunk:1;V03:K0:sbiFFGfCxEc=:pleGXL7ZxsYGEjMIEgTUy2 YaJysc0m/edhnbKKiZPcZB/qravProlO+Z6OwXQ+StzJxe+5erzrDoNIlhD4xHzpCNF9+2oxZ Ux5qaS/UKXCDBRDt51fUn1zmn6VNari0/YXaBITUXCJ4NaitR5vtn5H5mQr3ZB/riBTIAsG3Y b3ZqbIxk5mb+yjWTx84BSxDVsTiNZqMBGj20pcViorTCTJlmbHtEtsBZHB6dwWd/Knrw7VgLT 9url8hGpadLE3XOmg5SsMK63jXNgGhWbBDMSuCpuDoM/66n4cPd/c5RTWq6yOuF4Gb7HkRTSw xRhiEwvbqOAuEFOQwm16PGL5MKiHq0vShLKTQyDHytFQjgnOgOtJX0POJlcBmYGjjsJ46kvwl CMAnA9p3GJ8cRhRbQkhY4v/iDr1yzkX1gfmYTVw31irdHC8HxDyG4pEzpKSixschrdIdOULn4 rUM5IviVqY14rPNGl97OPSkZSmHn3pNngQ79tqvZDUkp+AZykCfkccPEobg6a0ifxI2bFxGIu zpLugrwDVpMk2AP77YM37SRc7r4OIaYenQuyxyAFECWYIv1p/4gf1ysL/4oTWCL0c79mvWLjh xQnTRQPPzHMJMmNovAgtKA59UbhiS0k1QzxrZYb17o5cBYxbGpD5xxYZxNsMQ9kxqqB+ohFW8 FyRb68dtM4z15MkeIrX8orA1sSSu8MX0YWfX5I76l6DR4NddKth5btQ6QeHBVDbC9hZ//1cao Y6SM70tkKpXUlCPkKKu3hyAJp6p+XPI3qkjKg6osk6PLpBuS7+aYvqE36zS29d0HfWTICK8A 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:127800 Archived-At: Christopher Dimech writes: > When I used "tex-mode.el", the suscript fontification can be disabled > using the following function. But does not work with my minor-mode. > > (defun supinf-disable () > (interactive) > (setq-local tex-fontify-script nil) > (font-lock-flush)) I would M-x trace-function to check if `supinf-disable-cruc' (enter the name at the prompt) is called when you disable. It should be. And the function seems to do the job. > I am trying to have two functions, one to enable, another > to disable. Enabling is also creating me problems to set up. > The code in tex-mode.el is in quite a mess and surely does not > help a lot. It's no simple stuff. I'll try to have another look tomorrow when I get the time - or do you have any concrete questions? Michael.