|Subject:||Re: \frametitle macro is not automatically indented in frame environment in beamer|
|Date:||Wed, 25 Aug 2021 10:50:31 -0400|
On 25 Aug 2021, at 10:45, Thibaut Verron wrote:
No worries, thank you for clarification.
auto-fill-functionas an argument (while in AUXTeX mode), and I got its value as nil.
Okay, then it looks like a new behavior indeed. It appears that the \frametitle command was never actually indented, but rather auto-filled, which had the side effect of indenting it. Now auctex checks whether the user actually wants to auto-fill before doing so.
I would say that it is a bug and that indentation should be considered (or done) regardless of auto-filling.
Modifying the behavior in your configuration is a bit awkward, because (afaik) you have to copy the whole (TeX-add-style-hook "beamer" ...) form from <auctex installation folder>/style/beamer.el, and make the change. If you want to go that route, adding (indent-according-to-mode) before the lines saying ";; This works because \frametitle is a paragraph command." should work (untested).
Thank you for figuring it out. I am relatively new to this space and don't feel comfortable to change the source code. Do you know if I should report it as a bug or having it in this mail list is sufficient.
|[Prev in Thread]||Current Thread||[Next in Thread]|