Arash Esbati esb...@gmx.de writes:
Thanks for your response. I saw your patch in git and may I suggest
to extend it to:
;; Ditto for environments with optional args
(mapc (lambda (entry)
(add-to-list 'LaTeX-auto-environment
(list (nth 0 entry)
Arash Esbati esb...@gmx.de writes:
Tassilo Horn t...@gnu.org writes:
Hi Tassilo,
I've applied all three PATCHES.
Thank you very much for applying them. Unfortunately, I made a
mistake here and this particular patch lacks a feature: It doesn't
care about the optional argument. And I
Tassilo Horn t...@gnu.org writes:
So indeed, if the \newenvironment has a second bracket-argument, and
thus the first argument is optional, no arguments are considered at all.
I've just fixed that in git. Now
\newenvironment{colorenv}[2][red]{\color{#1}#2}{}
results in (colorenv 1)
Tassilo Horn t...@gnu.org writes:
Hi Tassilo,
I've applied all three PATCHES.
Thank you very much for applying them. Unfortunately, I made a mistake
here and this particular patch lacks a feature: It doesn't care about
the optional argument. And I can't see that AUCTeX cares about
opt.
Hi Arash,
I've applied all three PATCHES.
As everytime, thanks a lot!
Tassilo
___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
Hi all,
this patch adds support for parsing new env's defined with
`\lstnewenvironment' to `listings.el'.
Any comments welcome. Best, Arash
From 204cd23c06b73b6fc1f1a1f372027e8509f8022e Mon Sep 17 00:00:00 2001
From: Arash Esbati esb...@gmx.de
Date: Sat, 16 May 2015 18:13:06 +0200
Subject: