GNU bug report logs - #19706
25.0.50; (+ nil nil -1) in desktop-restore-frameset

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 27 Jan 2015 18:14:01 UTC

Severity: normal

Tags: moreinfo, wontfix

Found in version 25.0.50

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 19706 in the body.
You can then email your comments to 19706 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#19706; Package emacs. (Tue, 27 Jan 2015 18:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sds <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Jan 2015 18:14:02 GMT) Full text and rfc822 format available.

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

From: Sam Steingold <sds <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; (+ nil nil -1) in desktop-restore-frameset
Date: Tue, 27 Jan 2015 13:12:38 -0500
I get this error invariably when starting emacs:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  +(nil nil -1)
  frameset-move-onscreen(#<frame Emacs 0x103146560> t)
  frameset--restore-frame(((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) (((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color . frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . :never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t)
  frameset-restore([frameset 1 (21703 54246 125901 0) (desktop . "206") "sds <at> sds-MacBook-Pro.home" nil nil ((((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) ((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility . t) (environment) (frameset--id . "57B5-D002-B07E-BCE3") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 60) (width . 201) (left . 0) (top . 30)) ((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 12) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 84) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1434) (pixel-height . 826) (total-width . 205) (total-height . 59) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 720) (pixel-height . 826) (total-width . 103) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "#devchat <at> Magnetic-Online.irc.grove.io" (selected . t) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 470743) (start . 467481))) (leaf (last . t) (pixel-width . 714) (pixel-height . 826) (total-width . 102) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "util.py" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 2996) (start . 2942)))))] :reuse-frames t :cleanup-frames t :force-display nil :force-onscreen t)
  desktop-restore-frameset()
  desktop-read()
  #[0 "\305\211\235\203\306\"\301\307!\210\210	\205(\n\205 \205 \310 ?\311 \210\312\211)\207" [command-line-args desktop-save-mode desktop-restore-frames initial-window-system inhibit-startup-screen "--no-desktop" delete 0 daemonp desktop-read t] 4]()
  run-hooks(after-init-hook)
  command-line()
  normal-top-level()


In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25))
 of 2015-01-27 on sds-MacBook-Pro.home
Repository revision: c7effd7cacc5505933c32221bb25bea791b589e0
Windowing system distributor `Apple', version 10.3.1343
Configured using:
 `configure --with-ns'

Configured features:
IMAGEMAGICK ACL LIBXML2 ZLIB

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

Major mode: VC dir

Minor modes in effect:
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  which-function-mode: t
  url-handler-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
Running hg root . in foreground...
Running hg root ....OK = 0
Running hg id -b . in foreground...
Running hg id -b ....OK = 0
Running hg id -t . in foreground...
Running hg id -t ....OK = 0
Running hg status -mardu -C ./ in background... done
Running git --no-pager update-index --refresh . in background... done
Running git --no-pager diff-index --relative -z -M HEAD -- . in background... done
Running git --no-pager ls-files -z -o --directory --no-empty-directory --exclude-standard -- . in background... done

Load-path shadows:
None found.

Features:
(shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range gnus-win emacsbug message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums vc-bzr vc-src
vc-sccs vc-svn vc-cvs vc-rcs edmacro kmacro add-log help-mode debug
dired pig-mode vc-hg vc-dir ewoc vc vc-dispatcher vc-git diff-mode
easy-mmode python json package epg-config warnings midnight gnus
gnus-ems nnheader mail-utils wid-edit bbdb-mua bbdb-com crm mailabbrev
bbdb-loaddefs bbdb bbdb-site timezone rcirc server which-func imenu
url-handlers url-parse auth-source cl-macs eieio byte-opt bytecomp
byte-compile cl-extra seq cconv eieio-core cl-generic pcase gnus-util
mm-util mail-prsvr password-cache url-vars paren help-at-pt desktop
frameset cus-start cus-load ido ess-toolbar ess-mouse mouseme thingatpt
browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode
ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete
ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d
ess-julia ess-r-d compile ess-tracebug format-spec ess-roxy advice
help-fns hideshow ess-help ess-developer ess-r-args ess-s-l ess ess-inf
comint ansi-color ring ess-mode ess-noweb-mode ess-utils ess-custom
executable easymenu ess-compat ess-site cl gv cl-loaddefs cl-lib
time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process cocoa ns
multi-tty emacs)

