all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs terribly slow
Date: Thu, 6 Aug 2009 19:06:02 -0700 (PDT)	[thread overview]
Message-ID: <8049654a-2737-461c-b13c-1e559f6ddb5d@d36g2000prb.googlegroups.com> (raw)
In-Reply-To: mailman.4069.1249591599.2239.help-gnu-emacs@gnu.org

On Aug 5, 11:46 pm, Maindoor <sanjeevfi...@yahoo.com> wrote:
> Yes. But its not much and they don't make a lot of difference.
>
> Is it possible to tell emacs not to load particular set of modules like
> i don't ever want to load viper. things like that..so that it becomes
> sleek and fast.
>
> Regards,
> Maindoor.
>
> --- On Tue, 8/4/09, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>
> From: Lennart Borgman <lennart.borg...@gmail.com>
> Subject: Re: Emacs terribly slow
> To: "Maindoor" <sanjeevfi...@yahoo.com>
> Cc: help-gnu-em...@gnu.org
> Date: Tuesday, August 4, 2009, 9:51 PM
>
> On Tue, Aug 4, 2009 at 7:51 AM, Maindoor<sanjeevfi...@yahoo.com> wrote:
> > Hi,
> >     I'm using emacs 23.0.91.1 and i load a few files using load-file
> >     in my .emacs file like session, hide-mode-line, uniquify, color-theme
> >     bs.el etc. but lately its become very very slow. Emacs it seems is
> >     panting and running out of breath when i open a file or when I browse
> >     around the file. Is there any way to optimize for speed ?
>
> Hi Maindoor,
>
> Did you try removing stuff from your .emacs?

maindoor,

make sure the slowness you seen is not due to your .emacs or something
else.

Start emacs from the command like like this: emacs -Q

measure the time, compare it to your normal emacs launching. If using
emacs -Q is much faster, then, we know the problem is probably
your .emacs.

Now, the next step is to determine if there is something weired other
than loading the customization you have in your .emacs. For example,
some syntax error, or something in your .emacs that causes network
access, will drag your emacs startup time down. So, i'd check if
there's anything like that. How many lines is your .emacs anyway?

i have few thousand lines in my .emacs, and most calling out packages
that are not even compiled... generally speaking, piling things in
your .emacs shouldn't be a problem on today's machines. (is your
machine very old, by chance?) But in any case, when you sure you don't
have anything weird, the next step is to reduce loading uncessary
packages, or have them compiled, or use autoload instead of load or
require so that they get loaded only when you actually use that
feature. Recently someone posted about how to opitize this last
step... and am sure emacs wiki has a lot info.

  Xah
∑ http://xahlee.org/

       reply	other threads:[~2009-08-07  2:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4069.1249591599.2239.help-gnu-emacs@gnu.org>
2009-08-07  2:06 ` Xah Lee [this message]
     [not found] <mailman.3852.1249399507.2239.help-gnu-emacs@gnu.org>
2009-08-05  7:39 ` Emacs terribly slow Tim X
2009-05-07  8:59 no questions when quitting Anselm Helbig
2009-08-04  5:51 ` Emacs terribly slow Maindoor
2009-08-04 16:21   ` Lennart Borgman
2009-08-06  6:46     ` Maindoor

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=8049654a-2737-461c-b13c-1e559f6ddb5d@d36g2000prb.googlegroups.com \
    --to=xahlee@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.