auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Moving across formulas


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

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

> Marcin Borkowski <address@hidden> writes:
>
>> On 2015-11-07, at 09:31, Julien Cubizolles <address@hidden> wrote:
>>
>>> Marcin Borkowski <address@hidden> 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.

Exactly.  Smartparens (AFAIR) can't deal with "parens" having more than
one character.

>> 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.

Yes, but what I'm talking about is (ultimately) extending AUCTeX to
support (La)TeX "delimiters".  Not every user of AUCTeX wants to use
smartparens.  Which won't help anyway. ;-)

> Julien.

Best,

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



reply via email to

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