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: Re: Slow emacsclient after some time Date: Mon, 19 Nov 2012 16:08:19 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1353337735 20381 80.91.229.3 (19 Nov 2012 15:08:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 15:08:55 +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 16:09:06 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 1TaSyA-0002Wq-7Y for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 16:09:06 +0100 Original-Received: from localhost ([::1]:42582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSxz-0005oT-T6 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 10:08:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSxp-0005oI-1l for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 10:08:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaSxk-0007iC-6y for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 10:08:44 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:54277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaSxk-0007hx-0t for help-gnu-emacs@gnu.org; Mon, 19 Nov 2012 10:08:40 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id xa7so3705208pbc.0 for ; Mon, 19 Nov 2012 07:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=wHlzQqb7w0sgwyonHWbTiW+jBr6SWHSdNgl4VFI1Xuo=; b=mfMtrPUC04bAc6CVCS/FXx1bNY0M6j7ECK/RoRjJk3kRZKlYJy6iDA+GiJU6TRtzGY y6Ei1nYUp8SYxvrW2ViBG5ate/B2LNuxwn5GTooREcDV6fI8FgRYa0PukA8n7azUcu7g ECHMCGCFMGR9K29Wk+b6WuGTvFt1mEqLQLNzSvvf+n4NmLsC/LcMat/A9GP5/J5auN7M xE/MZYVdS/rrPg0dwacI+6h/7fyoAbevBClnHSyG3he/yuxMZE15painy/KhHeopsp5E 2MLbO6aMBhr0rU25MUSbCxzvjJi9PIjI23/SvPnXrB/2f2De0PdNzKXdpYaY9NVywowV ik+Q== Original-Received: by 10.68.194.101 with SMTP id hv5mr39386329pbc.121.1353337719229; Mon, 19 Nov 2012 07:08:39 -0800 (PST) Original-Received: by 10.68.64.4 with HTTP; Mon, 19 Nov 2012 07:08:19 -0800 (PST) In-Reply-To: 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:87788 Archived-At: On Mon, Nov 19, 2012 at 3:30 PM, Alexandre LAURENT wrote: > > 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 > It may be because I use emacsclient within tmux :/ -- Alexandre LAURENT EPITA GISTR 2011