GNU bug report logs - #17352
.emacs.desktop has become unportable between GUI and TTY.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 26 Apr 2014 18:31:02 UTC

Severity: normal

Merged with 19453

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#17352: closed (.emacs.desktop has become unportable between
 GUI and TTY.)
Date: Fri, 29 Sep 2017 18:13:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 29 Sep 2017 21:12:05 +0300
with message-id <83tvzl5q8a.fsf <at> gnu.org>
and subject line Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY.
has caused the debbugs.gnu.org bug report #17352,
regarding .emacs.desktop has become unportable between GUI and TTY.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
17352: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17352
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: .emacs.desktop has become unportable between GUI and TTY.
Date: Sat, 26 Apr 2014 18:25:45 +0000
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).


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: lekktu <at> gmail.com, david <at> fiander.info, 17352-done <at> debbugs.gnu.org,
 acm <at> muc.de
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Fri, 29 Sep 2017 21:12:05 +0300
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Fri, 29 Sep 2017 17:06:36 +0000
> Cc: 17352 <at> debbugs.gnu.org
> 
> Thank you!
> 
> I confirm this fix.
> 
> How I tested:
> 
> 1. Open emacsclient -nw& 
> 2. Quit (my config saves desktop when quitting) i.e. kill emacs completely
> 3. Verify that the desktop file got updated
> 4. Open emacsclient &
> 5. Starts up without that "Error (frameset): Font ‘tty’ is not defined" error
> 
> I believe you can mark this as done now.

Thanks, done.


This bug report was last modified 7 years and 239 days ago.

Previous Next


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