* David Kastrup (2008-05-02) writes: > Hi, when we are inserting verbatim material inside of a beamer frame > environment, then the frame environment needs to have "fragile" as an > option in its optional parameter list. > > Could something like that be done automagically?
We could add a hook to be run at the end of `LaTeX-insert-environment'. Then beamer.el could add a function to the hook which determines the current environment with `LaTeX-current-environment', check for the optional argument if it is a frame environment and add it if not present. Such a hook would also allow us to implement the insertion of comment starters for macrocode environments more elegantly. We should probably pass the name of the environment just inserted as well as start and end positions of it to the hook functions. -- Ralf _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
