[Top][All Lists]

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

Re: Paredit, smartparens very slow with large latex files

From: Andreas Röhler
Subject: Re: Paredit, smartparens very slow with large latex files
Date: Fri, 20 Sep 2013 09:14:13 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Am 16.09.2013 23:14, schrieb Julien Cubizolles:
Andreas Röhler <address@hidden> writes:

Please tell the command-name tried from paredit.el.

paredit-forward takes roughly half a second to go from
\SI{10}{\meter\per\sec|ond} to \SI{10}{\meter\per\sec|ond}| in a large
buffer. It's instantaneous in *scratch*

paredit-forward makes three stops with your example

start from sec|ond

\SI{10}{\meter\per\second}| to \SI{10}{\meter\per\second}
\SI{10}{\meter\per\second} to| \SI{10}{\meter\per\second}
\SI{10}{\meter\per\second} to \SI{10}{\meter\per\second}|

Seems not suitable at all to travel large buffers that way.

As it happens created a tool for this purposes:


Checked it that way

;; fill in a number of "a" in buffer
(insert (make-string 999999 97)
;; than call ar-forward-braced-atpt from above

Get a reasonable delay as isearch-forward CHAR would have.

Command is available at

Preferably via bazaar


reply via email to

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