From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: tex-mode.el Date: Thu, 11 Feb 2021 05:27:59 +0100 Message-ID: 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> <874kiji6pz.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13949"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 11 05:29:09 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 1lA3bI-0003Wj-Dd for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Feb 2021 05:29:08 +0100 Original-Received: from localhost ([::1]:47752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lA3bH-00080v-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 23:29:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lA3aF-00080U-6G for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 23:28:03 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:59589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lA3aD-0004R5-6w for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 23:28:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613017679; bh=IhPayIOwrUKdIxUpzf/CbwqlDD5AR5jq8HrD4MT9gEE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Out1Xe30HQHmviBEw6ldJa0k4E+N7sQVUs/3JDoqMpi4KZiK/RiKz/hKdaWhmjKG1 4etCO6qB+srrEvIEMEekK6kN0QQy3HUU3B/kKir8IDSLHazsNl5tKwKxAqnBMIBNwA 74r/Uv7rL7yPhqjbo5cgd2AVhP5TEtQIIM1QFriA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Thu, 11 Feb 2021 05:27:59 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <874kiji6pz.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:TPmBa3JEpxmoh0b9x8MB6vTHOGT7TNY9aUhOAo8qqlDpqYkW5KtlNA6h4V0NB2nqoOySM 2HEaQll07AU8bCAjYGAGrrFXrPt7MnuZ1/OGBNZTYk569I5vBSG5LkJ/76BVQJCqkNhuKXeuNTL3 l8UJ78CBmU7lAsbwaOqLnlGksVzxmAobb8J7eM1iBsQp79vMjYFwzCQwEwpEkAU4zwwvc//BYJ89 Ng/23P3m/Q5KTK0jRO7PBRKZRicbYq2y1cyEGJL8awiHLxVAM0wOiBZ5t7wSk+e8jwU/IXEXgshm jU= X-UI-Out-Filterresults: notjunk:1;V03:K0:rvIAfGxAKcU=:02x/IOINV4p7RDdJ4/Txg9 mZ2HPJ/D6l85UgnYfnH9hWN831cR17ardr+FW9r0a7sQ2HiCNgw4Awa3bxXD00cH+R/Mp0Lae rZA1e0wzo+IxOH/512ckZbxxGUSk5ZbNQ00Bw3mjsaY9XP5dSBViEUaXuMsIPcFlPaLekQtCc LUidTmYhEGvAd6Xa1j1K0KPs4ocqI2RudcooSzdWyMPMSrgk+VN/6LxYcr/xia2516kzeb0WC Y72+Jc425turan2z9cEebgggadFvtCSTgbacpgXsgqYu7HvcmwVlY9a8FC3bc1D7w7zf/pZ5q yn6MpgmPDoUpe4iVljApqjp2noqxmgaGK14rHLNn4zIN095AAe7xNjH0Hd7DelsLo0b9cvtZV yLVNQciS+1hQeDPuGNp/Ys3y5i6Tcvomd2jV/WKNT8xlBATkJiG0ojHGDVJ7M/BJBfw+Lzhzd MMgPVxkcZWrD979Z2GJj1Q+v0B9fHuaHxKAOMOFhQu2ikdmqnCqrAWVCgbZtkp3B/EaiDf+x0 mpedG7GhM/DipsRkKjLFIGaDqxj4i5UH3GndC2X0cIGLD10nSHPQocn8UIaKL92WmZRkpE2DA 2JMsHYFlcqp9w= Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 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:127801 Archived-At: > Sent: Thursday, February 11, 2021 at 4:11 PM > From: "Michael Heerdegen" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org > Subject: Re: tex-mode.el > > 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? I would appreciate that very much because I think that the task does requi= re some community effort. I discussed my plan with Stefan Monnier and he's a= ll for the change. > Michael. > >