Memory information:
((conses 16 386741 28502)
 (symbols 48 62384 0)
 (miscs 40 6179 65)
 (strings 32 171496 9606)
 (string-bytes 1 4017690)
 (vectors 16 44888)
 (vector-slots 8 722950 6251)
 (floats 8 343 212)
 (intervals 56 3843 93)
 (buffers 976 53))

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
http://www.childpsy.net/ http://www.memritv.org http://ffii.org
http://camera.org http://mideasttruth.com http://dhimmi.org
I am always late to my punctuality class.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19706; Package emacs. (Wed, 02 Dec 2015 20:05:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: 19706 <at> debbugs.gnu.org
Subject: Re: 25.0.50; (+ nil nil -1) in desktop-restore-frameset
Date: Wed, 2 Dec 2015 20:06:49 +0000
Hello Sam, and Emacs.

On Tue, Jan 27, 2015 at 01:12:38PM -0500, Sam Steingold wrote:
> I get this error invariably when starting emacs:

> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   +(nil nil -1)
>   frameset-move-onscreen(#<frame Emacs 0x103146560> t)
>   frameset--restore-frame(((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) (((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color . frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . :never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t)
>   frameset-restore([frameset 1 (21703 54246 125901 0) (desktop . "206") "sds <at> sds-MacBook-Pro.home" nil nil ((((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) ((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility . t) (environment) (frameset--id . "57B5-D002-B07E-BCE3") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 60) (width . 201) (left . 0) (top . 30)) ((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 12) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 84) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1434) (pixel-height . 826) (total-width . 205) (total-height . 59) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 720) (pixel-height . 826) (total-width . 103) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "#devchat <at> Magnetic-Online.irc.grove.io" (selected . t) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 470743) (start . 467481))) (leaf (last . t) (pixel-width . 714) (pixel-height . 826) (total-width . 102) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "util.py" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 2996) (start . 2942)))))] :reuse-frames t :cleanup-frames t :force-display nil :force-onscreen t)
>   desktop-restore-frameset()
>   desktop-read()
>   #[0 "\305\211\235\203
>   command-line()
>   normal-top-level()


> In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25))
>  of 2015-01-27 on sds-MacBook-Pro.home
> Repository revision: c7effd7cacc5505933c32221bb25bea791b589e0
> Windowing system distributor `Apple', version 10.3.1343
> Configured using:
>  `configure --with-ns'

[ .... ]

Well, I've just got this one (or something very similar) on a recent
emacs-25 build (last update: 5cf012a3a86e700b5f229fc14d9abd1e27fdb5f4 on
Sunday 2015-11-29).

It happened on a Linux virtual terminal.  I'd recently taken the
following out of my .emacs:

    (setq desktop-restore-frames nil)

, which I originally put in in May 2014 to avoid a bug (quite possibly
this one).

I'll admit I'd been playing at switching the desktop version back and
forth between 206 and 208.  At the time of the error it was on 208.

The scenario which triggered the bug for me was:

    M-x desktop-clear
    M-x desktop-read

