auctex-devel
[Top][All Lists]
Advanced

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

Re: Extending env definitions or introducing new ones?


From: Ikumi Keita
Subject: Re: Extending env definitions or introducing new ones?
Date: Tue, 08 Nov 2022 16:28:15 +0900

Hi Arash,

>>>>> Arash Esbati <arash@gnu.org> writes:
> Hmm, I'm not sure about your suggestion with `LaTeX--env-foo'.  The main
> reason is that I'm looking for a simple solution which I can add to
> `LaTeX-completion-parse-args' here[1].  The code currently does:

>   (when (and (eq mac-or-env 'env)
>              (eq (car arg-list) #'LaTeX-env-args))
>     (pop arg-list))

> I'd prefer a solution with a single function name where I can do:

>    (when (and (eq mac-or-env 'env)
>               (memq (car arg-list) '(LaTeX-env-args
>                                      LaTeX-env-label-args
>                                      ...)))
>      (pop arg-list))

> where I gobble one element from the list and then proceed.  Does this
> make sense?

I see, then I don't adhere to my proposal. I think it is best to do it
in a way that is easy for you. ;-)

Cheers,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine




reply via email to

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