Hi Santiago,

On Mon, Sep 17, 2018 at 4:33 AM Santiago Mejia <santiagomej...@gmail.com> wrote:
>
> I've been trying to find information about this in the manual and online, but 
> have not had any luck so far.
>
> My general question: is there a way to get AUCTeX to always prompt me for an 
> optional argument of a specific command when I invoke it with 
> TeX-insert-macro (i.e. C-c )? (like it does when you invoke, for instance, 
> \newcommand)
>
> My specific question: is there a way to get Auctex to prompt me automatically 
> for an optional overlay specification when I invoke the \alert command with 
> TeX-insert-macro (i.e. C-c "alert")?

You have to manually patch the file style/beamer.el in your AUCTeX
installation.  Replace the line

    '("alert" 1)

with

    '("alert" TeX-arg-beamer-overlay-spec 1)

Remember to byte-recompile the file with M-x byte-recompile-file RET RET.

Bye,
Mosè

_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to