From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Fiander Newsgroups: gmane.emacs.bugs Subject: bug#19453: Bad interaction between daemon mode and desktop-save-mode Date: Sat, 27 Dec 2014 08:25:13 -0500 Message-ID: <549EB339.3020902@fiander.info> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1419686777 7944 80.91.229.3 (27 Dec 2014 13:26:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Dec 2014 13:26:17 +0000 (UTC) To: 19453@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 27 14:26:11 2014 Return-path: Envelope-to: geb-bug-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 1Y4rNi-0004SM-PC for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Dec 2014 14:26:10 +0100 Original-Received: from localhost ([::1]:55993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rNi-000190-0I for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Dec 2014 08:26:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rNe-00018t-DM for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4rNb-0006cf-4y for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:26:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rNb-0006cb-1n for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y4rNa-0002kh-Jz for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Fiander Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Dec 2014 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19453 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141968672610534 (code B ref -1); Sat, 27 Dec 2014 13:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Dec 2014 13:25:26 +0000 Original-Received: from localhost ([127.0.0.1]:58613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4rMz-0002jp-TD for submit@debbugs.gnu.org; Sat, 27 Dec 2014 08:25:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52194) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4rMw-0002jg-2U for submit@debbugs.gnu.org; Sat, 27 Dec 2014 08:25:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4rMu-0006Ym-HD for submit@debbugs.gnu.org; Sat, 27 Dec 2014 08:25:21 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rMu-0006Yg-EP for submit@debbugs.gnu.org; Sat, 27 Dec 2014 08:25:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rMt-00016b-As for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:25:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4rMq-0006Wy-3S for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:25:19 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4rMp-0006SL-V2 for bug-gnu-emacs@gnu.org; Sat, 27 Dec 2014 08:25:16 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 810F320793 for ; Sat, 27 Dec 2014 08:25:14 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 27 Dec 2014 08:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:subject:content-type:content-transfer-encoding; s=smtpout; bh=RbT3l/WAjwdkMPuTl69LhBH6pXc=; b=iaxrV53DEPu4NT6qq Ygdxhv2Qg9RawFH61D+7g2CGJESidclUuHQMxJaMZ7C24Z4DVMrR36zYZXSKQLB0 I+aRhg4t3hQXwhXR0Ra+3r8aTREbPH5HvTGCawWxnO6jqJbVzjJjEKfNHNg/uVij QmzmPERCCUbsbE4kiu6S/fglhY= X-Sasl-enc: w2kGA5L1MVOR6JiuW5g9QFfD9uOb4DfvGTY8sD3eVGkH 1419686714 Original-Received: from [192.168.11.180] (unknown [198.84.198.116]) by mail.messagingengine.com (Postfix) with ESMTPA id 393706800BA for ; Sat, 27 Dec 2014 08:25:14 -0500 (EST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97761 Archived-At: This seems to be related to bugs 17957, 17963, and 7352. In a terminal window, run $ emacs -Q -daemon then run $ emacsclient -n -c In the new emacs window, execute (desktop-save-mode 1) (kill-emacs) and answer 'y' when asked if you want to save the desktop. Back in the terminal, run $ emacs (note that the daemon is already dead). Emacs will create a new graphical frame. This frame may display the warning Error (frameset): Font `tty' is not defined And, according to the modeline, it will claim to be an emailclient frame, even though it's not. The problem is that the desktop save file saved the setting (client . nowait) In general, I think that the problem is that certain parts of the emacs state are being saved (or restored, depending on your point of view) in the desktop file that shouldn't necessarily be, since they're tied to the method of invocation more than to the user's specific preferences. - David