Le 16/12/16 à 15h09, Mosè Giordano a écrit : >> Regexp? Sigh... why life is to complicated?! ;) > > I don't know why it was conceived as a regexp rather than as a list of > environment names (a regexp can be then built automatically).
Good news! :) >> Anyway, I couldn't find any reference concerning >> `LaTeX-document-regexp'. Any pointer? > > There are a number of AUCTeX's features hidden in the source code, > this increases the pleasure of discovering new features every day ;-) I don't like speleology 'cause I'm claustrophobic :) > Jokes apart, > > (setq LaTeX-document-regexp "document\\|foo") > > and you're done. Indeed, thanks! But what's the point with `\\|foo'? AFAICS: ┌──── │ (setq LaTeX-document-regexp "myenv") └──── does the trick as well. -- Denis _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
