From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Need help debugging Emacs: emacsclient will not draw its contents sometimes Date: Tue, 08 Sep 2015 15:28:42 +0200 Message-ID: <877fo13ur9.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441718972 27235 80.91.229.3 (8 Sep 2015 13:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2015 13:29:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jon Dufresne Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 15:29:20 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 1ZZIxQ-0000DF-2J for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 15:29:08 +0200 Original-Received: from localhost ([::1]:34062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZIxP-00070f-Gk for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 09:29:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZIx8-0006zd-PN for emacs-devel@gnu.org; Tue, 08 Sep 2015 09:28:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZIx4-0008Ke-Os for emacs-devel@gnu.org; Tue, 08 Sep 2015 09:28:50 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZIx4-0008Ka-MJ for emacs-devel@gnu.org; Tue, 08 Sep 2015 09:28:46 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DEEAB20B24 for ; Tue, 8 Sep 2015 09:28:44 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 08 Sep 2015 09:28:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=EcK0fdJSkWK1K6EwwP+V/8lBHng=; b=ect4A 3abkYQOu7r5iv6yYlWwzB6Td3fKl3GlOsK6uJaC0MZhPnlB4xovF5q3yOWY4LzrI kv3+fwXGrfBlWPR2KmjtCz1AZ280eQ6wpFXBXcQYCCazJxQyaqb7EcN/ZnF3pmoU Wlp62EI63TNZQB9Ybv3AqJMqpveREoBjQqLcFo= X-Sasl-enc: V4ze7KkkNLtglvtTwJkWgq7YbVDgEAPavAkdAX5Leuwe 1441718924 Original-Received: from thinkpad-t440p (unknown [2.163.188.161]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A714C0028B; Tue, 8 Sep 2015 09:28:44 -0400 (EDT) Mail-Followup-To: Jon Dufresne , emacs-devel@gnu.org In-Reply-To: (Jon Dufresne's message of "Tue, 8 Sep 2015 06:00:25 -0700") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 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:189707 Archived-At: Jon Dufresne writes: Hi Jon, > _Sometimes the emacsclient frame will not draw its contents_, leaving > Emacs in a useless state. This only occurs after the Emacs daemon has > been running for hours and has already successfully started many > emacsclients. When this occurs, my window manager shows that the > program is running and has drawn an outline of where Emacs should be, > but there are no contents. Oh, last week I had that situation, too. I executed "emacsclient -c file" on the command line and apparently nothing happened. I'm not exactly sure anymore but I think there were not even window decorations. However, when I entered the Gnome 3 overview where you get a quick preview of all your X windows, one empty emacs frame was shown. > After the first occurrence, all new emacsclients will suffer the same > fate and will not draw their contents. To Emacs return to a useful > state, I restart the Emacs daemon. This means I lose the open buffers > of my currently running Emacs. That's different to my case. I think I could quit the problematic window from the Gnome 3 overview which also made emacsclient return, and then the same invocation again resulted in a correctly drawn window. But that occurred only exactly once so far and I have no receipe, too. In contrast to Jon, I don't run emacs as a daemon but I have (unless (server-running-p) (server-start)) in my ~/.emacs. Bye, Tassilo