bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17352: .emacs.desktop has become unportable between GUI and TTY.


From: Alan Mackenzie
Subject: bug#17352: .emacs.desktop has become unportable between GUI and TTY.
Date: Sat, 26 Apr 2014 18:25:45 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]