Mosè Giordano <[email protected]> writes: Hi Mosè,
> I'm sending a patch to wrap dollars around active region typing `$'. > This is controlled by a new customizable variable, the default > behavior isn't changed, but I had to remove the line > (put 'TeX-insert-dollar 'delete-selection t) > from the end of `tex.el'. Any comments? Not sure if that's a valuable feature. At least, it doesn't happen very frequently that I write down some formula and forget to enclose it with $, but I don't have a strong opinion here. But I object to the 'double value. The usage of $$...$$ is discouraged in LaTeX, so we shouldn't propagate it's usage. And it's usecase is handled anyway by 1. set the region containing the formula 2. C-c C-e displaymath RET Ok, that's a bit longer than just doing 1 and then $, but really, who forgets to insert some proper math environment before starting to write a formula? Bye, Tassilo _______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
