unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset
@ 2013-08-11 15:50 Jan Djärv
  2013-08-11 16:21 ` Juanma Barranquero
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2013-08-11 15:50 UTC (permalink / raw)
  To: 15071

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hello.

Cutomizations in my .emacs:

'(desktop-globals-to-save
   (quote
    (desktop-missing-file-warning tags-file-name tags-table-list search-ring regexp-search-ring register-alist file-name-history compile-command compile-history)))
 '(desktop-path (quote ("." "~/.emacs.d/" "~")))
 '(desktop-restore-frames t)
 '(desktop-save-mode t)

I start Emacs without any .emacs.desktop.
Start emacs, M-x desktop-save (in current directory), exit emacs.
Start emacs
Gives error:

desktop-read: frameset-states accessing a non-frameset

Attaching the .emacs.desktop.

	Jan D.


[-- Attachment #2: emacs.desktop --]
[-- Type: application/octet-stream, Size: 2094 bytes --]

;; -*- mode: emacs-lisp; coding: emacs-mule; -*-
;; --------------------------------------------------------------------------
;; Desktop File for Emacs
;; --------------------------------------------------------------------------
;; Created Sun Aug 11 17:43:50 2013
;; Desktop file format version 206
;; Emacs version 24.3.50.1

;; Global section:
(setq desktop-saved-frameset [frameset 1 (20999 45366 482961 0) (desktop . "206") "jhd@zeplin.localdomain" nil nil ((((font-backend ns) (fontsize . 0) (font . "-apple-Menlo-medium-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (foreground-color . "Black") (background-color . "White") (line-spacing) (left-fringe . 10) (right-fringe . 11) (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 15) (alpha) (fullscreen) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "gray25") (environment) (scroll-bar-background . "#2e3436") (scroll-bar-foreground . "#eeeeec") (frameset--id . "5F09-55BB-4384-040C") (frameset--mini t . t) (height . 50) (width . 80) (modeline . t) (minibuffer . t) (unsplittable) (left . 282) (top . 22) (icon-name) (visibility . t) (display . "zeplin.localdomain") (explicit-name) (tool-bar-position . top)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 9) (min-height-safe . 1) (min-width-safe . 2)) leaf (total-height . 49) (total-width . 86) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 15 3 t nil) (vscroll . 0) (dedicated) (point . 192) (start . 1))))])
(setq desktop-missing-file-warning nil)
(setq tags-file-name nil)
(setq tags-table-list nil)
(setq search-ring nil)
(setq regexp-search-ring nil)
(setq register-alist nil)
(setq file-name-history '("~/src/emacs/current/"))
(setq compile-command "make -k ")

;; Buffer section -- buffers listed in same order as in buffer list:

[-- Attachment #3: Type: text/plain, Size: 2816 bytes --]



In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39)
of 2013-08-11 on zeplin
Bzr revision: 113798 jan.h.d@swipnet.se-20130811153426-2xb8aen4h3q3fd7h
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure --verbose --with-ns --without-x --without-imagemagick
CFLAGS=-g3'

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: sv_SE.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  desktop-save-mode: t
  delete-selection-mode: t
  icomplete-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x b * M e s <tab> <return> <down-mouse-1> <mouse-1> 
C-a <up> C-SPC <down> <down> <escape> w <escape> x 
r e p o r t - e m <tab> <return>

Recent messages:
Loading /Users/jhd/lib/elisp/BAK-file.el (source)...done
Loading cc-langs...done
Loading /Users/jhd/lib/elisp/ccsetup.el (source)...done
Loading icomplete...done
Loading desktop...done
Wrote /Users/jhd/src/emacs/current/.emacs.desktop.lock
desktop-read: frameset-states accessing a non-frameset

Load-path shadows:
/Users/jhd/.emacs.d/elpa/magit-20130525.2329/.dir-locals hides /Users/jhd/Applications/Emacs.app/Contents/Resources/lisp/gnus/.dir-locals

Features:
(shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils magit-autoloads package desktop frameset
cus-start cus-load msb delsel advice help-fns icomplete cc-langs cl
cl-loaddefs cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs time time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment 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 ns
multi-tty emacs)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset
  2013-08-11 15:50 bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset Jan Djärv
@ 2013-08-11 16:21 ` Juanma Barranquero
  2013-08-11 16:42   ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2013-08-11 16:21 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15071

> desktop-read: frameset-states accessing a non-frameset

I cannot directly load you desktop because of a couple of invalid
values (font and border-width), but once I set them to reasonable
values for my system, and leaving everything else as is, it loads just
fine.

Please, try to reproduce the problem starting from emacs -Q, without
customizations or anything else.

   J





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset
  2013-08-11 16:21 ` Juanma Barranquero
@ 2013-08-11 16:42   ` Jan Djärv
  2013-08-11 17:00     ` Jan Djärv
  2013-08-11 17:03     ` Juanma Barranquero
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Djärv @ 2013-08-11 16:42 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 15071

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

Hello.

11 aug 2013 kl. 18:21 skrev Juanma Barranquero <lekktu@gmail.com>:

>> desktop-read: frameset-states accessing a non-frameset
> 
> I cannot directly load you desktop because of a couple of invalid
> values (font and border-width), but once I set them to reasonable
> values for my system, and leaving everything else as is, it loads just
> fine.
> 
> Please, try to reproduce the problem starting from emacs -Q, without
> customizations or anything else.
> 

