[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
desktop.el: `p' void in desktop-internal-v2s when saving frame conf
From: |
era eriksson |
Subject: |
desktop.el: `p' void in desktop-internal-v2s when saving frame conf |
Date: |
Sun, 11 Mar 2001 15:16:41 +0200 |
This bug report will be sent to the Free Software Foundation,
not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
In GNU Emacs 20.3.2 (i386-debian-linux-gnu, X toolkit)
of Thu Jan 28 1999 on raven
configured using `configure i386-debian-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/info --with-pop=yes --with-x=yes --with-x-toolkit=yes'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I'm playing around with frame configurations, eventually hoping to be
able to store my frame configuration to the desktop file. However,
some simple mechanical error seems to prevent me (or rather,
desktop.el) from even saving the current frame configuration's textual
representation.
For the time being, I've simply stored my frame configuration in a
register so the Desktop package will save it even in its default
configuration (it includes register-alist in the variables it stores)
but I get an error message when attempting to run `desktop-save'.
I imagine there ought to be a `fboundp' or something added to some
part of `desktop-internal-v2s' but it's too complex for me to grok
quickly, and this is a low priority project for me.
Here's what I did:
M-: (frame-configuration-to-register ?\200) ; unusable interactively anyway
M-x desktop-save
Directory to save desktop file in: ~/
Symbol's value as variable is void: p
Here's what I get in the backtrace:
Signaling: (void-variable p)
desktop-internal-v2s((icon-top . unbound))
desktop-internal-v2s(((parent-id . 8389027) (display . ":0.0") (visibility .
t) (icon-name) (window-id . "29360481") (top + -383) (left . 643) (buffer-list
#<buffer *mail*> #<buffer *Minibuf-1*> #<buffer *Messages*> #<buffer
desktop.el> #<buffer *Apropos*> #<buffer *Help*> #<buffer *scratch*> #<buffer
emacsprefs.el> #<buffer *grep*> #<buffer ftpprefs.el> #<buffer
shell-command.el> #<buffer *info*> #<buffer battery.el> #<buffer *Output*>
#<buffer gallery.html> #<buffer .emacs.local> #<buffer *Minibuf-2*> #<buffer
main-menu-pre.hook> #<buffer gripe> #<buffer autocomplain/Makefile> #<buffer
requirements.prep> #<buffer concerns.prep> #<buffer plan-20000704.prep>
#<buffer autocomplain> #<buffer autocomplain.map> #<buffer CIDR.pm> #<buffer
autocomplain.flatten> #<buffer TODO.txt> #<buffer rrun> #<buffer
rqueue/Makefile> #<buffer test.pl> #<buffer rstatus> #<buffer rzap> #<buffer
rparse> #<buffer hibernate> #<buffer proxy.pl> #<buffer mailgrep> #<buffer
spamtrap-logo.xpm> #<buf!
fer spamtrap/Makefile> #<buffer logo3.xpm> #<buffer plan-2000.prep> #<buffer
unmute> #<buffer html2slides> #<buffer lisp/abbrev.el> #<buffer mute> #<buffer
db.sgml> #<buffer gtwhois-proxy-3.0/README> #<buffer goodies.c> #<buffer Log>
... . (#<buffer rtest> #<buffer cvs-101.prep> #<buffer rremove> #<buffer
rlytest> #<buffer timeout> #<buffer timeout/Makefile> #<buffer rsubmit>
#<buffer wdiff2html> #<buffer checkpath> #<buffer contrib.mk> #<buffer
vocabulary.html> #<buffer network.opts> #<buffer foo.html> #<buffer cvs-wdiff>
#<buffer manpath.config> #<buffer emacs-101.prep> #<buffer novdump> #<buffer
Std.pm> #<buffer Long.pm> #<buffer decode2047/decode2047> #<buffer novsum>
#<buffer collapse> #<buffer nntpfetch> #<buffer pipes.c> #<buffer mailfold.c>
#<buffer lockfile.c> #<buffer procmail/README> #<buffer misc.c> #<buffer
common.c> #<buffer mh-e.el> #<buffer feedmail.el> #<buffer blessmail.el>
#<buffer classification.prep> #<buffer bot/decode2047> #<buffer .profile>
#<buffer .!
bash_profile> #<buffer .bashrc> #<buffer ftape-doc> #<buffer ftape-util>
#<buffer site-lisp/Makefile> #<buffer .saves-*> #<buffer *Completions*>))
(unsplittable) (minibuffer . #<window 52 on *Minibuf-0*>) (modeline . t)
(width . 81) (height . 34) (name . "CIDR.pm") (background-mode . light)
(display-type . color) (cursor-type . box) (auto-lower) (auto-raise)
(icon-type) (icon-top . unbound) (icon-left . unbound) (title)
(buffer-predicate) (scroll-bar-width) (menu-bar-lines . 0) (border-color .
"black") (cursor-color . "black") (mouse-color . "black") (background-color .
"white") (foreground-color . "black") (vertical-scroll-bars . left)
(internal-border-width . 1) (border-width . 2) (font .
"-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup")))
desktop-internal-v2s((#<frame CIDR.pm 0x8582ec8\ > ((parent-id . 8389027)
(display . ":0.0") (visibility . t) (icon-name) (window-id . "29360481") (top +
-383) (left . 643) (buffer-list #<buffer *mail*> #<buffer *Minibuf-1*>
#<buffer *Messages*> #<buffer desktop.el> #<buffer *Apropos*> #<buffer *Help*>
#<buffer *scratch*> #<buffer emacsprefs.el> #<buffer *grep*> #<buffer
ftpprefs.el> #<buffer shell-command.el> #<buffer *info*> #<buffer battery.el>
#<buffer *Output*> #<buffer gallery.html> #<buffer .emacs.local> #<buffer
*Minibuf-2*> #<buffer main-menu-pre.hook> #<buffer gripe> #<buffer
autocomplain/Makefile> #<buffer requirements.prep> #<buffer concerns.prep>
#<buffer plan-20000704.prep> #<buffer autocomplain> #<buffer autocomplain.map>
#<buffer CIDR.pm> #<buffer autocomplain.flatten> #<buffer TODO.txt> #<buffer
rrun> #<buffer rqueue/Makefile> #<buffer test.pl> #<buffer rstatus> #<buffer
rzap> #<buffer rparse> #<buffer hibernate> #<buffer proxy.pl> #<buffer
mailgrep> #<b!
uffer spamtrap-logo.xpm> #<buffer spamtrap/Makefile> #<buffer logo3.xpm>
#<buffer plan-2000.prep> #<buffer unmute> #<buffer html2slides> #<buffer
lisp/abbrev.el> #<buffer mute> #<buffer db.sgml> #<buffer
gtwhois-proxy-3.0/README> #<buffer goodies.c> #<buffer Log> ... . ...)
(unsplittable) (minibuffer . #<window 52 on *Minibuf-0*>) (modeline . t)
(width . 81) (height . 34) (name . "CIDR.pm") (background-mode . light)
(display-type . color) (cursor-type . box) (auto-lower) (auto-raise)
(icon-type) (icon-top . unbound) (icon-left . unbound) (title)
(buffer-predicate) (scroll-bar-width) (menu-bar-lines . 0) (border-color .
"black") (cursor-color . "black") (mouse-color . "black") (background-color .
"white") (foreground-color . "black") (vertical-scroll-bars . left)
(internal-border-width . 1) (border-width . 2) (font .
"-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>))
desktop-internal-v2s((frame-configuration (#<frame CIDR.pm 0x8582ec8\ > (...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ...)
#<window-configuration>) (#<frame rstatus 0x8513fb0\ > (... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ...) #<window-configuration>) (#<frame
autocomplain 0x8459050\ > (... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ...) #<window-configuration>) (#<frame gallery.html 0x8455d38\ > (... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ...) #<window-configuration>)
(#<frame *Minibuf-1* 0x82d3818\ > (... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...!
... ... ... ... ... ... ...) #<window-configuration>)))
desktop-internal-v2s((128 (frame-configuration (#<frame CIDR.pm 0x8582ec8\ >
... #<window-configuration>) (#<frame rstatus 0x8513fb0\ > ...
#<window-configuration>) (#<frame autocomplain 0x8459050\ > ...
#<window-configuration>) (#<frame gallery.html 0x8455d38\ > ...
#<window-configuration>) (#<frame *Minibuf-1* 0x82d3818\ > ...
#<window-configuration>)) #<marker at 1504 in *mail*>))
desktop-internal-v2s(((128 (frame-configuration ... ... ... ... ...) #<marker
at 1504 in *mail*>) (17 . 0) (102 (frame-configuration ...) #<marker at 1 in
*info*>)))
desktop-value-to-string(((128 (frame-configuration ... ... ... ... ...)
#<marker at 1504 in *mail*>) (17 . 0) (102 (frame-configuration ...) #<marker
at 1 in *info*>)))
desktop-outvar(register-alist)
mapcar(desktop-outvar (desktop-missing-file-warning tags-file-name
tags-table-list search-ring regexp-search-ring register-alist kill-ring
minibuffer-history shell-command-history))
desktop-save("/home/era/")
call-interactively(desktop-save)
execute-extended-command(nil)
* call-interactively(execute-extended-command)
register-alist's value is shown below.
I've trimmed the value of `buffer-list' in all frames after the first
one, since the variable's value was identical in all frames.
Value:
((128
(frame-configuration
(#<frame CIDR.pm 0x8582ec8\ >
((parent-id . 8389027)
(display . ":0.0")
(visibility . t)
(icon-name)
(window-id . "29360481")
(top + -383)
(left . 643)
(buffer-list #<buffer *mail*> #<buffer *Minibuf-1*> #<buffer
*Occur*> #<buffer *Help*> #<buffer *Backtrace*> #<buffer *Messages*> #<buffer
desktop.el> #<buffer *Apropos*> #<buffer *scratch*> #<buffer emacsprefs.el>
#<buffer *grep*> #<buffer ftpprefs.el> #<buffer shell-command.el> #<buffer
*info*> #<buffer battery.el> #<buffer *Output*> #<buffer gallery.html> #<buffer
.emacs.local> #<buffer *Minibuf-2*> #<buffer main-menu-pre.hook> #<buffer
gripe> #<buffer autocomplain/Makefile> #<buffer requirements.prep> #<buffer
concerns.prep> #<buffer plan-20000704.prep> #<buffer autocomplain> #<buffer
autocomplain.map> #<buffer CIDR.pm> #<buffer autocomplain.flatten> #<buffer
TODO.txt> #<buffer rrun> #<buffer rqueue/Makefile> #<buffer test.pl> #<buffer
rstatus> #<buffer rzap> #<buffer rparse> #<buffer hibernate> #<buffer proxy.pl>
#<buffer mailgrep> #<buffer spamtrap-logo.xpm> #<buffer spamtrap/Makefile>
#<buffer logo3.xpm> #<buffer plan-2000.prep> #<buffer unmute> #<buffer html2!
slides> #<buffer lisp/abbrev.el> #<buffer mute> #<buffer db.sgml> #<buffer
gtwhois-proxy-3.0/README> #<buffer goodies.c> #<buffer Log> #<buffer rtest>
#<buffer cvs-101.prep> #<buffer rremove> #<buffer rlytest> #<buffer timeout>
#<buffer timeout/Makefile> #<buffer rsubmit> #<buffer wdiff2html> #<buffer
checkpath> #<buffer contrib.mk> #<buffer vocabulary.html> #<buffer
network.opts> #<buffer foo.html> #<buffer cvs-wdiff> #<buffer manpath.config>
#<buffer emacs-101.prep> #<buffer novdump> #<buffer Std.pm> #<buffer Long.pm>
#<buffer decode2047/decode2047> #<buffer novsum> #<buffer collapse> #<buffer
nntpfetch> #<buffer pipes.c> #<buffer mailfold.c> #<buffer lockfile.c> #<buffer
procmail/README> #<buffer misc.c> #<buffer common.c> #<buffer mh-e.el> #<buffer
feedmail.el> #<buffer blessmail.el> #<buffer classification.prep> #<buffer
bot/decode2047> #<buffer .profile> #<buffer .bash_profile> #<buffer .bashrc>
#<buffer ftape-doc> #<buffer ftape-util> #<buffer site-lisp/Makefile> #<bu!
ffer .saves-*> #<buffer *Completions*>)
(unsplittable)
(minibuffer . #<window 52 on *Minibuf-0*>)
(modeline . t)
(width . 81)
(height . 34)
(name . "CIDR.pm")
(background-mode . light)
(display-type . color)
(cursor-type . box)
(auto-lower)
(auto-raise)
(icon-type)
(icon-top . unbound)
(icon-left . unbound)
(title)
(buffer-predicate)
(scroll-bar-width)
(menu-bar-lines . 0)
(border-color . "black")
(cursor-color . "black")
(mouse-color . "black")
(background-color . "white")
(foreground-color . "black")
(vertical-scroll-bars . left)
(internal-border-width . 1)
(border-width . 2)
(font . "-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>)
(#<frame rstatus 0x8513fb0\ >
((parent-id . 8389012)
(display . ":0.0")
(visibility . t)
(icon-name)
(window-id . "29360431")
(top . 97)
(left . 643)
(buffer-list ... TRIMMED ...)
(unsplittable)
(minibuffer . #<window 50 on *Minibuf-0*>)
(modeline . t)
(width . 81)
(height . 34)
(name . "rstatus")
(background-mode . light)
(display-type . color)
(cursor-type . box)
(auto-lower)
(auto-raise)
(icon-type)
(icon-top . unbound)
(icon-left . unbound)
(title)
(buffer-predicate)
(scroll-bar-width)
(menu-bar-lines . 0)
(border-color . "black")
(cursor-color . "black")
(mouse-color . "black")
(background-color . "white")
(foreground-color . "black")
(vertical-scroll-bars . left)
(internal-border-width . 1)
(border-width . 2)
(font . "-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>)
(#<frame autocomplain 0x8459050\ >
((parent-id . 8388997)
(display . ":0.0")
(visibility . t)
(icon-name)
(window-id . "29360377")
(top . 577)
(left . 643)
(buffer-list ... TRIMMED ...)
(unsplittable)
(minibuffer . #<window 46 on *Minibuf-0*>)
(modeline . t)
(width . 81)
(height . 34)
(name . "autocomplain")
(background-mode . light)
(display-type . color)
(cursor-type . box)
(auto-lower)
(auto-raise)
(icon-type)
(icon-top . unbound)
(icon-left . unbound)
(title)
(buffer-predicate)
(scroll-bar-width)
(menu-bar-lines . 0)
(border-color . "black")
(cursor-color . "black")
(mouse-color . "black")
(background-color . "white")
(foreground-color . "black")
(vertical-scroll-bars . left)
(internal-border-width . 1)
(border-width . 2)
(font . "-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>)
(#<frame gallery.html 0x8455d38\ >
((parent-id . 8388890)
(display . ":0.0")
(visibility . t)
(icon-name)
(window-id . "29360281")
(top . 577)
(left . 3)
(buffer-list ... TRIMMED ...)
(unsplittable)
(minibuffer . #<window 28 on *Minibuf-0*>)
(modeline . t)
(width . 81)
(height . 34)
(name . "gallery.html")
(background-mode . light)
(display-type . color)
(cursor-type . box)
(auto-lower)
(auto-raise)
(icon-type)
(icon-top . unbound)
(icon-left . unbound)
(title)
(buffer-predicate)
(scroll-bar-width)
(menu-bar-lines . 0)
(border-color . "black")
(cursor-color . "black")
(mouse-color . "black")
(background-color . "white")
(foreground-color . "black")
(vertical-scroll-bars . left)
(internal-border-width . 1)
(border-width . 2)
(font . "-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>)
(#<frame *Minibuf-1* 0x82d3818\ >
((parent-id . 8388860)
(display . ":0.0")
(visibility . t)
(icon-name)
(window-id . "29360155")
(top . 95)
(left . 3)
(buffer-list ... TRIMMED ...)
(unsplittable)
(minibuffer . #<window 4 on *Minibuf-0*>)
(modeline . t)
(width . 81)
(height . 34)
(name . " *Minibuf-1*")
(background-mode . light)
(display-type . color)
(cursor-type . box)
(auto-lower)
(auto-raise)
(icon-type)
(icon-top . unbound)
(icon-left . unbound)
(title)
(buffer-predicate)
(scroll-bar-width)
(menu-bar-lines . 0)
(border-color . "black")
(cursor-color . "black")
(mouse-color . "black")
(background-color . "white")
(foreground-color . "black")
(vertical-scroll-bars . left)
(internal-border-width . 1)
(border-width . 2)
(font . "-*-*-Medium-R-normal--10-100-75-75-m-*-fontset-startup"))
#<window-configuration>))
#<marker at 1504 in *mail*>)
(17 . 0)
(102 . 0))
Recent input:
f r a m e - c o n tab backspace escape tab ) ) return
q C-x b d e s tab return C-x 1 escape < C-s i n t e
r n a l - return escape C-s C-s return up up up up
up up up up up up up up up up up up up up up up up
up up up up up up up up up up up up up up up right
escape < C-s b u g C-s return C-h v C-g escape x r
e p o r tab return
Recent messages:
Entering debugger...
[2 times]
Back to top level.
Mark set
Mark saved where search started [2 times]
Mark set
Mark saved where search started
Quit
Loading emacsbug...
Loading emacsbug...done
/* era */
--
Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition
- desktop.el: `p' void in desktop-internal-v2s when saving frame conf,
era eriksson <=