From: martin rudalics <rudalics@gmx.at>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 16306@debbugs.gnu.org
Subject: bug#16306: 24.3.50; font change creates blank column on Lucid
Date: Tue, 31 Dec 2013 19:58:41 +0100 [thread overview]
Message-ID: <52C313E1.4080508@gmx.at> (raw)
In-Reply-To: <22255ECC-3AEA-4CC1-AAF8-1ACFD4D4A652@swipnet.se>
> The native scroll bar is the same width as a character. Not sure if the pixelwise resize changed that.
Can you tell me how this is processed in this part of x_new_font of
Emacs 24.3? I'm too silly to understand its semantics.
/* Compute the scroll bar width in character columns. */
if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0)
{
int wid = FRAME_COLUMN_WIDTH (f);
FRAME_CONFIG_SCROLL_BAR_COLS (f)
= (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + wid-1) / wid;
}
else
{
int wid = FRAME_COLUMN_WIDTH (f);
FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + wid - 1) / wid;
}
martin
next prev parent reply other threads:[~2013-12-31 18:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-31 2:27 bug#16306: 24.3.50; font change creates blank column on Lucid YAMAMOTO Mitsuharu
2013-12-31 8:05 ` Eli Zaretskii
2013-12-31 9:48 ` YAMAMOTO Mitsuharu
2013-12-31 9:59 ` Eli Zaretskii
2013-12-31 11:33 ` martin rudalics
2013-12-31 11:51 ` YAMAMOTO Mitsuharu
2013-12-31 17:52 ` martin rudalics
2013-12-31 18:05 ` Jan Djärv
2013-12-31 18:58 ` martin rudalics [this message]
2014-01-01 4:51 ` YAMAMOTO Mitsuharu
2014-01-01 11:09 ` martin rudalics
2014-01-02 5:37 ` YAMAMOTO Mitsuharu
2014-01-02 18:13 ` martin rudalics
2014-01-05 5:08 ` YAMAMOTO Mitsuharu
2014-01-05 10:38 ` martin rudalics
2019-11-02 16:15 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52C313E1.4080508@gmx.at \
--to=rudalics@gmx.at \
--cc=16306@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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 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).