auctex-devel
[Top][All Lists]

## Re: [AUCTeX-devel] Moving across formulas

 From: Marcin Borkowski Subject: Re: [AUCTeX-devel] Moving across formulas Date: Sat, 07 Nov 2015 10:41:20 +0100 User-agent: mu4e 0.9.15; emacs 25.0.50.1

On 2015-11-07, at 09:31, Julien Cubizolles <address@hidden> wrote:

>
>> Hi all,
>>
>> I'm slowly (very slowly, I have a lot of other things to do now...)
>> working on my AUCTeX enhancements.  One thing I'd like to have is to be
>> able to move to the end (or beginning) of a formula.  I.e., in one of
>> these situations:
>>
>> -!-$...$
>> -!-$$...$$
>> -!-$...$
>>
>> I want to be able to get to one of these:
>>
>> $...$-!-
>> $$...$$-!-
>> $...$-!-
>>
>> It's hard to believe for me that AUCTeX doesn't support something like
>> this, but I couldn't find it.  Any hints?
>
> sp-forward-sexp from smartparens does it out of the box.

Thanks, but as I have written some time ago, "smartparens" is not smart
enough to deal with (La)TeX parens anyway.  (And I'm curious whether it
handles other strange cases I wrote about, like
$\bigl( ... \bigr\rangle$
etc.)  Also, introducing a dependency on smartparens into AUCTeX might
not be the best idea.

> Julien.

Best,

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science