GNU bug report logs - #1578
23.0.60; [EmacsCarbon] emacsclient -c make emacs very slow (under Mac OSX)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,ns; Reported by: poppyer <poppyer <at> gmail.com>; dated Wed, 17 Dec 2008 06:33:16 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.

Message received at 1578 <at> emacsbugs.donarmstrong.com:


Received: (at 1578) by emacsbugs.donarmstrong.com; 7 Feb 2009 15:26:20 +0000
From monnier <at> iro.umontreal.ca Sat Feb  7 07:26:20 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=HAS_BUG_NUMBER,MDO_CABLE_TV3,
	XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17FQG9H006839
	for <1578 <at> emacsbugs.donarmstrong.com>; Sat, 7 Feb 2009 07:26:18 -0800
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtwFAGA2jUlFxIvi/2dsb2JhbACBbcwWhBoGgx0
X-IronPort-AV: E=Sophos;i="4.37,396,1231131600"; 
   d="scan'208";a="33501613"
Received: from 69-196-139-226.dsl.teksavvy.com (HELO pastel.home) ([69.196.139.226])
  by ironport2-out.teksavvy.com with ESMTP; 07 Feb 2009 10:26:11 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id 9756683D4; Sat,  7 Feb 2009 10:26:10 -0500 (EST)
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 1578 <at> debbugs.gnu.org, poppyer <poppyer <at> gmail.com>
Subject: Re: bug#1578: emacsclient -c make emacs very slow (under Mac OSX)
Message-ID: <jwvfxiqjmn2.fsf-monnier+emacsbugreports <at> gnu.org>
References: <9E938C18-A92A-40BF-8741-F3781414D5FB <at> gmail.com>
	<noocxf1kwl.fsf <at> nusnet-97-126.dynip.nus.edu.sg>
	<B07990D8-07D7-453D-BCB2-BE7E44CD7560 <at> gmail.com>
Date: Sat, 07 Feb 2009 10:26:10 -0500
In-Reply-To: <B07990D8-07D7-453D-BCB2-BE7E44CD7560 <at> gmail.com> (Adrian Robert's
	message of "Sat, 7 Feb 2009 12:37:19 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

>> I notice that if I start with "emacs -nw", there is no NSApp (no icon in
>> the osx dock). When I use "emacsclient -c" to open a NS frame, the icon
>> shows up. My idea here is, if I close every NS frame, can we destroy the
>> NSApp and make it nil again (say by testing the frame count) ? If this
>> is possible, it at least make emacsclient more usable; and I don't need
>> to restart Emacs.

> This a good idea and would probably meet better with user expectations when
> the only frame is closed (get rid of the icon in  the dock), also applicable
> when started with --daemon.

> I don't have time to work on it right now, so if someone else wants to take
> a crack.. it shouldn't be that hard (though there could be  unexpected
> gotchas I guess)...

Odd: I'm not a regular Mac OS X user, but from the little bit of
exposure I've had to this system, I would have expected the exact
opposite: I'd have expected "emacs --daemon" to bring up the Emacs icon
in the dock even before the first frame is opened, and would stay there
until the daemon exits.


        Stefan




Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#1578; Package emacs,ns. Full text available.

Message received at 1578 <at> emacsbugs.donarmstrong.com:


Received: (at 1578) by emacsbugs.donarmstrong.com; 7 Feb 2009 10:37:11 +0000
From adrian.b.robert <at> gmail.com Sat Feb  7 02:37:11 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.5 required=4.0 tests=MDO_CABLE_TV3 autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail-fx0-f15.google.com (mail-fx0-f15.google.com [209.85.220.15])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17Ab71Q030356
	for <1578 <at> emacsbugs.donarmstrong.com>; Sat, 7 Feb 2009 02:37:09 -0800
Received: by fxm8 with SMTP id 8so1879091fxm.1
        for <1578 <at> emacsbugs.donarmstrong.com>; Sat, 07 Feb 2009 02:37:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:in-reply-to:references
         :mime-version:content-type:message-id:cc:content-transfer-encoding
         :from:subject:date:to:x-mailer;
        bh=ojlKNRf66qGDZ4SGg++f5wjC3J+Qcli+wsw9ytZ5wpM=;
        b=JlmbQhYbKyRuydnzzybrqKUcC4pdNyb3Sgt4cjb2GglZjf/O3oUW3yAhcWTC/fjdvq
         XJEA1EBG28W/i5eMBClBp/7mk99PFxkkHiE2XPLE/JTd7L3MiKNL5nG9VYa4q+nXm5Gv
         KOpByc85EvoAsgawO1OFGBEdVc4VG+UMAy8JM=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=in-reply-to:references:mime-version:content-type:message-id:cc
         :content-transfer-encoding:from:subject:date:to:x-mailer;
        b=VNLsOmdKAB4X+0x5t3f34/8cpc6JGs0dFg1EZ+g6SixaWZOAMy3GCeXqNOJXnAOyoL
         fJFEljhHYQdMryjPptAQpbFA8JECi68M/DxsKiuuy6TU5OoNVQnxAmx44vE9OV4kQpg1
         gZfBZPyM9gE5sATDEyta7nimTPuvlJMPuBtok=
Received: by 10.223.126.145 with SMTP id c17mr2183360fas.102.1234003022125;
        Sat, 07 Feb 2009 02:37:02 -0800 (PST)
Received: from ?192.168.255.4? (a91-155-44-133.elisa-laajakaista.fi [91.155.44.133])
        by mx.google.com with ESMTPS id 12sm672305fks.5.2009.02.07.02.37.00
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 07 Feb 2009 02:37:01 -0800 (PST)
In-Reply-To: <noocxf1kwl.fsf <at> nusnet-97-126.dynip.nus.edu.sg>
References: <9E938C18-A92A-40BF-8741-F3781414D5FB <at> gmail.com> <noocxf1kwl.fsf <at> nusnet-97-126.dynip.nus.edu.sg>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <B07990D8-07D7-453D-BCB2-BE7E44CD7560 <at> gmail.com>
Cc: 1578 <at> debbugs.gnu.org
Content-Transfer-Encoding: 7bit
From: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: Re: emacsclient -c make emacs very slow (under Mac OSX)
Date: Sat, 7 Feb 2009 12:37:19 +0200
To: poppyer <poppyer <at> gmail.com>
X-Mailer: Apple Mail (2.753.1)


On Feb 6, 2009, at 8:26 PM, poppyer wrote:

> I notice that if I start with "emacs -nw", there is no NSApp (no  
> icon in
> the osx dock). When I use "emacsclient -c" to open a NS frame, the  
> icon
> shows up. My idea here is, if I close every NS frame, can we  
> destroy the
> NSApp and make it nil again (say by testing the frame count) ? If this
> is possible, it at least make emacsclient more usable; and I don't  
> need
> to restart Emacs.

This a good idea and would probably meet better with user  
expectations when the only frame is closed (get rid of the icon in  
the dock), also applicable when started with --daemon.

I don't have time to work on it right now, so if someone else wants  
to take a crack.. it shouldn't be that hard (though there could be  
unexpected gotchas I guess)...






Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#1578; Package emacs,ns. Full text available.

Message received at 1578 <at> emacsbugs.donarmstrong.com:


Received: (at 1578) by emacsbugs.donarmstrong.com; 6 Feb 2009 18:27:06 +0000
From poppyer <at> gmail.com Fri Feb  6 10:27:05 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16IQvKi015007
	for <1578 <at> emacsbugs.donarmstrong.com>; Fri, 6 Feb 2009 10:26:59 -0800
Received: by ti-out-0910.google.com with SMTP id 28so1131879tif.1
        for <1578 <at> emacsbugs.donarmstrong.com>; Fri, 06 Feb 2009 10:26:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:to:cc:subject:references
         :date:in-reply-to:message-id:user-agent:mime-version:content-type;
        bh=bGL5EIxdCZy2o4YyEYAOvHo52jRbvakTJVWHMY7yP3Y=;
        b=TaGINXRbQtKSh8O0cBX87aAZeFzE/z0vVihhF6ANcwSTw+Ij9MotJukGt0i71D2tBz
         Usjxu6xq9+WZOaRzYBytKzk3Zs20Y6Hgwez2dbiNROhTNmteO7cpoe2wgfm9f03HMSP/
         J3lUw/Qns/yjD8aC4ZiwRa6JTSJRMKPSDxGTU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:to:cc:subject:references:date:in-reply-to:message-id
         :user-agent:mime-version:content-type;
        b=s5yr8S7V64vYbkBwI029XrCQeeOjahVrzJ0qn0yGWrK3o6sf37Kb55a7AHL8i8liyA
         xT+Mzt6KOIubnZqzSN/q4Q5H3MfTXRcYWpaH14irxq4zRP5EWNB2L0WHOHUWY1RiTFy0
         9d7ffd2NikNW+DWw3rjBJwVR1Wyke89GL2kkA=
Received: by 10.110.40.8 with SMTP id n8mr3137737tin.28.1233944816605;
        Fri, 06 Feb 2009 10:26:56 -0800 (PST)
Received: from nusnet-97-126.dynip.nus.edu.sg.yourcompany.com (nusnet-97-126.dynip.nus.edu.sg [137.132.97.126])
        by mx.google.com with ESMTPS id a4sm945639tib.11.2009.02.06.10.26.54
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 06 Feb 2009 10:26:55 -0800 (PST)
From: poppyer <poppyer <at> gmail.com>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 1578 <at> debbugs.gnu.org
Subject: Re: emacsclient -c make emacs very slow (under Mac OSX)
References: <9E938C18-A92A-40BF-8741-F3781414D5FB <at> gmail.com>
Date: Sat, 07 Feb 2009 02:26:50 +0800
In-Reply-To: <9E938C18-A92A-40BF-8741-F3781414D5FB <at> gmail.com> (Adrian Robert's
	message of "Thu, 22 Jan 2009 01:02:45 +0200")
Message-ID: <noocxf1kwl.fsf <at> nusnet-97-126.dynip.nus.edu.sg>
User-Agent: Emacs Gnus
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


Adrian Robert <adrian.b.robert <at> gmail.com> writes:

>> First, I use emacs -nw to open a normal emacs in the terminal.  Then I
>> use emacsclient -c to open a carbon frame.  Now the terminal emacs
>> becomes very slow and unresponsive. (But the CPU is not running high).
>> Even after the carbon frame is closed, it is still same slow. (and I
>> have to close emacs and restart)
>
> This is because the events are being passed only after a full run
> through the NS event loop.  See line 3194 in nsterm.m (the first one
> of ns_select()).  Ideally this would drop down to the regular select
> () if the NS application ("carbon" frame) is not active.  However, I
> haven't found a way to detect this without also causing the problem
> of failing to pick up the app becoming active again until after a
> long delay.  I think the select() gets called with a long timeout
> and, no matter if cocoa-experimental-ctrl-g is set or not, no
> interruption of it happens.
>
> Since there is only one thread, an external call to, e.g. -
> applicationWillBecomeActive won't go through until after this select
> terminates.


I notice that if I start with "emacs -nw", there is no NSApp (no icon in
the osx dock). When I use "emacsclient -c" to open a NS frame, the icon
shows up. My idea here is, if I close every NS frame, can we destroy the
NSApp and make it nil again (say by testing the frame count) ? If this
is possible, it at least make emacsclient more usable; and I don't need
to restart Emacs.

Cheers,
poppyer





Acknowledgement sent to poppyer <poppyer <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#1578; Package emacs,ns. Full text available.

Message received at 1578 <at> emacsbugs.donarmstrong.com:


Received: (at 1578) by emacsbugs.donarmstrong.com; 21 Jan 2009 23:02:56 +0000
From adrian.b.robert <at> gmail.com Wed Jan 21 15:02:56 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0LN2qYs030620
	for <1578 <at> emacsbugs.donarmstrong.com>; Wed, 21 Jan 2009 15:02:54 -0800
Received: by ewy3 with SMTP id 3so3083128ewy.1
        for <1578 <at> emacsbugs.donarmstrong.com>; Wed, 21 Jan 2009 15:02:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:mime-version:content-type
         :message-id:cc:content-transfer-encoding:from:subject:date:to
         :x-mailer;
        bh=0/qJ9TIPJ3yAnxnHCG4vq/PLKhH8i+LMzYMKkTmirHw=;
        b=lWJgfT48MO8N2MyA/B2MkOd6SyjWWTenbG7InSxFgo9hNFFUfqw3fsSiha0KxViZLN
         +CRa18An6bmZNJCiEyuh9sDJ2JIGOIdzcgWAO75fCp/dPt2y35xOzXI0fxFz91Hg1viA
         AseKPaC5DE13WTkR8UxLEUcc5nsqHocSFrkb4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:content-type:message-id:cc:content-transfer-encoding
         :from:subject:date:to:x-mailer;
        b=EesvszVW5Q13N/gYf0f4Z/5Zsgjkac+Sx/J0wsdIjlevW5e/uK2wRtSbMn+wmLrr2r
         N7AQmMmuA9Uh7xS+Ezwp9JsipUm4ChC2uyz0CfdkxnOMNqBeZ8xDAKWVRL23R/2Kz78E
         PYjGGUVwNAxc0djKJ/Y7RajoMZRfcnZrv3HxQ=
Received: by 10.210.105.20 with SMTP id d20mr1124706ebc.142.1232578966555;
        Wed, 21 Jan 2009 15:02:46 -0800 (PST)
Received: from ?192.168.1.101? (h018098.gprs.dnafinland.fi [87.93.18.98])
        by mx.google.com with ESMTPS id 24sm8857749eyx.45.2009.01.21.15.02.43
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Wed, 21 Jan 2009 15:02:45 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <9E938C18-A92A-40BF-8741-F3781414D5FB <at> gmail.com>
Cc: poppyer <poppyer <at> gmail.com>
Content-Transfer-Encoding: 7bit
From: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: Re: emacsclient -c make emacs very slow (under Mac OSX)
Date: Thu, 22 Jan 2009 01:02:45 +0200
To: 1578 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.753.1)

> First, I use emacs -nw to open a normal emacs in the terminal.  Then I
> use emacsclient -c to open a carbon frame.  Now the terminal emacs
> becomes very slow and unresponsive. (But the CPU is not running high).
> Even after the carbon frame is closed, it is still same slow. (and I
> have to close emacs and restart)

This is because the events are being passed only after a full run  
through the NS event loop.  See line 3194 in nsterm.m (the first one  
of ns_select()).  Ideally this would drop down to the regular select 
() if the NS application ("carbon" frame) is not active.  However, I  
haven't found a way to detect this without also causing the problem  
of failing to pick up the app becoming active again until after a  
long delay.  I think the select() gets called with a long timeout  
and, no matter if cocoa-experimental-ctrl-g is set or not, no  
interruption of it happens.

Since there is only one thread, an external call to, e.g. - 
applicationWillBecomeActive won't go through until after this select  
terminates.





Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#1578; Package emacs,ns. Full text available.
bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at submit <at> emacsbugs.donarmstrong.com:


Received: (at submit) by emacsbugs.donarmstrong.com; 14 Dec 2008 03:55:21 +0000
From poppyer <at> gmail.com Sat Dec 13 19:55:21 2008
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.3-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBE3tHQj014120
	for <submit <at> emacsbugs.donarmstrong.com>; Sat, 13 Dec 2008 19:55:18 -0800
Received: from mail.gnu.org ([199.232.76.166]:47304 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <poppyer <at> gmail.com>)
	id 1LBi3v-000715-To
	for emacs-pretest-bug <at> gnu.org; Sat, 13 Dec 2008 22:54:35 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <poppyer <at> gmail.com>)
	id 1LBi4Z-0007UA-De
	for emacs-pretest-bug <at> gnu.org; Sat, 13 Dec 2008 22:55:16 -0500
Received: from ti-out-0910.google.com ([209.85.142.187]:5020)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <poppyer <at> gmail.com>)
	id 1LBi4Y-0007Ts-QA
	for emacs-pretest-bug <at> gnu.org; Sat, 13 Dec 2008 22:55:15 -0500
