Ahhhh.... so refreshing to have this working now!  Thanks so much for the
tip Mose.  It took me a while to implement it since I am not too fluent
with the file system in AuCTeX and needed to figure out where to find the
file ("sudo find / -iname "beamer.el").   Fixing this was easier than I
expected, but I could not anticipate when I got your e-mail in what was a
pretty busy week.

If you (or anyone else in the list) happens to have time, I would
appreciate knowing how can one know in a more general fashion what controls
whether AUCTeX prompts for optional arguments or not.

Santiago.

On Mon, Sep 17, 2018 at 7:35 PM Mosè Giordano <[email protected]> wrote:

> Hi Santiago,
>
> On Mon, Sep 17, 2018 at 4:33 AM Santiago Mejia <[email protected]>
> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to