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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17352 in the body.
You can then email your comments to 17352 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sat, 26 Apr 2014 18:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Apr 2014 18:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sat, 26 Apr 2014 20:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Sat, 26 Apr 2014 22:30:05 +0200
On Sat, Apr 26, 2014 at 8:25 PM, Alan Mackenzie <acm <at> muc.de> wrote:

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

At least in theory, saving&restoring the frameset already takes care
of this. If it is failing, that's a bug.

If you have a repeatable way to trigger this problem, please report it
here so wen can work together to fix it.

    J




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sun, 27 Apr 2014 09:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Juanma Barranquero <lekktu <at> gmail.com>, 17352 <at> debbugs.gnu.org
Subject: Re: .emacs.desktop has become unportable between GUI and TTY.
Date: Sun, 27 Apr 2014 09:02:33 +0000
>> 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.

>At least in theory, saving&restoring the frameset already takes care
>of this. If it is failing, that's a bug.

>If you have a repeatable way to trigger this problem, please report it
>here so wen can work together to fix it.

With a throwaway userid, in a Linux tty (virtual terminal), start Emacs
and create a ~/.emacs containing the single line

    (desktop-save-mode 1)

Evaluate this form with C-x C-e.

With .emacs in the current window, visit a new file in a new frame with
C-x 5 C-f asdf <RET>, put some random text into the new buffer and save
it with C-x C-s.  Exit Emacs with C-x C-c.

With the same userid, in X Windows, open a terminal and start Emacs (with
no command line arguments).  This produces the aforementioned error
messages:

    Error (frameset): Font `tty' is not defined [2 times]
    Warning (frameset): Attempt to delete the sole visible or iconified frame

.  Only one frame is currently open.

Now close this Emacs session with C-x C-c, and attempt to start another
session on the tty.  In the *scratch* buffer (apparently) appear the
following error messages:

    (emacs:3488): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
    Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

, the pair being repeated 9 times (for a total of twenty messages).  Each
one started directly below where the previous one ended (as though a Unix
file was being displayed on a device expecting MS-DOS line terminators).
This Emacs is unusable, some control characters not being interpreted.
For example, on typing M-x, "^[x" gets displayed in the minibuffer
region, and the minibuffer is not active.  C-x C-c works, however.

>    J

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sun, 27 Apr 2014 12:31:02 GMT) Full text and rfc822 format available.

Message #14 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: .emacs.desktop has become unportable between GUI and TTY.
Date: Sun, 27 Apr 2014 14:29:44 +0200
On Sun, Apr 27, 2014 at 11:02 AM, Alan Mackenzie <acm <at> muc.de> wrote:

I don't have access to a GNU/Linux system, so let's try to analyze the
problem step by step from your side.

> With a throwaway userid, in a Linux tty (virtual terminal), start Emacs
> and create a ~/.emacs containing the single line
>
>     (desktop-save-mode 1)
>
> Evaluate this form with C-x C-e.
>
> With .emacs in the current window, visit a new file in a new frame with
> C-x 5 C-f asdf <RET>, put some random text into the new buffer and save
> it with C-x C-s.  Exit Emacs with C-x C-c.

After this, please tell me the value of desktop-saved-frameset in the
.emacs.desktop file.

> With the same userid, in X Windows, open a terminal and start Emacs (with
> no command line arguments).  This produces the aforementioned error
> messages:
>
>     Error (frameset): Font `tty' is not defined [2 times]
>     Warning (frameset): Attempt to delete the sole visible or iconified frame
>
> .  Only one frame is currently open.
>
> Now close this Emacs session with C-x C-c

Also after this step.

> and attempt to start another
> session on the tty.  In the *scratch* buffer (apparently) appear the
> following error messages:
>
>     (emacs:3488): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
>     Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
>
> , the pair being repeated 9 times (for a total of twenty messages).  Each
> one started directly below where the previous one ended (as though a Unix
> file was being displayed on a device expecting MS-DOS line terminators).
> This Emacs is unusable, some control characters not being interpreted.
> For example, on typing M-x, "^[x" gets displayed in the minibuffer
> region, and the minibuffer is not active.  C-x C-c works, however.

I don't understand why should this happen. Could you also please try
your recipe, but in the fist step, put this in your .emacs

   (setq desktop-restore-frames nil)
   (desktop-save-mode 1)

instead, to make sure that all problems do indeed depend on frameset
restoration.

Thanks,

    J




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sun, 27 Apr 2014 13:58:01 GMT) Full text and rfc822 format available.

Message #17 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: .emacs.desktop has become unportable between GUI and TTY.
Date: Sun, 27 Apr 2014 13:53:37 +0000
Hi, Juanma.

