From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#17352: .emacs.desktop has become unportable between GUI and TTY. Date: Sat, 26 Apr 2014 18:25:45 +0000 Message-ID: <20140426182545.GB2944@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1398537099 7921 80.91.229.3 (26 Apr 2014 18:31:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2014 18:31:39 +0000 (UTC) To: 17352@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 26 20:31:28 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 1We7Nm-0005Uc-55 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Apr 2014 20:31:26 +0200 Original-Received: from localhost ([::1]:36087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7Nl-0000Vo-Mz for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Apr 2014 14:31:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7NZ-0000VT-4Y for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:31:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We7NP-0007eP-5U for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:31:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7NP-0007eK-20 for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1We7NO-0004HE-Gs for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Apr 2014 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17352 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.139853701516350 (code B ref -1); Sat, 26 Apr 2014 18:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2014 18:30:15 +0000 Original-Received: from localhost ([127.0.0.1]:59321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We7Mc-0004Fc-Kf for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36895) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We7MZ-0004FR-KP for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We7MP-0007LW-Ct for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7MP-0007LM-9c for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7MH-0000NN-Po for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:30:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We7MA-0007JF-23 for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:29:53 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:36951 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7M9-0007J7-Ov for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:29:45 -0400 Original-Received: (qmail 7265 invoked by uid 3782); 26 Apr 2014 18:29:43 -0000 Original-Received: from acm.muc.de (pD951A62D.dip0.t-ipconnect.de [217.81.166.45]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Apr 2014 20:29:42 +0200 Original-Received: (qmail 3127 invoked by uid 1000); 26 Apr 2014 18:25:45 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x 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:88313 Archived-At: Hello, Emacs. I just tried starting a GUI Emacs, and it refused to process my .emacs.desktop, complaining: "Error (frameset): Font `tty' is not defined [7 times] Waraning (frameset): Attempt to delete the sole visible or iconified frame Emacs deleted my .emacs.desktop before I could look at it (see bug #17351). But at a guess, it had recorded the "font" used as "tty" at the close of my last TTY session, and not finding this "font" in the GUI font subsystem gave up. I immediately started a TTY Emacs, and there got some error message something like "Can't open terminal (0.0)". For some reason, this error message wasn't recorded in *Messages*. This lack of portability is a bug. Sharing a desktop file between GUI and TTY sessions is the sort of thing Emacs should be able to do without batting an eylid. The font in use and the particular terminal (?) used to create .emacs.desktop are _not_ essential information. Such information should be regarded by the desktop subsystem as hints, nothing more. My Emacs is the trunk at revision #116992. -- Alan Mackenzie (Nuremberg, Germany).