From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: aggressive-indent-mode freezes Date: 10 Feb 2016 12:03:28 GMT Message-ID: References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> <87vb5xauaw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455105922 14634 80.91.229.3 (10 Feb 2016 12:05:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 12:05:22 +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 Feb 10 13:05:21 2016 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 1aTTWL-0005kO-Ni for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 13:05:21 +0100 Original-Received: from localhost ([::1]:38345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTTWK-0003Ig-Vr for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 07:05:20 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: individual.net R1W7RrnUY/OBXQbOP5MalAHFcl/RKNDKb4d0/tP8EGkc3gQTqi Cancel-Lock: sha1:Dtr7UA1ZIf3Ub+NPHDVs73X7y5k= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:216794 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:109086 Archived-At: Alexis wrote: > > Luca Ferrari writes: > >> Done, and the php file now is indented quickly. Therefore there >> is something else that is causing the problem. Now, what is the >> best way to find out without having to comment out each loaded >> module and iteratively try? > > Well, if i were in this situation, i would bisect and re-bisect my > config file to narrow things down to the section which seems to > cause the problem. However, my config is indeed mostly done via a > single file, and i don't make use of things like starter kits, > Spacemacs, etc. If you do, i'm not sure what the best approach > might be - perhaps someone else could make some suggestions .... ? Emacs has a profiler: (info "(elisp) Profiling") You can use it to check in what function(s) Emacs spends the most time while opening/editing the file in question. That usually points to a package that is resource-intensive. -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)