bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28873: 26.0.60; error while restoring frameset


From: Fabrice Popineau
Subject: bug#28873: 26.0.60; error while restoring frameset
Date: Tue, 17 Oct 2017 19:49:41 +0200

I have a simple way to reproduce the problem.

On emacs-ubuntu, run:

emacs -Q -l foo-frameset.el

The foo-frameset.el is:

(require 'frameset)

(frameset-restore [frameset 1 (23014 15441 157710 0) (desktop . "208") "address@hidden" nil nil ((((minibuffer . t) (undecorated) (skip-taskbar) (font-backend uniscribe gdi) (font . "-outline-Consolas-normal-normal-normal-mono-22-*-*-*-c-*-iso8859-1") (border-width . 2) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (foreground-color . "#c5c8c6") (background-color . "#1d1f21") (mouse-color . "black") (border-color . "#373b41") (screen-gamma) (line-spacing) (left-fringe . 8) (right-fringe . 0) (no-focus-on-map) (no-accept-focus) (no-special-glyphs) (alpha) (menu-bar-lines . 1) (tool-bar-lines . 0) (height . 64) (title) (icon-type) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 0) (scroll-bar-height . 0) (fullscreen . maximized) (z-group) (visibility . t) (display-type . color) (background-mode . dark) (cursor-color . "#cc6666") (environment) (frameset--id . "123B-E56F-57D3-CB68") (frameset--mini t . t) (modeline . t) (unsplittable) (icon-name) (display . "w32") (explicit-name) (tool-bar-position . top) (width . 266) (left + -11) (top + -11)) ((min-height . 8) (min-width . 10) (min-height-ignore . 6) (min-width-ignore . 3) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 208) (min-pixel-width . 120) (min-pixel-height-ignore . 156) (min-pixel-width-ignore . 36) (min-pixel-height-safe . 52) (min-pixel-width-safe . 24)) vc (pixel-width . 3200) (pixel-height . 1650) (total-width . 267) (total-height . 63) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 3200) (pixel-height . 826) (total-width . 267) (total-height . 32) (normal-height . 0.5) (normal-width . 1.0) (buffer "THCS.org" (selected . t) (hscroll . 0) (fringes 8 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vscroll . 0) (dedicated) (point . 601641) (start . 596566))) (leaf (last . t) (pixel-width . 3200) (pixel-height . 824) (total-width . 267) (total-height . 31) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Compile-Log*" (selected) (hscroll . 0) (fringes 8 0 nil) (margins nil) (scroll-bars nil 0 t nil 0 t) (vscroll . 0) (dedicated) (point . 66) (start . 1)))))] :reuse-frames t :cleanup-frames t :force-display t :force-onscreen t)

giving:
Error (frameset): Cannot change the border width of a frame

The frameset 
I have not tried to reduce the frameset whatsoever.

My point is that the frameset is not compatible between my emacs-w64 session and my emacs-ubuntu session
because (at least) of the border-width which errors.
I was expecting to be able to run emacs independently on Windows and GNU/Linux and being able to share
all of my setup. I get this error when the desktop package is restoring the session.

Regards,

Fabrice

2017-10-17 10:59 GMT+02:00 martin rudalics <address@hidden>:
> While using the frameset--restore-frame function, it may happen that
> the modify-frame-parameters be called with a border-width which
> is not the default one for the current emacs. In this case,
> x_set_border_width errors because it can't change it.

'border-width' is in ‘frameset--initial-params’ and should be filtered
appropriately.  Can you provide a backtrace with a breakpoint in

  if (FRAME_X_WINDOW (f) != 0)
    error ("Cannot change the border width of a frame");

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]