GNU bug report logs - #17692
24.3.91.1; desktop-save-mode error in OS X terminal

Previous Next

Package: emacs;

Reported by: Stefan Guath <stefan <at> automata.se>

Date: Wed, 4 Jun 2014 18:35:02 UTC

Severity: important

Found in version 24.3.91.1

Fixed in version 24.3.93

Done: Glenn Morris <rgm <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 17692 in the body.
You can then email your comments to 17692 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#17692; Package emacs. (Wed, 04 Jun 2014 18:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Guath <stefan <at> automata.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 04 Jun 2014 18:35:03 GMT) Full text and rfc822 format available.

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

From: Stefan Guath <stefan <at> automata.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.91.1; desktop-save-mode error in OS X terminal
Date: Wed, 4 Jun 2014 20:33:37 +0200
VERSION:
GNU Emacs 24.3.91.1 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20) of 2014-05-23 on angelofdeaths-MacBook-Air.local

TO REPRODUCE BUG:

In OS X 10.9.3 Terminal:
1) Create a .emacs file with only one expression:
    (desktop-save-mode)
2) Run 'emacs -nw' in terminal.
3) Quit emacs, and answer "y" on question "Save desktop? (y or n)". The file .emacs.desktop is now created.
4) Run 'emacs -nw' in terminal again.
5) The error message "Error (frameset): Wrong type argument: number-or-marker-p, nil" appears.

Note: This only happens when running Emacs from Terminal  (i.e. 'emacs -nw').



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17692; Package emacs. (Wed, 04 Jun 2014 21:18:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Guath <stefan <at> automata.se>
Cc: 17692 <at> debbugs.gnu.org
Subject: Re: bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
Date: Wed, 4 Jun 2014 23:16:38 +0200
On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan <at> automata.se> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17692; Package emacs. (Thu, 05 Jun 2014 06:53:01 GMT) Full text and rfc822 format available.

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

From: Stefan Guath <stefan <at> automata.se>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17692 <at> debbugs.gnu.org
Subject: Re: bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
Date: Thu, 5 Jun 2014 08:52:24 +0200
Sure, here it is:

(setq desktop-saved-frameset [frameset 1 (21392 4856 213605 0) (desktop . "206") "lucifer <at> angelofdeaths-MacBook-Air.local" 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 <lekktu <at> gmail.com> wrote:

> On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan <at> automata.se> 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.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17692; Package emacs. (Thu, 05 Jun 2014 07:03:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Guath <stefan <at> automata.se>
Cc: 17692 <at> debbugs.gnu.org
Subject: Re: bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
Date: Thu, 5 Jun 2014 09:01:45 +0200
On Thu, Jun 5, 2014 at 8:52 AM, Stefan Guath <stefan <at> automata.se> wrote:

> Sure, here it is:

OK, thanks. I'll look into it.

> BTW, can you reproduce it, or is it just me?

I don't have access to OS X and I haven't seen this on Windows. But
apparently more people uses Emacs in WM environments than terminals,
so it's not unexpected to find a bit more trouble when using -nw.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17692; Package emacs. (Thu, 05 Jun 2014 07:03:02 GMT) Full text and rfc822 format available.

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

From: Stefan Guath <stefan <at> automata.se>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17692 <at> debbugs.gnu.org
Subject: Re: bug#17692: 24.3.91.1; desktop-save-mode error in OS X terminal
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 <stefan <at> automata.se> wrote:

> Sure, here it is:
> 
> (setq desktop-saved-frameset [frameset 1 (21392 4856 213605 0) (desktop . "206") "lucifer <at> angelofdeaths-MacBook-Air.local" 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 <lekktu <at> gmail.com> wrote:
> 
>> On Wed, Jun 4, 2014 at 8:33 PM, Stefan Guath <stefan <at> automata.se> 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.
> 





Forcibly Merged 17692 17693. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 12 Aug 2014 03:56:02 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. (Tue, 09 Sep 2014 11:24:06 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Jordon Biondo <jordonbiondo <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 08 Apr 2015 14:49:02 GMT) Full text and rfc822 format available.

Disconnected #17693 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 15 Apr 2015 18:06:01 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. (Thu, 14 May 2015 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 96 days ago.

Previous Next


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