Mosè Giordano <[email protected]> writes:

>> I don't know, but maybe it would be better to have an explicit,
>> buffer-local alist (TeX-insert-braces-alist?) of macros that either
>> require braces or must not have braces.  Example:
>>
>>   '(("toprule" . nil)  ;; there must not be {}
>>     ("foobar"  . t))   ;; there must be {}
>>
>> Then `TeX-parse-macro' could check this alist first before using the
>> standard heuristics.
>
> I agree again.  See the refreshed `booktabs.patch'.
>
>> Maybe a good idea was to add another possible value
>> `show-all-optional-args' to `TeX-insert-macro-default-style' which
>> would always query for all optional args, regardless the value of
>> `last-optional-rejected'.
>
> Ok, the patch `show-all-optional-args.patch' should do that.

Both look fine to me, just go ahead and push them.  Thanks!

Bye,
Tassilo

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to