|
From: | John Jones |
Subject: | Re: [AUCTeX-devel] Wrap dollars around active region |
Date: | Thu, 25 Apr 2013 08:29:06 -0700 |
Mosè Giordano <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex-devel
[Prev in Thread] | Current Thread | [Next in Thread] |