Hi all,

I've changed my mind.  The attached patch changes the type of
`TeX-electric-dollar': from boolean to cons cell.  The car is the
string to insert before the active region and the cdr is the string to
insert after the region.   Built-in values are '("$" . "$") and
'("\\(" . "\\)"), in addition to `nil'.  This patch makes
`TeX-electric-dollar' much more flexible but *breaks compatibility* if
one has customized the variable.  Just the same for
`TeX-math-close-single-dollar', same change and same breaking.  Many
people use \(\) for inline equations, this change would be helpful to
them. Objections against installing this incompatible patch?  Sorry
for the inconvenience, ideas come to my mind randomly :-(

Bye,
Mosè

2013/5/8 Mosè Giordano <[email protected]>:
> Hi all,
>
> I've chosen the last version, with `TeX-electric-dollar' boolean.  I'm
> going to push the commit.
>
> Bye,
> Mosè

Attachment: tex-insert-dollar.patch
Description: Binary data

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to