help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tracking down why emacsclient -c is so slow


From: Alex Bennee
Subject: Tracking down why emacsclient -c is so slow
Date: Fri, 21 Aug 2009 19:25:29 +0100

On one of my machines there is a massive pause between a new frame
appearing and being able to edit the file. I'm wondering if there is
anything I can do to track down the slow bit.

I've added some (message)'s to two hooks to try and track it down. You
can see an example emacsclient -t gives:

after-make-frame-functions at Fri Aug 21 19:18:59 2009
server-visit-hook at Fri Aug 21 19:18:59 2009
When done with a buffer, type C-x #

However editing the same file with -c gives:

after-make-frame-functions at Fri Aug 21 19:18:21 2009
server-visit-hook at Fri Aug 21 19:18:25 2009
(No files need saving)

In fact this very message is being edited in a -c frame and shows a
fairly consistent 4 second delay:

after-make-frame-functions at Fri Aug 21 19:21:44 2009
enabling long lines for itsalltext [2 times]
server-visit-hook at Fri Aug 21 19:21:48 2009
When done with a buffer, type C-x #

Are there any other hooks run between after-make-frame-functions and
server-visit-hook I can hook to to see why it takes so long?


-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]