auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Wrap dollars around active region


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] Wrap dollars around active region
Date: Tue, 04 Jun 2013 20:16:23 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Florêncio Neves <address@hidden> writes:

> A slightly unrelated comment: currently the dollar sign does not play
> well with electric-pair-mode.  Only if you bind $ to
> self-insert-command will it insert a pair of dollar signs and place
> the point between them.  This might be the right time to fix that...

Sorry, but `electric-pair-mode' and the feature Mosè and I are talking
about exclude each other.  AUCTeX binds $ to `TeX-insert-dollar' in tex
buffers which implements a special behavior, and as you've already found
out, `electric-pair-mode' needs $ bound to `self-insert-command'.

Bye,
Tassilo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]