all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexandre LAURENT <shaoner@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Slow emacsclient after some time
Date: Mon, 19 Nov 2012 15:30:48 +0100	[thread overview]
Message-ID: <CAC8hHh=K7eZ9Edxn6QUFb3-Erj8C=tdYDqYBt0E7FG9PnGC8Uw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

Hello world,

I currently use emacs like this:

alias e='emacsclient -a "" -c'

e /path/to/myfile.c


which means that *the first time only*, emacs is started as a daemon. Then
emacsclient is called.

But after a while (maybe after opening about 10 files, I'm not exactly sure
the number of opened files matters), then calling emacsclient with a new
file is *slow*.

Actually the frame is instantly created usually on *scratch* or on the last
file I've edited, but opening the new file and put it in the current buffer
takes about 3-4 seconds.

I also tried emacsclient -t, but this does not change anything, still slow.

What could take so long to load with emacsclient ? Even using emacs without
server mode is fastest.

FYI, I use emacs without X

-- 
Alexandre LAURENT
EPITA GISTR 2011

[-- Attachment #2: Type: text/html, Size: 1104 bytes --]

             reply	other threads:[~2012-11-19 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 14:30 Alexandre LAURENT [this message]
2012-11-19 15:08 ` Slow emacsclient after some time Alexandre LAURENT
2012-11-19 16:37   ` Thorsten Jolitz
2012-11-19 17:11     ` Alexandre LAURENT
2012-11-20 13:06       ` Suvayu Ali
2012-11-20 15:28         ` Alexandre LAURENT
2012-11-20 15:40           ` Suvayu Ali
2012-11-20 16:41             ` Alexandre LAURENT
2012-11-20 17:48               ` Suvayu Ali

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='CAC8hHh=K7eZ9Edxn6QUFb3-Erj8C=tdYDqYBt0E7FG9PnGC8Uw@mail.gmail.com' \
    --to=shaoner@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.