Hi Jason, 2014-08-02 14:42 GMT+02:00 J. McKenzie Alexander <ja...@lse.ac.uk>: > Hello, > > I would like to prevent the fill-paragraph command from acting on lines which > include the beamer commands \pause and \onslide<…>. The first, I know, can > be done by putting > > (LaTeX-paragraph-commands-add-locally “pause”) > > in my .emacs file. But telling fill-paragraph to ignore lines with > \onslide<…> is trickier, as it seems the overlay specification which follows > \onslide prevents fill-paragraph from recognising \onslide as a paragraph > command. > > Any suggestions?
Thanks for your report! This is due to `TeX-find-macro-end-helper', which doesn't treat macros with arguments enclosed in <...>. I can only think about adding a new clause to the cond, to skip over angle brackets, but I'm not sure it is wise to always do this. Better ideas are welcome. Bye, Mosè _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex