all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: 17352@debbugs.gnu.org
Subject: bug#17352: .emacs.desktop has become unportable between GUI and TTY.
Date: Sat, 26 Apr 2014 18:25:45 +0000	[thread overview]
Message-ID: <20140426182545.GB2944@acm.acm> (raw)

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	other threads:[~2014-04-26 18:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26 18:25 Alan Mackenzie [this message]
2014-04-26 20:30 ` bug#17352: .emacs.desktop has become unportable between GUI and TTY Juanma Barranquero
2014-04-27  9:02 ` Alan Mackenzie
2014-04-27 12:29   ` Juanma Barranquero
2014-04-27 13:53     ` Alan Mackenzie
2014-04-28 15:20       ` Juanma Barranquero
2014-04-30 18:28         ` Alan Mackenzie
2014-12-22 14:24 ` bug#17352: workaround Edmund Christian Herenz
2017-02-18 21:29 ` bug#17352: .emacs.desktop has become unportable between GUI and TTY Kaushal Modi
2017-09-02 13:03   ` Eli Zaretskii
2017-09-22 14:56     ` Eli Zaretskii
2017-09-29 17:06       ` Kaushal Modi
2017-09-29 18:12         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140426182545.GB2944@acm.acm \
    --to=acm@muc.de \
    --cc=17352@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.