Received: by ti-out-0910.google.com with SMTP id u5so1465732tia.10
        for <emacs-pretest-bug <at> gnu.org>; Sat, 13 Dec 2008 19:55:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:date:message-id:from:to
         :subject;
        bh=E2K/CH9ZwSDT5C4lgwwIJlJ+SZdyiFiVygUQvjxOL/c=;
        b=B2YlWcm8cZR5kq5AYFmM/GsNjHQMCDps9LX7ndd+cC+BnCu95RWdrxyYOOtLsFSYka
         6hfGVZGnMiapt612tyHTPahl3hrMYL5W3D0GNp8tgHkn62gNAu28Jxh84flyTUUpDame
         8zhqqUIpo47UnF/rxYxSQV8kFKpzrW7xsU+RM=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=date:message-id:from:to:subject;
        b=c2jj2UHPqKgnHXctRTD+UNL3GwIIHmxLT/6DWELiKrvSlQNMeJ+teInvmzGPun1pxb
         kaQPgJ0OfYtxtE05SBaR34Dioz/fPFag6LuwmywEuqkbVm/FYz79hsBhUbWtXGlXtg/p
         4xqXoxdqp7T5YelEFH6nVbX7pxYM022Bskpkk=
Received: by 10.110.43.18 with SMTP id q18mr7883306tiq.14.1229226911196;
        Sat, 13 Dec 2008 19:55:11 -0800 (PST)
Received: from nusnet-97-126.dynip.nus.edu.sg.yourcompany.com (nusnet-97-126.dynip.nus.edu.sg [137.132.97.126])
        by mx.google.com with ESMTPS id y5sm6647757tia.1.2008.12.13.19.55.09
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 13 Dec 2008 19:55:10 -0800 (PST)
Date: Sun, 14 Dec 2008 11:55:04 +0800
Message-Id: <obwse38l7r.fsf <at> nusnet-97-126.dynip.nus.edu.sg>
From: poppyer <poppyer <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; [EmacsCarbon] emacsclient -c make emacs very slow (under Mac OSX)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

First, I use emacs -nw to open a normal emacs in the terminal.  Then I
use emacsclient -c to open a carbon frame.  Now the terminal emacs
becomes very slow and unresponsive. (But the CPU is not running high).
Even after the carbon frame is closed, it is still same slow. (and I
have to close emacs and restart)




In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS apple-appkit-949.35)
 of 2008-12-11 on neutron.local
Windowing system distributor `Apple', version 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.51.53
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  gnus-agent-mode: t
  erc-log-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  iswitchb-mode: t
  recentf-mode: t
  which-function-mode: t
  show-paren-mode: t
  mouse-sel-mode: t
  global-hl-line-mode: t
  pinbar-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
RET ESC x n e w s C-p C-p RET q n n n n n p p RET SPC 
n SPC C-n SPC n q p p RET C-n C-n C-n C-n C-n C-p C-p 
C-p SPC SPC C-n SPC SPC C-n SPC c y p n n n n n n n 
n n n n n p p p p p p p p p n n n n n p p p p p n n 
n n n n p p p n n n p RET SPC q RET C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-p c y p p p p n RET SPC n n c y ESC [ 
B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A ESC [ A 
p n RET SPC q p RET SPC q p RET SPC SPC C-n SPC SPC 
q C-c C-@ C-c C-@ C-c C-@ ESC 1 C-p C-p C-p C-p C-p 
C-p ESC g n RET SPC n C-x 1 ESC x b DEL s u b TAB ESC 
DEL ESC DEL e m TAB a TAB s u m i TAB TAB ESC DEL r 
e TAB ESC DEL ESC DEL r e p o TAB r TAB e DEL TAB 
RET

Recent messages:
Generating summary...done
Reading active file from gmail via nnimap...
nnimap: Checking mailboxes...done
Reading active file from freenews.netfront.net via nntp...
Checking new news...done
Retrieving newsgroup: nntp+freenews.netfront.net:cn.bbs.comp.emacs...
Fetching headers for nntp+freenews.netfront.net:cn.bbs.comp.emacs...done
Scoring...done
Generating summary...done
Making completion list... [2 times]




Acknowledgement sent to poppyer <poppyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1578; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.