Marcin Borkowski <[email protected]> writes:

> On 2015-11-07, at 09:31, Julien Cubizolles <[email protected]> wrote:
>
>> Marcin Borkowski <[email protected]> writes:
>>
>>> 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 $

never tried this one, but I wouldn't be surprised if smartparens failed
in this case.

> etc.)  Also, introducing a dependency on smartparens into AUCTeX might
> not be the best idea.

I was not suggesting it should be a dependency, just wanted to point
that, smartparens + AucteX is a working combination for my use.

Julien.

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

Reply via email to