On Sun, Apr 27, 2014 at 02:29:44PM +0200, Juanma Barranquero wrote:
> On Sun, Apr 27, 2014 at 11:02 AM, Alan Mackenzie <acm <at> muc.de> wrote:

> I don't have access to a GNU/Linux system, so let's try to analyze the
> problem step by step from your side.

> > With a throwaway userid, in a Linux tty (virtual terminal), start Emacs
> > and create a ~/.emacs containing the single line

> >     (desktop-save-mode 1)

> > Evaluate this form with C-x C-e.

> > With .emacs in the current window, visit a new file in a new frame with
> > C-x 5 C-f asdf <RET>, put some random text into the new buffer and save
> > it with C-x C-s.  Exit Emacs with C-x C-c.

> After this, please tell me the value of desktop-saved-frameset in the
> .emacs.desktop file.

(setq desktop-saved-frameset [frameset 1 (21341 2076 453651 734000) (desktop . "206") "awk <at> acm.acm" nil nil ((((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (cursor-color . "white") (acm-no . 1) (frameset--id . "1C46-838B-D41A-31D0") (frameset--mini t) (foreground-color . "unspecified-fg") (background-color . "unspecified-bg") (font . "tty") (height . 67) (width . 240) (modeline . t) (minibuffer . t) (unsplittable) (menu-bar-lines . 1)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 2) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 4) (min-pixel-width . 10) (min-pixel-height-ignore . 2) (min-pixel-width-ignore . 2) (min-pixel-height-safe . 1) (min-pixel-width-safe . 2)) leaf (pixel-width . 240) (pixel-height . 65) (total-width . 240) (total-height . 65) (normal-height . 1.0) (normal-width . 1.0) (buffer "asdf2" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 27) (start . 1))) (((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (foreground-color . "unspecified-fg") (cursor-color . "white") (acm-no . 0) (background-color . "unspecified-bg") (font . "tty") (height . 67) (width . 240) (modeline . t) (unsplittable) (menu-bar-lines . 1) (frameset--id . "140A-8053-E59A-D89D") (frameset--mini t) (minibuffer . t)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 2) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 4) (min-pixel-width . 10) (min-pixel-height-ignore . 2) (min-pixel-width-ignore . 2) (min-pixel-height-safe . 1) (min-pixel-width-safe . 2)) leaf (pixel-width . 240) (pixel-height . 65) (total-width . 240) (total-height . 65) (normal-height . 1.0) (normal-width . 1.0) (buffer ".emacs" (selected) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))))])

> > With the same userid, in X Windows, open a terminal and start Emacs (with
> > no command line arguments).  This produces the aforementioned error
> > messages:

