[Top][All Lists]

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

[AUCTeX-devel] Updating minted.el

From: Arash Esbati
Subject: [AUCTeX-devel] Updating minted.el
Date: Tue, 29 Nov 2016 15:13:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1

Hi all,

Please find attached a patch against minted.el to update the style to
package version 2.4.1.

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?  It can be cured
easily be setting the variable `LaTeX-minted-language-list' at the of
the first run.

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

Any comments welcome.

Best, Arash

Attachment: minted.el.diff
Description: Text Data

Attachment: minted.el
Description: application/emacs-lisp

reply via email to

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