Re: [AUCTeX] TeX-insert-macro-default-style not applied?

2018-11-13 Thread Arash Esbati
Arash Esbati writes: > I'm not sure if I can give it a roll in near future, but I will add it > to my todo list. Following up myself, I had a look at this and it seems a little harder than I thought. At the end, I had to carve out some code from `TeX-parse-arguments' and write a macro in order

Re: [AUCTeX] TeX-insert-macro-default-style not applied?

2018-10-28 Thread Arash Esbati
Mosè Giordano writes: > On Sat, Oct 27, 2018 at 5:03 PM Manuel Wiesinger wrote: >> >> Hi all, >> >> When I set TeX-insert-macro-default-style to mandatory-args-only, >> C- still asks me for optional arguments. >> >> E.g. when entering \textcolor, AUCTeX asks for the optional color model >>

Re: [AUCTeX] TeX-insert-macro-default-style not applied?

2018-10-28 Thread Mosè Giordano
Hi Manuel, On Sat, Oct 27, 2018 at 5:03 PM Manuel Wiesinger wrote: > > Hi all, > > When I set TeX-insert-macro-default-style to mandatory-args-only, > C- still asks me for optional arguments. > > E.g. when entering \textcolor, AUCTeX asks for the optional color model > argument and inserts

[AUCTeX] TeX-insert-macro-default-style not applied?

2018-10-27 Thread Manuel Wiesinger
Hi all, When I set TeX-insert-macro-default-style to mandatory-args-only, C- still asks me for optional arguments. E.g. when entering \textcolor, AUCTeX asks for the optional color model argument and inserts \textcolor[some_model]{some_color}{some_text}. With TeX-insert-macro-default-style set