From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandre LAURENT Newsgroups: gmane.emacs.help Subject: Slow emacsclient after some time Date: Mon, 19 Nov 2012 15:30:48 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d042f969ee4679904ced9f7ea X-Trace: ger.gmane.org 1353335487 30871 80.91.229.3 (19 Nov 2012 14:31:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 14:31:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 15:31:38 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaSNp-0000XN-Lf for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 15:31:33 +0100 Original-Received: from localhost ([::1]:51237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSNf-0000Nu-7w for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 09:31:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSNU-0000Mq-LQ for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 09:31:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaSNS-0002Wr-KN for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 09:31:12 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:54486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSNS-0002Wf-DX for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 09:31:10 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id xa7so3681252pbc.0 for ; Mon, 19 Nov 2012 06:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uUX9nfazq/Pyi2LtIu7JjjyeTOOCvdRuOWXnzpTHdkU=; b=0M6G03XREaPYdgWlxaq3AdLK1OwEcSdbsyx1cVGNIhCCYrYMsuIuMoNK100pYy9+Bf rlW5tOASBGEJ4N4N1Os2ACYo+XGypMBJQmvIyw6NrVFfQ6uLfJPhQ+4169zHRw6N/u0a lKUpzLjtFFmuEoWcgw+2CxYunCDnUJRzrBr7VGIh8yItxLemy1kF06mgmrwbJmMk5zZD BWygsEucRpAtPJiJ9ed3NGfAfBcg9xyBnOOCHXGfOo+CDElxwT6pm4z/+srEs50K/PB6 k3Om+swMuo++JweWhX0VRokoEueZGDOqW0Jbz+EwKhfpwAE0X6kJz56dQuH/khYXUfFI 15Sw== Original-Received: by 10.66.73.227 with SMTP id o3mr35899369pav.78.1353335469008; Mon, 19 Nov 2012 06:31:09 -0800 (PST) Original-Received: by 10.68.64.4 with HTTP; Mon, 19 Nov 2012 06:30:48 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87782 Archived-At: --f46d042f969ee4679904ced9f7ea Content-Type: text/plain; charset=ISO-8859-1 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 --f46d042f969ee4679904ced9f7ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello world,

I currently use emacs like this:
=
alias e=3D'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 af= ter opening about 10 files, I'm not exactly sure the number of opened f= iles matters), then calling emacsclient with a new file is *slow*.

Actually the frame is=A0instantly created usually on *s= cratch* or on the last file I've edited, but opening the new file and p= ut it in the current buffer takes about 3-4 seconds.

I also tried emacsclient -t, but this does not change a= nything, still slow.

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

FYI, I use emacs without X=A0

= --
Alexandre LAURENT
EPITA GISTR 2011

--f46d042f969ee4679904ced9f7ea--