> >     Error (frameset): Font `tty' is not defined [2 times]
> >     Warning (frameset): Attempt to delete the sole visible or iconified frame

> > .  Only one frame is currently open.

> > Now close this Emacs session with C-x C-c

> Also after this step.

(setq desktop-saved-frameset [frameset 1 (21341 2499 194045 27000) (desktop . "206") "awk <at> acm.acm" nil nil ((((font-backend xft x) (font . "-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1") (font-parameter . "Monospace 11") (border-width . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (background-color . "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 9) (right-fringe . 9) (scroll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-position . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) (display-type . color) (background-mode . light) (cursor-color . "black") (visibility) (acm-no . 2) (frameset--id . "6292-372A-DD78-D288") (frameset--mini t) (height . 67) (width . 240) (modeline . t) (minibuffer . t) (unsplittable) (left . 0) (top . 0) (icon-name) (display . ":0.0") (explicit-name)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 72) (min-pixel-width . 90) (min-pixel-height-ignore . 36) (min-pixel-width-ignore . 54) (min-pixel-height-safe . 18) (min-pixel-width-safe . 18)) leaf (pixel-width . 2194) (pixel-height . 1188) (total-width . 243) (total-height . 66) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend xft x) (font . "-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1") (font-parameter . "Monospace 11") (border-width . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (background-color . "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 9) (right-fringe . 9) (scroll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-position . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) (display-type . color) (background-mode . light) (cursor-color . "black") (visibility) (acm-no . 1) (frameset--id . "A262-9F94-6E27-1BB1") (frameset--mini t) (height . 67) (width . 240) (modeline . t) (minibuffer . t) (unsplittable) (left . 0) (top . 0) (icon-name) (display . ":0.0") (explicit-name)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 72) (min-pixel-width . 90) (min-pixel-height-ignore . 36) (min-pixel-width-ignore . 54) (min-pixel-height-safe . 18) (min-pixel-width-safe . 18)) leaf (pixel-width . 2194) (pixel-height . 1188) (total-width . 243) (total-height . 66) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend xft x) (font . "-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1") (font-parameter . "Monospace 11") (border-width . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (background-color . "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 9) (right-fringe . 9) (scroll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-position . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "black") (sticky) (environment) (acm-no . 0) (frameset--id . "1619-8E5C-153E-03AD") (frameset--mini t . t) (height . 35) (width . 80) (modeline . t) (minibuffer . t) (unsplittable) (left . 0) (top . 31) (icon-name) (visibility . t) (display . ":0.0") (explicit-name)) ((min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width-ignore . 6) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 144) (min-pixel-width . 90) (min-pixel-height-ignore . 72) (min-pixel-width-ignore . 54) (min-pixel-height-safe . 36) (min-pixel-width-safe . 18)) vc (pixel-width . 754) (pixel-height . 612) (total-width . 83) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 754) (pixel-height . 306) (total-width . 83) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer ".emacs" (selected . t) (hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (leaf (last . t) (pixel-width . 754) (pixel-height . 306) (total-width . 83) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Warnings*" (selected) (hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll . 0) (dedicated) (point . 55) (start . 1)))))])

> > and attempt to start another
> > session on the tty.  In the *scratch* buffer (apparently) appear the
> > following error messages:

> >     (emacs:3488): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
> >     Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

> > , the pair being repeated 9 times (for a total of twenty messages).  Each
> > one started directly below where the previous one ended (as though a Unix
> > file was being displayed on a device expecting MS-DOS line terminators).
> > This Emacs is unusable, some control characters not being interpreted.
> > For example, on typing M-x, "^[x" gets displayed in the minibuffer
> > region, and the minibuffer is not active.  C-x C-c works, however.

> I don't understand why should this happen. Could you also please try
> your recipe, but in the fist step, put this in your .emacs

>    (setq desktop-restore-frames nil)
>    (desktop-save-mode 1)

> instead, to make sure that all problems do indeed depend on frameset
> restoration.

With that setting, the problems do indeed disappear.  So it would appear
the frameset(s?) is/are the problem.

> Thanks,

>     J

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Mon, 28 Apr 2014 15:22:01 GMT) Full text and rfc822 format available.

Message #20 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Mon, 28 Apr 2014 17:20:30 +0200
Sorry for the delay, I got the flu and I'm feeling a bit off.

I can reproduce at least part of the problem in my Windows setup. so
it'll be (hopefully) easier to fix.

Meanwhile, a question. What is frame parameter acm-no?

      J




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Wed, 30 Apr 2014 18:33:02 GMT) Full text and rfc822 format available.

Message #23 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Wed, 30 Apr 2014 18:28:39 +0000
Hi, Juanma.

On Mon, Apr 28, 2014 at 05:20:30PM +0200, Juanma Barranquero wrote:
> Sorry for the delay, I got the flu and I'm feeling a bit off.

Outch!

> I can reproduce at least part of the problem in my Windows setup. so
> it'll be (hopefully) easier to fix.

> Meanwhile, a question. What is frame parameter acm-no?

Just a little utility of mine where I've bound the keys F1 - F11 to
select a frame.  F1 selects frame with property (acm-no . 0), F2 .....,
F11 selects frame with property (acm-no . 10).  The property gets set in
an after-make-frame-functions function.  It's a solution to the lack of
decent frame-switching functions for Emacs without mice.  If you're
interested I could send you the code - it's not very long.

>       J

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Mon, 22 Dec 2014 14:25:02 GMT) Full text and rfc822 format available.

Message #26 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Edmund Christian Herenz <cherenz <at> aip.de>
To: 17352 <at> debbugs.gnu.org
Subject: workaround
Date: Mon, 22 Dec 2014 15:24:14 +0100
Hello,

I can also reproduce above behaviour. I ran into this bug, since I
use both TTY and windowed emacs - sometimes in one session.

>    (setq desktop-restore-frames nil)
>    (desktop-save-mode 1)

This indeed fixes the warning.

I upgraded from Emacs 22.2 to 24.4 recently - and since then I am
affected by this bug.

Best,
CH.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sat, 27 Dec 2014 14:03:02 GMT) Full text and rfc822 format available.

Message #29 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 19453 <at> debbugs.gnu.org, 17352 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Re: bug#19453: Bad interaction between daemon mode and
 desktop-save-mode 
Date: Sat, 27 Dec 2014 14:02:20 +0000
merge 17352 19453
thanks

>>>>> David Fiander <david <at> fiander.info> writes:

[…]

 > This frame may display the warning

 > 	Error (frameset): Font `tty' is not defined

	AIUI, this has already been reported as #17352.  As a
	workaround, the latter suggests the following setting:

