From: Drew Adams <drew.adams@oracle.com>
To: 17077@debbugs.gnu.org
Subject: bug#17077: 24.4.50; regression: `set-frame-size' results in wrong frame size
Date: Sun, 23 Mar 2014 15:35:02 -0700 (PDT) [thread overview]
Message-ID: <f2063671-d4c0-435c-a788-f6571c5cee20@default> (raw)
This build does not give the correct result when using `set-frame-size'.
In previous builds and releases, including a build as recent as
2014-03-11, (set-frame-size 75 64) ends up with these frame parameters
(using my setup, for a special-display frame):
((top + -1)
(left + -2)
(buried-buffer-list)
(buffer-list #<buffer *Bookmark List*>)
(width . 75) ; <==============================
(height . 62)
(tool-bar-position . top)
(parent-id)
(explicit-name . t)
(display . "w32")
(visibility . t)
(icon-name)
(window-id . "3476582")
(unsplittable . t)
(minibuffer)
(modeline . t)
(thumfr-non-thumbnail-frame
(top . 12)
(left . 4)
(buried-buffer-list)
(buffer-list #<buffer *Bookmark List*>)
(width . 118)
(height . 67)
(tool-bar-position . top)
(parent-id)
(explicit-name . t)
(display . "w32")
(visibility . t)
(icon-name)
(window-id . "3476582")
(unsplittable . t)
(minibuffer)
(modeline . t)
(name . "*Bookmark List*")
(zoomed . -2)
(cursor-color . "Yellow")
(background-mode . light)
(display-type . color)
(fringe . 0)
(scroll-bar-width . 6)
(cursor-type . bar)
(auto-lower)
(auto-raise)
(icon-type)
(fullscreen)
(title)
(buffer-predicate)
(tool-bar-lines . 0)
(menu-bar-lines . 0)
(alpha)
(right-fringe . 0)
(left-fringe . 0)
(line-spacing)
(screen-gamma)
(border-color . "black")
(mouse-color . "Yellow")
(background-color . "LightSteelBlue")
(foreground-color . "Black")
(vertical-scroll-bars . right)
(bottom-divider-width . 2)
(right-divider-width . 2)
(internal-border-width . 0)
(border-width . 2)
(font . "-outline-Lucida Console-normal-normal-normal-mono-2-*-*-*-c-*-iso8859-1")
(font-parameter . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1")
(font-backend uniscribe gdi))
(thumfr-thumbnail-frame)
(name . "*Bookmark List*")
(zoomed . -1)
(cursor-color . "Yellow")
(background-mode . light)
(display-type . color)
(fringe . 0)
(scroll-bar-width . 21)
(cursor-type . bar)
(auto-lower)
(auto-raise)
(icon-type)
(fullscreen)
(title)
(buffer-predicate)
(tool-bar-lines . 0)
(menu-bar-lines . 1)
(alpha)
(right-fringe . 0)
(left-fringe . 0)
(line-spacing)
(screen-gamma)
(border-color . "black")
(mouse-color . "Yellow")
(background-color . "LightSteelBlue")
(foreground-color . "Black")
(vertical-scroll-bars . right)
(bottom-divider-width . 2)
(right-divider-width . 2)
(internal-border-width . 0)
(border-width . 2)
(font . "-outline-Lucida Console-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1")
(font-parameter . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1")
(font-backend uniscribe gdi))
The current version ends up with these frame parameters instead:
((tool-bar-position . top)
(parent-id)
(explicit-name)
(display . "w32")
(visibility . t)
(icon-name)
(window-id . "920808")
(top . 37)
(left . 255)
(buried-buffer-list #<buffer *Backtrace*>)
(buffer-list #<buffer *Bookmark List*>)
(unsplittable . t)
(minibuffer)
(modeline . t)
(width . 74) ; <==============================
(height . 64)
(name . "*Bookmark List*")
(zoomed . -1)
(cursor-color . "Yellow")
(background-mode . light)
(display-type . color)
(fringe . 0)
(scroll-bar-width . 21)
(cursor-type . bar)
(auto-lower)
(auto-raise)
(icon-type)
(fullscreen)
(title)
(buffer-predicate)
(tool-bar-lines . 0)
(menu-bar-lines . 1)
(alpha)
(right-fringe . 0)
(left-fringe . 0)
(line-spacing)
(screen-gamma)
(border-color . "black")
(mouse-color . "Yellow")
(background-color . "LightSteelBlue")
(foreground-color . "Black")
(vertical-scroll-bars . right)
(bottom-divider-width . 2)
(right-divider-width . 2)
(internal-border-width . 0)
(border-width . 2)
(font . "-outline-Lucida Console-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1")
(font-parameter . "-*-Lucida Console-normal-r-*-*-14-*-*-*-c-*-iso8859-1")
(font-backend uniscribe gdi))
I don't care so much about the height. What is definitely wrong is
diminishing the specified width (75) by one. The widest line in the
buffer is 75 chars wide, so fitting the frame to a width of 74 does
not cut the mustard.
Depending on the char (font) size, sometimes the frame fitting still
works as it should. But for other sizes it has this
one-char-less-than-required-width failing. E.g., this is the case
also for font "-outline-Lucida
Console-normal-normal-normal-mono-10-*-*-*-c-*-iso8859-1" (same font,
with size 10).
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-03-21 on ODIEONE
Bzr revision: 116829 dancol@dancol.org-20140321121023-5tjxtiws6qa4qyod
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3' 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include' LDFLAGS=-Lc:/Devel/emacs/lib'
next reply other threads:[~2014-03-23 22:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-23 22:35 Drew Adams [this message]
2014-03-24 9:06 ` bug#17077: 24.4.50; regression: `set-frame-size' results in wrong frame size martin rudalics
2014-03-24 14:17 ` Drew Adams
2014-03-25 20:43 ` Drew Adams
2014-03-25 21:24 ` martin rudalics
2014-03-25 21:34 ` Drew Adams
2014-03-25 21:37 ` Drew Adams
2014-03-25 21:40 ` Juanma Barranquero
2014-03-28 14:59 ` Drew Adams
2014-03-29 1:51 ` Juanma Barranquero
2014-03-29 1:54 ` Drew Adams
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=f2063671-d4c0-435c-a788-f6571c5cee20@default \
--to=drew.adams@oracle.com \
--cc=17077@debbugs.gnu.org \
/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.