Ok,
emacs -Q
M-x desktop-save (in ~).
C-x C-c
emacs -Q
M-x desktop-read

Same message.

Attaching that .emacs.desktop.

What is an "invalid value"?  Something not supported by your system?  I would not call that invalid, it is perfectly valid, you just can't use it.  Or if it indeed is invalid, that is a bug in desktop, it is saved by desktop.

	Jan D.


[-- Attachment #2: emacs.desktop --]
[-- Type: application/octet-stream, Size: 1966 bytes --]

;; -*- mode: emacs-lisp; coding: emacs-mule; -*-
;; --------------------------------------------------------------------------
;; Desktop File for Emacs
;; --------------------------------------------------------------------------
;; Created Sun Aug 11 18:39:06 2013
;; Desktop file format version 206
;; Emacs version 24.3.50.1

;; Global section:
(setq desktop-saved-frameset [frameset 1 (20999 48682 458100 0) (desktop . "206") "jhd@zeplin.localdomain" nil nil ((((font-backend ns) (fontsize . 0) (font . "-apple-Menlo-medium-normal-normal-*-12-*-*-*-m-0-iso10646-1") (border-width . 0) (internal-border-width . 2) (vertical-scroll-bars . right) (foreground-color . "Black") (background-color . "White") (line-spacing) (left-fringe . 10) (right-fringe . 11) (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 15) (alpha) (fullscreen) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "black") (environment) (frameset--id . "A2E5-480A-405C-80E7") (frameset--mini t . t) (height . 35) (width . 80) (modeline . t) (minibuffer . t) (unsplittable) (left . 0) (top . 22) (icon-name) (visibility . t) (display . "zeplin.localdomain") (explicit-name) (tool-bar-position . top)) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 9) (min-height-safe . 1) (min-width-safe . 2)) leaf (total-height . 34) (total-width . 86) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 15 3 t nil) (vscroll . 0) (dedicated) (point . 192) (start . 1))))])
(setq desktop-missing-file-warning nil)
(setq tags-file-name nil)
(setq tags-table-list nil)
(setq search-ring nil)
(setq regexp-search-ring nil)
(setq register-alist nil)
(setq file-name-history '("~/"))

;; Buffer section -- buffers listed in same order as in buffer list:

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset
  2013-08-11 16:42   ` Jan Djärv
@ 2013-08-11 17:00     ` Jan Djärv
  2013-08-11 17:03     ` Juanma Barranquero
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2013-08-11 17:00 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 15071-done

Hello.

Turns out a make bootsrap was needed.  I should have figured that out, nowdays bootstrap is required for almost everytime a bzr up is done.  Sorry for the noice.

Closing.

	Jan D.

11 aug 2013 kl. 18:42 skrev Jan Djärv <jan.h.d@swipnet.se>:

> Hello.
> 
> 11 aug 2013 kl. 18:21 skrev Juanma Barranquero <lekktu@gmail.com>:
> 
>>> desktop-read: frameset-states accessing a non-frameset
>> 
>> I cannot directly load you desktop because of a couple of invalid
>> values (font and border-width), but once I set them to reasonable
>> values for my system, and leaving everything else as is, it loads just
>> fine.
>> 
>> Please, try to reproduce the problem starting from emacs -Q, without
>> customizations or anything else.
>> 
> 
> Ok,
> emacs -Q
> M-x desktop-save (in ~).
> C-x C-c
> emacs -Q
> M-x desktop-read
> 
> Same message.
> 
> Attaching that .emacs.desktop.
> 
> What is an "invalid value"?  Something not supported by your system?  I would not call that invalid, it is perfectly valid, you just can't use it.  Or if it indeed is invalid, that is a bug in desktop, it is saved by desktop.
> 
> 	Jan D.
> 
> <emacs.desktop>






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset
  2013-08-11 16:42   ` Jan Djärv
  2013-08-11 17:00     ` Jan Djärv
@ 2013-08-11 17:03     ` Juanma Barranquero
  1 sibling, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2013-08-11 17:03 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15071

On Sun, Aug 11, 2013 at 6:42 PM, Jan Djärv <jan.h.d@swipnet.se> wrote:

> Same message.
>
> Attaching that .emacs.desktop.

Glad to hear that it works now. Yes, unfortunately bootstrap is
required quite often.

> What is an "invalid value"?  Something not supported by your system?  I would not call that invalid, it is perfectly valid, you just can't use it.

Let's not discuss semantics. I mean values that I cannot restore in my system.

> Or if it indeed is invalid, that is a bug in desktop, it is saved by desktop.

framesets are not specifically designed to be saved in one system and
restored in another, very different, one. It will work, with some
fixes, but it is currently unsupported by lack of testing. Yours is
only the second bug report I get ;-)  Specifically, the font parameter
will have to be filtered out when you restore in another system,
though it is not obvious how to do so without filtering also in the
original system (which you wouldn't want to do, because you could have
a non-default value that you want to keep); it's not a technical, but
UI issue. As for border-width, that's a combination of an Emacs
shortcoming and a bug. I'll work on fix it.

> Sorry for the noice.

On the contrary, you brought the issues mentioned above, and I'm very
grateful for that.

   J





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-11 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-11 15:50 bug#15071: 24.3.50; desktop-read: frameset-states accessing a non-frameset Jan Djärv
2013-08-11 16:21 ` Juanma Barranquero
2013-08-11 16:42   ` Jan Djärv
2013-08-11 17:00     ` Jan Djärv
2013-08-11 17:03     ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).