[Top][All Lists]

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

Re: [AUCTeX-devel] Updating minted.el

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] Updating minted.el
Date: Tue, 20 Dec 2016 12:18:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Arash Esbati <address@hidden> writes:

Hi Arash,

> I have a question reg. the function `LaTeX-minted-language-list': The
> style defines also the variable `LaTeX-minted-language-list' and looks
> if it is non-nil in the function, but the variable does not get set
> anywhere, so it is permanently nil.  This way, the function
> `LaTeX-minted-language-list' is executed every time a minted language is
> queried with shell-command-temp-buffer-re-search which shows a very
> small slow down for me.  Is this the intended behavior?

Nope, obviously not.

> It can be cured easily be setting the variable
> `LaTeX-minted-language-list' at the of the first run.

That has been my intent.

> I've also added a similar function `LaTeX-minted-style-list' for the
> styles, but found another anomaly (see FIXME comment in
> `LaTeX-minted-key-val-options').

Hm, the anomaly sounds strange.  Anyhow, your patch looks very good, so
feel free to commit it as is.  I'll try to reproduce that issue then an
see if there can be something done.


reply via email to

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