[Top][All Lists]

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

[AUCTeX-devel] generalised paren-forward-sexp

From: Lars Madsen
Subject: [AUCTeX-devel] generalised paren-forward-sexp
Date: Thu, 14 Aug 2014 09:58:29 +0000

Does anyone know about a generalized paren-forward-sexp functionality? As it is 
now there a few paren implementations where you can jump from a ( to the proper 
matching )

It would be nice with a generalized version of this for AUCTeX, that is having 
a list of pairs of delimiters, like

(,); [,]; \{,\}, \langle,\rangle; \lbrace,\rbrace etc.

then upon standing at one of these the macro could be used to jump to the 
corresponding 'end' (or start)

Having such a function would allow us to define a function that should go to 
the next start string from the list, find the corresponding end, identify any 
fence scalers, (\left,\right,\big,\Big,\bigg,\Bigg, + l,r variants) and then 
offer an interface to scale these differently.

I currently have one made, but it can only handle () and []

The function is very handly when most of your LaTeX work is editing things 
other people have written. There are many people who stil write \left/right all 
over the place.

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: / More information:

reply via email to

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