From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Paredit, smartparens very slow with large latex files Date: Wed, 11 Sep 2013 09:38:14 -0400 Message-ID: References: <87ioy7vfv1.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1378906764 6428 80.91.229.3 (11 Sep 2013 13:39:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2013 13:39:24 +0000 (UTC) Cc: emacs To: Julien Cubizolles Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 11 15:39:25 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 1VJkdf-0003CA-Mh for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Sep 2013 15:39:23 +0200 Original-Received: from localhost ([::1]:35979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJkdf-0006mV-9Q for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Sep 2013 09:39:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJkdH-0006Wz-Jv for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 09:39:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJkdC-0002Yi-RK for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 09:38:59 -0400 Original-Received: from mail-vb0-x233.google.com ([2607:f8b0:400c:c02::233]:53695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJkdC-0002Ye-Lp for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 09:38:54 -0400 Original-Received: by mail-vb0-f51.google.com with SMTP id x16so6215445vbf.10 for ; Wed, 11 Sep 2013 06:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=brWSozuhQ3DhJmnCZQTMxUkUiSv0KwwxK5o2vwmJplA=; b=nZiWIqyFC+rnbieo5thx0uv8JBhVtG0vzXAWkhoClRPssNumNJ7gmvyeqBoRnSVojG fEBPfot7u3HheRtezrebuNmTEuoPXB2Jfe2V8Zkg8jGTYBzUz4MLtiH+gc02CQu0aLc4 RXU9hEDpNlhicJh4dPqmU8OTucKEnc+fWEssUq7YGmEqrPkuZ7PttJ3T0fAfc4RByd5z 58x6p2ZyxH9O1J7PgrBPaFqIG/GrmN49JoQ5x8k2Rg9bmtSid2zSXZzFQRT7gE5WUvfN O0PZT+h6k5/LYOpoKATyHAEK0Sjm9cvPPOGAWV0GXyAhVt3k9CAeCqMtCUbfPjogsGHx uywA== X-Received: by 10.52.163.234 with SMTP id yl10mr25735vdb.47.1378906734219; Wed, 11 Sep 2013 06:38:54 -0700 (PDT) Original-Received: by 10.221.54.129 with HTTP; Wed, 11 Sep 2013 06:38:14 -0700 (PDT) In-Reply-To: <87ioy7vfv1.fsf@free.fr> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c02::233 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:93329 Archived-At: I've been told several times that any slow-down in emacs based on the size of the buffer that is below `large-file-warning-threshold` should be considered a bug. If Fundamental mode doesn't exhibit the problem, I'd file a bug report with the maintainers of the package. On Wed, Sep 11, 2013 at 5:59 AM, Julien Cubizolles wrote: > All the minor modes I've tried to navigate through sexps are very slow > when working with large latex files (>1000 lines). For example > sp-forward-sexp takes several seconds to do the following: > \(|\) -> \(\)| whereas it's instantaneous in a small buffer. Is there a > way to improve things ? I tried folding parts of the buffer but it > doesn't help since the folded part is still parsed. > > Julien. > >