From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vilibald Wanca Newsgroups: gmane.emacs.help Subject: Re: Paredit, smartparens very slow with large latex files Date: Wed, 11 Sep 2013 12:08:12 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1378894111 18280 80.91.229.3 (11 Sep 2013 10:08:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2013 10:08:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 11 12:08:34 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 1VJhLc-0005im-M3 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Sep 2013 12:08:32 +0200 Original-Received: from localhost ([::1]:34820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJhLc-0007Q6-6k for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Sep 2013 06:08:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJhLM-0007Ot-Bp for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 06:08:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJhLJ-0004Ve-TR for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 06:08:16 -0400 Original-Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:44497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJhLJ-0004VU-M3 for help-gnu-emacs@gnu.org; Wed, 11 Sep 2013 06:08:13 -0400 Original-Received: by mail-pd0-f177.google.com with SMTP id y10so8969163pdj.22 for ; Wed, 11 Sep 2013 03:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EaYVfjOXCglLrBgMqWxvuoG2ozPjtgJ2PzFQcaNp94A=; b=MAmf2AkmYdNXTNxnLWSCyArqH4LqVaSgk+rMd+Fn5RA4kG7JllsZMhvIGEiAhcKK0N xCpewCyr/MLAkMZS5deItZsAM9Mqr5Y8iYZ7B3bvcX5TnYJXrNRJUxXWz6HSsXbz7UYz ZOHSueh5iRByqmUUqB7u0jI82SWr441peBJ+ejBojlE3etZO7aHB7Oa632o+t3ZC53Rx rviRtqx7PWtSdmDw+rEvHtkXAmgbMXlG06Ok/PHcYIVZ0bX8ns75zgtO03mm5X9aZJay xY26fspTp6tueCZljOhc8ZMnHEc3011jmb0BQGOE8eNQmv1Rbor07zZq1ZhwQuLkjkLP PIyQ== X-Received: by 10.66.156.199 with SMTP id wg7mr2611174pab.81.1378894092079; Wed, 11 Sep 2013 03:08:12 -0700 (PDT) Original-Received: by 10.68.15.70 with HTTP; Wed, 11 Sep 2013 03:08:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::231 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:93327 Archived-At: > 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. What about buffer narrowing, have you tried it? Vilda