[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Wrap dollars around active region
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] Wrap dollars around active region |
Date: |
Mon, 3 Jun 2013 00:22:30 +0200 |
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 <address@hidden>:
> Hi all,
>
> I've chosen the last version, with `TeX-electric-dollar' boolean. I'm
> going to push the commit.
>
> Bye,
> Mosè
tex-insert-dollar.patch
Description: Binary data
- Re: [AUCTeX-devel] Wrap dollars around active region,
Mosè Giordano <=
- Re: [AUCTeX-devel] Wrap dollars around active region, Tassilo Horn, 2013/06/03
- Re: [AUCTeX-devel] Wrap dollars around active region, Mosè Giordano, 2013/06/03
- Re: [AUCTeX-devel] Wrap dollars around active region, Tassilo Horn, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Florêncio Neves, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Tassilo Horn, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Florêncio Neves, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Mosè Giordano, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Mosè Giordano, 2013/06/04
- Re: [AUCTeX-devel] Wrap dollars around active region, Tassilo Horn, 2013/06/05
- Re: [AUCTeX-devel] Wrap dollars around active region, Mosè Giordano, 2013/06/05