auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] About commonly used and "expert" macros/environments


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] About commonly used and "expert" macros/environments
Date: Sat, 09 Nov 2013 18:50:54 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

> If a user sets `TeX-complete-expert-commands' to nil, the expert
> macros are not used in autocompletion of `TeX-insert-macro' but if
> they are inserted the arguments of that macro are prompted as usual,
> is it correct?

Yes.

>> The only thing that I haven't managed to implement until now is a way
>> to _temporary_ enable expert commands for one single completion,
>> because prefix args are already used differently by
>> `TeX-insert-macro' and `LaTeX-environment'.
>
> How about a function to toggle the value of
> `TeX-complete-expert-commands' between t and nil?

Rather between t and whatever it has been before.

> The only problem I see is with the key binding, if we want it, because
> there are few C-c C-<letter> combinations still free (probably only
> `a', `u', and `z').

Hm, I don't know.  I'd prefer not to have a separate command.  Maybe we
can use single, double, triple prefix (query only mandatory args / also
expert commands / expert commands + only query for mandatory args)...

Bye,
Tassilo



reply via email to

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