From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Need help debugging Emacs: emacsclient will not draw its contents sometimes Date: Wed, 23 Sep 2015 09:45:42 +0300 Message-ID: <83h9mlljl5.fsf@gnu.org> References: <83fv2o7rtp.fsf@gnu.org> <8337yo7mdo.fsf@gnu.org> <83d1xq5m8f.fsf@gnu.org> <83twr23yef.fsf@gnu.org> <83egi54dt5.fsf@gnu.org> <83egi19usm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442990773 1424 80.91.229.3 (23 Sep 2015 06:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2015 06:46:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jon Dufresne Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 08:46:06 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zedob-0002FG-Ts for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 08:46:06 +0200 Original-Received: from localhost ([::1]:45753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zedob-0001gO-8O for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 02:46:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZedoN-0001g7-Ov for emacs-devel@gnu.org; Wed, 23 Sep 2015 02:45:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZedoJ-0005Sr-OX for emacs-devel@gnu.org; Wed, 23 Sep 2015 02:45:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZedoJ-0005Sj-HG for emacs-devel@gnu.org; Wed, 23 Sep 2015 02:45:47 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NV400I00AR0WR00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 23 Sep 2015 09:45:29 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NV400IGQARTRM40@a-mtaout22.012.net.il>; Wed, 23 Sep 2015 09:45:29 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190268 Archived-At: > Date: Tue, 22 Sep 2015 17:51:45 -0700 > From: Jon Dufresne > Cc: emacs-devel@gnu.org > > > I guess the question is now what does Mercurial do, exactly, to invoke > > emacsclient. Can you look at the command line Mercurial passes to it, > > for example? Perhaps also log the communications between emacsclient > > and the server on the Emacs side, and see what is passed there. > > > > The screenshot you posted seems like the frame was never created > > completely, so Emacs doesn't think it should be displaying any text > > yet. I wonder why that happens. > > > >> If I execute the "emacsclient -c" from a separate terminal (as > >> mentioned above), then retry the mercurial command, the next frame > >> displays correctly as expected. It seems this sequence somehow gets > >> around the issue. > > > > We need to figure out what kind of "issue" this works around. > > I'm at a loss on how to continue diagnosing this issue. I continue to > hit the problem, even with the newer Emacs. Luckily less frequently > than before and it is now easier to resume normal usage, but enough > that it interrupts my flow. Any thoughts on how to possibly gather > more useful information? I proposed above to look for 2 pieces of information that could potentially help us. If you can show them, I think it would be good progress. If you need help with them (i.e. don't know how to get the information), please tell.