help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tex-mode.el


From: Christopher Dimech
Subject: Re: tex-mode.el
Date: Thu, 11 Feb 2021 05:27:59 +0100

> Sent: Thursday, February 11, 2021 at 4:11 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: tex-mode.el
>
> Christopher Dimech <dimech@gmx.com> 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 require
some community effort.  I discussed my plan with Stefan Monnier and he's all
for the change.

> Michael.
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]