all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: Luca Ferrari <fluca1978@infinito.it>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: aggressive-indent-mode freezes
Date: Tue, 09 Feb 2016 23:18:56 +1100	[thread overview]
Message-ID: <877fiecc0f.fsf@gmail.com> (raw)
In-Reply-To: <CAKoxK+56Nr55H72R8hH6-wa45FEW2NCcNPLDyFHu5DbdZnegAg@mail.gmail.com>


Luca Ferrari <fluca1978@infinito.it> writes:
 
> I've tried to run it against loaddefs.el (around 31k lines) and 
> it works fine, so maybe it is a problem of the language (php) it 
> tries to indent?  Running on a php file it takes around 3 
> seconds to return responsive, even with electric indent mode 
> disabled. I've also tried to disable other minor modes I use 
> like flymake, yas, hs but nothing changed.

Fair enough.

i don't work much with PHP, so i just downloaded the source of 
WordPress and searched for the longest file, which turned out to 
be wp-includes/class-wp-xmlrpc-server.php, with ~6.5k 
lines. Again, editing didn't result in any appreciable lag. (The 
lag was certainly less than with org.el, which is not surprising, 
given org.el is three times larger.)

Can you try running `emacs -Q`, loading aggressive-indent 
manually, and then check if you still observe the significant lag?


Alexis.



  reply	other threads:[~2016-02-09 12:18 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 [this message]
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
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=877fiecc0f.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --cc=fluca1978@infinito.it \
    --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.