, and the dump I got (after enabling debug-on-error) was:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  +(nil 240 -1)
  frameset-move-onscreen(#<frame F1 0xbfabd0> t)
  frameset--restore-frame(((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (foreground-color . "unspecified-fg") (cursor-color . "white") (acm-no . 0) (vertical-scroll-bars) (menu-bar-lines . 0) (too\l-bar-lines . 0) (background-color . "unspecified-bg") (font . "tty") (height . 67) (width . 240) (modeline . t) (unsplittable) (frameset--id . "4FF5-06E5-E76B-FA10") (frameset--mini t) (minibuffer . t)) (((min-height . 4) (min-width . 20)\ (min-height-ignore . 2) (min-width-ignore . 4) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 4) (min-pixel-width . 20) (min-pixel-height-ignore . 2) (min-pixel-width-ignore . 4) (min-pixel-height-safe . 1) (min-pixel-widt\h-safe . 4)) hc (pixel-width . 240) (pixel-height . 66) (total-width . 240) (total-height . 66) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 120) (pixel-height . 66) (total-width . 120) (total-height \. 66) (normal-height . 1.0) (normal-width . 0.5) (buffer ".emacs.desktop" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vscroll . 0) (dedicated) (point . 11509) (start . 8014))) (leaf (last . t\) (pixel-width . 120) (pixel-height . 66) (total-width . 120) (total-height . 66) (normal-height . 1.0) (normal-width . 0.5) (buffer "*Warnings*" (selected) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vscro\ll . 0) (dedicated) (point . 127) (start . 1)))) ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color \. frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset\-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . \:never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t)
  frameset-restore([frameset 1 (22111 17960 190515 878000) (desktop . "208") "acm <at> acm" nil nil ((((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (background-mode . dark) (foreground-color . "unspecified-fg") (cursor-color .\ "white") (acm-no . 0) (vertical-scroll-bars) (menu-bar-lines . 0) (tool-bar-lines . 0) (background-color . "unspecified-bg") (font . "tty") (height . 67) (width . 240) (modeline . t) (unsplittable) (frameset--id . "4FF5-06E5-E76B-FA10") (\frameset--mini t) (minibuffer . t)) ((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 4) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 4) (min-pixel-width . 20) (min-pixel-height-ignore . 2) (m\in-pixel-width-ignore . 4) (min-pixel-height-safe . 1) (min-pixel-width-safe . 4)) hc (pixel-width . 240) (pixel-height . 66) (total-width . 240) (total-height . 66) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pix\el-width . 120) (pixel-height . 66) (total-width . 120) (total-height . 66) (normal-height . 1.0) (normal-width . 0.5) (buffer ".emacs.desktop" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vsc\roll . 0) (dedicated) (point . 11509) (start . 8014))) (leaf (last . t) (pixel-width . 120) (pixel-height . 66) (total-width . 120) (total-height . 66) (normal-height . 1.0) (normal-width . 0.5) (buffer "*Warnings*" (selected) (hscroll . 0\) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vscroll . 0) (dedicated) (point . 127) (start . 1)))))] :reuse-frames t :cleanup-frames t :force-display nil :force-onscreen t)
  desktop-restore-frameset()
  desktop-read()
  funcall-interactively(desktop-read)
  call-interactively(desktop-read record nil)
  command-execute(desktop-read record)
  execute-extended-command(nil "desktop-read" nil)
  funcall-interactively(execute-extended-command nil "desktop-read" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)


