Hi all, what do you think about the attached patch? It defines a new variable with the name of the default environment when the current one is `document', without changing the value of `LaTeX-default-environment' following Mads' advice. I believe it's really useful when using classes like beamer, in which one has to insert many times the same "outermost" (I hope this adjective is clear enough) environment.
Bye, Mosè 2013/4/19 Mosè Giordano <giordano.m...@libero.it>: > Hi all, > > the default environment in AUCTeX is `itemize', but using some classes > it can be useful to change its value to a more often used > environment. For example, I suggest to set `frame' as default > environment for the `beamer' class, `letter' for the `letter' class, > and `slide' for the `slides' class. Any comments? > > Bye, > Mosè
latex-outermost-environment.patch
Description: Binary data
_______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel