auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Feature request/discussion for beamer


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Feature request/discussion for beamer
Date: Fri, 02 May 2008 17:10:34 +0200

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]