Hi Keita,

Ikumi Keita <[email protected]> writes:

> The primary awkwardness is that a user who customizes
> `TeX-insert-macro-default-style' to `mandatory-args-only' has to
> remember always whether the macro has optional argument or not when
> he/she is going to insert it. However, it's sometimes only after
> C-c C-m that he/she realizes that "Gosh, this time I need the optional
> argument." The user has to pay attention to type C-u before C-c C-m.
> That adds extra loads to the user.

Ok, I see your point.  My approach to this is a little different: I
think the "lottery" you describe should be moved outside the minibuffer
-- this was one of the main points for the in-buffer completion in
AUCTeX.  My way would be: Ok, I needed an optional argument but I missed
it, so I complete the current query and do it in the buffer later with
completion (if applicable) and don't start the whole query process.  But
that's only me.

> Ideally, AUCTeX should allow the user to toggle on the inquiry of
> optional argument even after C-c C-m was typed, in my opinion. :-)

See above; I don't argue against this, if Someoneā„¢ implements this :-)

> I'm not sure what is the best way to achieve that; maybe we can turn
> some key bind without much importance during C-c C-m procedure,
> e.g. C-SPC or C-left, to restart `TeX-parse-arguments' again.

That would be in a binding in `minibuffer-mode-map', right?

Best, Arash

Reply via email to