From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#6592: 24.0.50; Fringe at scroll bar side is wider (sometimes). Date: Sun, 11 Jul 2010 10:15:54 +0200 Message-ID: <4C397DBA.2070202@swipnet.se> References: <4C370CC8.6060706@gmail.com> <87vd8obidg.fsf@escher.home> <4C38374C.3090905@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278837018 14646 80.91.229.12 (11 Jul 2010 08:30:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2010 08:30:18 +0000 (UTC) Cc: 6592@debbugs.gnu.org, Stephen Berman To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 11 10:30:15 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OXrvS-00051K-PU for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 10:30:15 +0200 Original-Received: from localhost ([127.0.0.1]:44727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXrvR-00060s-GH for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 04:30:13 -0400 Original-Received: from [140.186.70.92] (port=33734 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXrvL-00060i-Ox for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 04:30:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXrvK-0001b6-3f for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 04:30:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48270) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXrvK-0001av-2P for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 04:30:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OXrhi-0007sq-DZ; Sun, 11 Jul 2010 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jul 2010 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6592-submit@debbugs.gnu.org id=B6592.127883615930295 (code B ref 6592); Sun, 11 Jul 2010 08:16:02 +0000 Original-Received: (at 6592) by debbugs.gnu.org; 11 Jul 2010 08:15:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXrhf-0007sa-2n for submit@debbugs.gnu.org; Sun, 11 Jul 2010 04:15:59 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXrhc-0007sT-6p for 6592@debbugs.gnu.org; Sun, 11 Jul 2010 04:15:57 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 2426DE9CE9 for <6592@debbugs.gnu.org>; Sun, 11 Jul 2010 10:15:54 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcwAJ4aOUxV4S0jPGdsb2JhbACgPgwBAQEBNS28ZoUnBIdxigk X-IronPort-AV: E=Sophos;i="4.55,182,1278280800"; d="scan'208";a="102536287" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 11 Jul 2010 10:15:54 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 0FE6C7FA05A; Sun, 11 Jul 2010 10:15:54 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 11 Jul 2010 04:16:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38365 Archived-At: YAMAMOTO Mitsuharu skrev 2010-07-11 05.48: >>>>>> On Sat, 10 Jul 2010 11:03:08 +0200, Jan Dj=E4rv said: > >>>> Hasn't it been like that since this change? >>> >>>> 2007-07-27 YAMAMOTO Mitsuharu >>> >>> Exactly. For more info, see the thread starting from >>> http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00295.html >>> > >> There is something off with the calculations for the frame size >> then. Check attached screen shots. The right fringe is not >> visible. > > The change I made in 2007-07-27 has nothing to do with the calculation > of fringe width, the position of fringes, or frame size calculation. > It just fills the gap between a fringe and a scroll bar with the > fringe background color when appropriate. The gap is still a part of > scroll bar area painted by the same color with the adjacent fringe > background. So if something is wrong with frame size calculation, > then that should have happened without my change. That is true. I see your patch uses WINDOW_CONFIG_SCROLL_BAR_WIDTH, and = there=20 is a corresponding FRAME_CONFIG_SCROLL_BAR_WIDTH, but that is never set. However, I think that scroll bars at the frame level (i.e. left or right = edge=20 of the frame) don't need any padding. It is only on other window scroll = bars that padding is needed, to keep integral column width. I'll try something based on that. Jan D.