From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#19706: 25.0.50; (+ nil nil -1) in desktop-restore-frameset Date: Wed, 2 Dec 2015 20:06:49 +0000 Message-ID: <20151202200649.GA19633@acm.fritz.box> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1449086789 6938 80.91.229.3 (2 Dec 2015 20:06:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2015 20:06:29 +0000 (UTC) Cc: 19706@debbugs.gnu.org To: Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 21:06:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4DfB-0007I5-MD for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 21:06:05 +0100 Original-Received: from localhost ([::1]:60148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4DfB-0004YB-1B for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 15:06:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4DeF-0003ff-6L for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 15:05:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4DeA-0006w5-Tz for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 15:05:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4DeA-0006vK-QZ for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 15:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4DeA-0007sP-7C for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2015 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19706-submit@debbugs.gnu.org id=B19706.144908668730254 (code B ref 19706); Wed, 02 Dec 2015 20:05:02 +0000 Original-Received: (at 19706) by debbugs.gnu.org; 2 Dec 2015 20:04:47 +0000 Original-Received: from localhost ([127.0.0.1]:36593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Ddu-0007rt-Kb for submit@debbugs.gnu.org; Wed, 02 Dec 2015 15:04:47 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:41715) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Ddr-0007rg-2j for 19706@debbugs.gnu.org; Wed, 02 Dec 2015 15:04:44 -0500 Original-Received: (qmail 19301 invoked by uid 3782); 2 Dec 2015 20:04:41 -0000 Original-Received: from acm.muc.de (p548A535B.dip0.t-ipconnect.de [84.138.83.91]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 02 Dec 2015 21:04:40 +0100 Original-Received: (qmail 20419 invoked by uid 1000); 2 Dec 2015 20:06:49 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109538 Archived-At: 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(# 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-sc= roll-bars) (foreground-color . "DarkSlateBlue") (background-color . "LightG= ray") (line-spacing) (left-fringe . 4) (right-fringe . 4) (menu-bar-lines .= 1) (tool-bar-lines . 0) (title) (icon-type) (auto-raise) (auto-lower) (cur= sor-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 . "M= agenta") (visibility) (environment) (frameset--id . "062B-C257-B510-848F") = (frameset--mini t) (modeline . t) (minibuffer . t) (unsplittable) (right-di= vider-width . 0) (bottom-divider-width . 0) (icon-name) (explicit-name) (to= ol-bar-position . top) (height . 35) (width . 81) (left + -1200) (top . 32)= ) (((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ig= nore . 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-ig= nore . 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*" (selecte= d) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t nil 0= nil) (vscroll . 0) (dedicated) (point . 1) (start . 1))) ((background-colo= r . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-predicat= e . :never) (buried-buffer-list . :never) (font . frameset-filter-shelve-pa= ram) (foreground-color . frameset-filter-sanitize-color) (fullscreen . fram= eset-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 . fram= eset-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 . f= rameset-filter-minibuffer) (top . frameset-filter-iconified)) t) > frameset-restore([frameset 1 (21703 54246 125901 0) (desktop . "206") "= sds@sds-MacBook-Pro.home" nil nil ((((font-backend mac-ct) (fontsize . 0) (= font . "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-w= idth . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (horiz= ontal-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-low= er) (cursor-type bar . 2) (scroll-bar-width . 15) (scroll-bar-height . 0) (= alpha) (fullscreen . maximized) (display . "sds-MacBook-Pro.local") (displa= y-type . color) (background-mode . light) (cursor-color . "Blue") (mouse-co= lor . "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-n= ame) (tool-bar-position . top) (height . 35) (width . 81) (left + -1200) (t= op . 32)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-w= idth-ignore . 6) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-heig= ht . 56) (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-w= idth-ignore . 42) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14))= leaf (pixel-width . 590) (pixel-height . 476) (total-width . 84) (total-he= ight . 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-ba= ckend mac-ct) (fontsize . 0) (font . "-*-Menlo-normal-normal-normal-*-12-*-= *-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertic= al-scroll-bars . right) (horizontal-scroll-bars) (foreground-color . "DarkS= lateBlue") (background-color . "LightGray") (line-spacing) (left-fringe . 4= ) (right-fringe . 4) (menu-bar-lines . 1) (tool-bar-lines . 0) (title) (ico= n-type) (auto-raise) (auto-lower) (cursor-type bar . 2) (scroll-bar-width .= 15) (scroll-bar-height . 0) (alpha) (fullscreen . maximized) (display . "s= ds-MacBook-Pro.local") (display-type . color) (background-mode . light) (cu= rsor-color . "Blue") (mouse-color . "Magenta") (visibility . t) (environmen= t) (frameset--id . "57B5-D002-B07E-BCE3") (frameset--mini t . t) (modeline = =2E t) (minibuffer . t) (unsplittable) (right-divider-width . 0) (bottom-di= vider-width . 0) (icon-name) (explicit-name) (tool-bar-position . top) (hei= ght . 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-heig= ht . 826) (total-width . 205) (total-height . 59) (normal-height . 1.0) (no= rmal-width . 1.0) (combination-limit) (leaf (pixel-width . 720) (pixel-heig= ht . 826) (total-width . 103) (total-height . 59) (normal-height . 1.0) (no= rmal-width . 0.5) (buffer "#devchat@Magnetic-Online.irc.grove.io" (selected= . t) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bars nil 3 t ni= l 0 nil) (vscroll . 0) (dedicated) (point . 470743) (start . 467481))) (lea= f (last . t) (pixel-width . 714) (pixel-height . 826) (total-width . 102) (= total-height . 59) (normal-height . 1.0) (normal-width . 0.5) (buffer "util= =2Epy" (selected) (hscroll . 0) (fringes 4 4 nil) (margins nil) (scroll-bar= s 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=08\235\203 > command-line() > normal-top-level() > In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Vers= ion 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(# 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-l= ines . 0) (too\l-bar-lines . 0) (background-color . "unspecified-bg") (font= . "tty") (height . 67) (width . 240) (modeline . t) (unsplittable) (frames= et--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-p= ixel-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-h= eight . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . = 120) (pixel-height . 66) (total-width . 120) (total-height \. 66) (normal-h= eight . 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*" (sel= ected) (hscroll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars nil 0 t n= il 0 t) (vscro\ll . 0) (dedicated) (point . 127) (start . 1)))) ((backgroun= d-color . frameset-filter-sanitize-color) (buffer-list . :never) (buffer-pr= edicate . :never) (buried-buffer-list . :never) (font . frameset-filter-she= lve-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) (heigh= t . frameset-filter-shelve-param) (outer-window-id . :never) (parent-id . := never) (tty . frameset-filter-tty-to-GUI) (tty-type . frameset-filter-tty-t= o-GUI) (width . frameset-filter-shelve-param) (window-id . \:never) (window= -system . :never) (name . :never) (left . frameset-filter-iconified) (minib= uffer . frameset-filter-minibuffer) (top . frameset-filter-iconified)) t) frameset-restore([frameset 1 (22111 17960 190515 878000) (desktop . "208"= ) "acm@acm" nil nil ((((tty-type . "linux") (tty . "/dev/tty") (display-typ= e . color) (background-mode . dark) (foreground-color . "unspecified-fg") (= cursor-color .\ "white") (acm-no . 0) (vertical-scroll-bars) (menu-bar-line= s . 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-hei= ght . 4) (min-width . 20) (min-height-ignore . 2) (min-width-ignore . 4) (m= in-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) (mi= n-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) (hscro= ll . 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) (pi= xel-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) > --=20 > 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. --=20 Alan Mackenzie (Nuremberg, Germany).