all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: aggressive-indent-mode freezes
Date: 10 Feb 2016 12:03:28 GMT	[thread overview]
Message-ID: <di0n8gFkqi7U1@mid.individual.net> (raw)
In-Reply-To: mailman.4295.1455103755.843.help-gnu-emacs@gnu.org

Alexis wrote:
>
> Luca Ferrari <fluca1978@infinito.it> 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)


  parent reply	other threads:[~2016-02-10 12:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09  7:36 aggressive-indent-mode freezes Luca Ferrari
2016-02-09 10:31 ` Alexis
2016-02-09 11:40   ` Luca Ferrari
2016-02-09 12:18     ` Alexis
2016-02-10  7:13       ` Luca Ferrari
2016-02-10  7:39         ` Alexis
2016-02-10 11:04           ` Luca Ferrari
2016-02-10 11:29             ` Alexis
     [not found]             ` <mailman.4295.1455103755.843.help-gnu-emacs@gnu.org>
2016-02-10 12:03               ` Joost Kremers [this message]
2016-02-11  5:43                 ` Alexis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=di0n8gFkqi7U1@mid.individual.net \
    --to=joost.m.kremers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.