(setq desktop-restore-frames nil)

	The issue isn’t really specific to the daemon mode: loading a
	desktop file saved from a non-windowed Emacs instance into a
	windowed produces the same error.

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

	Yes.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A




Merged 17352 19453. Request was from Ivan Shmakov <ivan <at> siamics.net> to control <at> debbugs.gnu.org. (Sat, 27 Dec 2014 14:03:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sat, 18 Feb 2017 21:30:02 GMT) Full text and rfc822 format available.

Message #34 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: 17352 <at> debbugs.gnu.org
Subject: .emacs.desktop has become unportable between GUI and TTY.
Date: Sat, 18 Feb 2017 21:29:21 +0000
[Message part 1 (text/plain, inline)]
Hi all,

I see this issue even on the latest build of emacs master as of today
(version 26.x).

I ended up on this debbugs via here:
https://github.com/purcell/emacs.d/issues/259

I happened to start emacs with -nw option. My config saves the desktop when
quitting emacs. Then when I opened emacs GUI, I saw this *Warning* buffer:

Error (frameset): font `tty' is not defined.
-- 

Kaushal Modi
[Message part 2 (text/html, inline)]

Added indication that bug 17352 blocks24655 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 19 Feb 2017 00:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Sat, 02 Sep 2017 13:04:02 GMT) Full text and rfc822 format available.

Message #39 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kaushal Modi <kaushal.modi <at> gmail.com>,
 Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: .emacs.desktop has become unportable between GUI and TTY.
Date: Sat, 02 Sep 2017 16:03:16 +0300
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Sat, 18 Feb 2017 21:29:21 +0000
> 
> I see this issue even on the latest build of emacs master as of today (version 26.x).
> 
> I ended up on this debbugs via here: https://github.com/purcell/emacs.d/issues/259
> 
> I happened to start emacs with -nw option. My config saves the desktop when quitting emacs. Then when I
> opened emacs GUI, I saw this *Warning* buffer:
> 
> Error (frameset): font `tty' is not defined.

Juanma, any progress with this issue?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Fri, 22 Sep 2017 14:57:01 GMT) Full text and rfc822 format available.

Message #42 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: kaushal.modi <at> gmail.com, lekktu <at> gmail.com, acm <at> muc.de, david <at> fiander.info
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Fri, 22 Sep 2017 17:56:42 +0300
> Date: Sat, 02 Sep 2017 16:03:16 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 17352 <at> debbugs.gnu.org
> 
> > From: Kaushal Modi <kaushal.modi <at> gmail.com>
> > Date: Sat, 18 Feb 2017 21:29:21 +0000
> > 
> > I see this issue even on the latest build of emacs master as of today (version 26.x).
> > 
> > I ended up on this debbugs via here: https://github.com/purcell/emacs.d/issues/259
> > 
> > I happened to start emacs with -nw option. My config saves the desktop when quitting emacs. Then when I
> > opened emacs GUI, I saw this *Warning* buffer:
> > 
> > Error (frameset): font `tty' is not defined.
> 
> Juanma, any progress with this issue?

I think I fixed this now on the emacs-26 branch, please test.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17352; Package emacs. (Fri, 29 Sep 2017 17:07:02 GMT) Full text and rfc822 format available.

Message #45 received at 17352 <at> debbugs.gnu.org (full text, mbox):

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, lekktu <at> gmail.com, acm <at> muc.de,
 david <at> fiander.info
Cc: 17352 <at> debbugs.gnu.org
Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and
 TTY.
Date: Fri, 29 Sep 2017 17:06:36 +0000
[Message part 1 (text/plain, inline)]
On Fri, Sep 22, 2017 at 10:57 AM Eli Zaretskii <eliz <at> gnu.org> wrote:

> I think I fixed this now on the emacs-26 branch, please test.
>

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

Kaushal Modi
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 29 Sep 2017 18:13:03 GMT) Full text and rfc822 format available.

Notification sent to Alan Mackenzie <acm <at> muc.de>:
bug acknowledged by developer. (Fri, 29 Sep 2017 18:13:03 GMT) Full text and rfc822 format available.

Message #50 received at 17352-done <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 29 Sep 2017 18:13:03 GMT) Full text and rfc822 format available.

Notification sent to David Fiander <david <at> fiander.info>:
bug acknowledged by developer. (Fri, 29 Sep 2017 18:13:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Oct 2017 11:24:06 GMT) Full text and rfc822 format available.

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.