auctex-devel
[Top][All Lists]
Advanced

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

Re: Updating xparse.el


From: Arash Esbati
Subject: Re: Updating xparse.el
Date: Sun, 28 Jun 2020 22:59:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi Florent,

Florent Rougon <f.rougon@free.fr> writes:

> If my opinion matters and the feature doesn't already exist: IMHO, it
> would be useful *not* to fontify the code-containing arguments of
> \newcommand, \NewDocumentCommand, \NewDocumentEnvironment, \NewEnviron
> (from the environ package), etc. I say this because I find that having
> all of a command's code in the same color isn't helpful at all. If not
> the default, it would be useful to have an option to do so.

thanks for your comment.  I've heard that most people hacking on .dtx
files simply turn off fontification as it might be too distracting.

> I've implemented this behavior using a few hacks in my .emacs.el and
> style files in ~/.emacs.d/auctex/style/, but I believe other users who
> routinely work on macros would greatly appreciate this.

I don't think it is a big deal to provide a custom variable, say,
`font-latex-fontify-code-arguments' and then apply a conditional to the
style files in the fontification section.

What do others think?  Any idea for a better variable name?

Best, Arash



reply via email to

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