From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 28873@debbugs.gnu.org
Subject: bug#28873: 26.0.60; error while restoring frameset
Date: Tue, 17 Oct 2017 19:49:41 +0200 [thread overview]
Message-ID: <CAFgFV9M8LMPHFc4WqynDiQRRrp5dyOQJ6cm7ZQNZkL_wO7Ua7w@mail.gmail.com> (raw)
In-Reply-To: <59E5C681.1060207@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 3590 bytes --]
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")
"Fabrice@LOBSANG" 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 <rudalics@gmx.at>:
> > 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
>
>
[-- Attachment #2: Type: text/html, Size: 4323 bytes --]
next prev parent reply other threads:[~2017-10-17 17:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 5:28 bug#28873: 26.0.60; error while restoring frameset Fabrice Popineau
2017-10-17 8:59 ` martin rudalics
2017-10-17 17:49 ` Fabrice Popineau [this message]
2017-10-17 18:24 ` martin rudalics
2017-10-18 5:03 ` Fabrice Popineau
2017-10-18 8:12 ` martin rudalics
2017-10-18 13:33 ` Fabrice Popineau
2017-10-18 17:45 ` martin rudalics
2017-10-18 18:13 ` Fabrice Popineau
2017-10-18 18:34 ` martin rudalics
2017-10-18 19:21 ` Fabrice Popineau
2017-10-19 7:55 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFgFV9M8LMPHFc4WqynDiQRRrp5dyOQJ6cm7ZQNZkL_wO7Ua7w@mail.gmail.com \
--to=fabrice.popineau@gmail.com \
--cc=28873@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.