Subject: Re: bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal

From: Stefan Guath <[email-masked]>
Date: Thu, 5 Jun 2014 09:02:41 +0200

-Oh, I just read your answer for bug #17693. Indeed, adding (setq desktop-restore-frames nil) is a work-around for both this bug (#17692) and also bug #17693. But the user shouldn't have to use these kind of work-arounds. A single (desktop-save-mode) should be sufficient and just work out of the box.

/Stefan Guath

On 5 jun 2014, at 08:52, Stefan Guath <[email-masked]> wrote:

> Sure, here it is:
> 
> (setq desktop-saved-frameset [frameset 1 (21392 4856 213605 0) (desktop . "206") "[email-masked]" nil nil ((((tty-type . "xterm-256color") (tty . "/dev/tty") (display-type . color) (background-mode . light) (foreground-color . "unspecified-fg") (cursor-color . "black") (background-color . "unspecified-bg") (font . "tty") (height . 24) (width . 80) (modeline . t) (unsplittable) (menu-bar-lines . 1) (frameset--id . "0850-9AC2-00E5-4A44") (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 . 80) (pixel-height . 22) (total-width . 80) (total-height . 22) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 192) (start . 1))))])
> 
> BTW, can you reproduce it, or is it just me?
> 
> /Stefan Guath
> 
> On 4 jun 2014, at 23:16, Juanma Barranquero <[email-masked]> wrote:
> 
>> On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <[email-masked]> wrote:
>> 
>>> 5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.
>> 
>> Please tell the contents of the desktop-saved-frameset variable in
>> your .emacs.desktop file.
>