From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: Paredit, smartparens very slow with large latex files Date: Fri, 20 Sep 2013 09:14:13 +0200 Message-ID: <523BF5C5.1040404@easy-emacs.de> References: <87ioy7vfv1.fsf@free.fr> <52309328.1050106@easy-emacs.de> <87hadpbwvh.fsf@free.fr> <5232B18F.6010907@easy-emacs.de> <874n9k8o5u.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1379661148 11317 80.91.229.3 (20 Sep 2013 07:12:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 07:12:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 09:12:32 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMutC-0002VN-SJ for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 09:12:30 +0200 Original-Received: from localhost ([::1]:54345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMutC-0005Wm-7M for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 03:12:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMusv-0005VU-Ok for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 03:12:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMusq-0003n0-4r for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 03:12:13 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:50339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMusp-0003lD-RZ for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 03:12:08 -0400 Original-Received: from purzel.sitgens (brln-4db9ce52.pool.mediaWays.net [77.185.206.82]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MSFaB-1VSb6s2TjX-00THEW; Fri, 20 Sep 2013 09:12:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <874n9k8o5u.fsf@free.fr> X-Provags-ID: V02:K0:WQ8++f1xzGdDScPCWQo0jqqP68os+fh29/3KxEwxJRA 8GKjYXzSWGTVigEobFIJBlzTPTB1+tm9kyStZQ0EFfcuP6L6qr eVURTx94P6C7fxTJjs0CSS+wJes2AN8efjAJhE9pb+Gmhgif1W LTXWnpziKKui8lcBAR2Mp0nE/Gv03vvE5rc5UaroLarNRilQuQ eP1fym7aiTFWX/ZfcNzsRZ2MdMkdCLy4ZzMw8dYKMRUY91o/Of mYfgddUtC9k0AXpFEry8tP46X9IUua6VpFqNKNgrewv85I3yns wWxH71oYat/HrkESXzjYYxCgSVF3DHiZ1eGB8UEmGH9cMiedb3 j8pbmJDbY9/wBk+0U60+qOH5r0JHIIY0A2WRxAS37 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93464 Archived-At: Am 16.09.2013 23:14, schrieb Julien Cubizolles: > Andreas Röhler 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: ar-forward-braced-atpt Checked it that way \SI{10}{\meter\per\sec|ond} ;; fill in a number of "a" in buffer (insert (make-string 999999 97) ;; than call ar-forward-braced-atpt from above \SI{10}{\meter\per\second} Get a reasonable delay as isearch-forward CHAR would have. Command is available at https://launchpad.net/s-x-emacs-werkstatt/ Preferably via bazaar lp:s-x-emacs-werkstatt