> -- 
> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
> http://www.childpsy.net/ http://www.memritv.org http://ffii.org
> http://camera.org http://mideasttruth.com http://dhimmi.org
> I am always late to my punctuality class.

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19706; Package emacs. (Mon, 18 Jan 2016 21:39:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Sam Steingold <sds <at> gnu.org>
Cc: 19706 <at> debbugs.gnu.org
Subject: Re: 25.0.50; (+ nil nil -1) in desktop-restore-frameset
Date: Mon, 18 Jan 2016 21:41:04 +0000
Hello again, Sam.

On Tue, Jan 27, 2015 at 01:12:38PM -0500, Sam Steingold wrote:
> I get this error invariably when starting emacs:

> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   +(nil nil -1)
>   frameset-move-onscreen(#<frame Emacs 0x103146560> t)
>   frameset--restore-frame(((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) (((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) ((background-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicate . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-param) (foreground-color . frameset-filter-sanitize-color) (fullscreen . frameset-filter-shelve-param) (GUI:font . frameset-filter-unshelve-param) (GUI:fullscreen . frameset-filter-unshelve-param) (GUI:height . frameset-filter-unshelve-param) (GUI:width . frameset-filter-unshelve-param) (height . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . :never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-to-GUI) (width . frameset-filter-shelve-param) (window-id . :never) (window-system . :never) (name . :never) (left . frameset-filter-iconified) (minibuffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t)
>   frameset-restore([frameset 1 (21703 54246 125901 0) (desktop . "206") "sds <at> sds-MacBook-Pro.home" nil nil ((((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)) ((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 . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-color . "Magenta") (visibility . t) (environment) (frameset--id . "57B5-D002-B07E-BCE3") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (height . 60) (width . 201) (left . 0) (top . 30)) ((min-height . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 12) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 56) (min-pixel-width . 140) (min-pixel-height-ignore . 28) (min-pixel-width-ignore . 84) (min-pixel-height-safe . 14) (min-pixel-width-safe . 28)) hc (pixel-width . 1434) (pixel-height . 826) (total-width . 205) (total-height . 59) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 720) (pixel-height . 826) (total-width . 103) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "#devchat <at> Magnetic-Online.irc.grove.io" (selected . t) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 470743) (start . 467481))) (leaf (last . t) (pixel-width . 714) (pixel-height . 826) (total-width . 102) (total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "util.py" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0 nil) (vscroll . 0) (dedicated) (point . 2996) (start . 2942)))))] :reuse-frames t :cleanup-frames t :force-display nil :force-onscreen t)
>   desktop-restore-frameset()
>   desktop-read()
>   #[0 "\305\211\235\203
>   command-line()
>   normal-top-level()


> In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25))
>  of 2015-01-27 on sds-MacBook-Pro.home
> Repository revision: c7effd7cacc5505933c32221bb25bea791b589e0
> Windowing system distributor `Apple', version 10.3.1343
> Configured using:
>  `configure --with-ns'

[ .... ]

[The following patch might help (it solves a similar problem on a Linux
 TTY), but this is unlikely:


diff --git a/lisp/frameset.el b/lisp/frameset.el
index b8d86c6..ced35a7 100644
--- a/lisp/frameset.el
+++ b/lisp/frameset.el
@@ -812,8 +812,8 @@ frameset-move-onscreen
   (pcase-let* ((`(,left ,top ,width ,height) (cl-cdadr (frame-monitor-attributes frame)))
 	       (right (+ left width -1))
 	       (bottom (+ top height -1))
-	       (fr-left (frameset-compute-pos (frame-parameter frame 'left) left right))
-	       (fr-top (frameset-compute-pos (frame-parameter frame 'top) top bottom))
+	       (fr-left (frameset-compute-pos (or (frame-parameter frame 'left) 0) left right))
+	       (fr-top (frameset-compute-pos (or (frame-parameter frame 'top) 0) top bottom))
 	       (ch-width (frame-char-width frame))
 	       (ch-height (frame-char-height frame))
 	       (fr-width (max (frame-pixel-width frame) (* ch-width (frame-width frame))))


 .]  

After starting Emacs, which fails as above, could you possibly do

    M-: (frame-monitor-attributes (selected-frame))

and post the result here, please.

> -- 
> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
> http://www.childpsy.net/ http://www.memritv.org http://ffii.org
> http://camera.org http://mideasttruth.com http://dhimmi.org
> I am always late to my punctuality class.

-- 
Alan Mackenzie (Nuremberg, Germany).




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 08 Jan 2019 20:45:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19706 <at> debbugs.gnu.org and sds <at> gnu.org Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 08 Jan 2019 20:45: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. (Wed, 06 Feb 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 80 days ago.

Previous Next


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