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#1545: 23.0.60; scroll-bar-mode and fringe Date: Thu, 18 Dec 2008 19:31:30 +0100 Message-ID: <494A9702.1020208@swipnet.se> References: <87r647wlip.fsf@broken.deisui.org> Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 1545@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229625973 15795 80.91.229.12 (18 Dec 2008 18:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 18:46:13 +0000 (UTC) Cc: TAKAHASHI Naoto , 1545@emacsbugs.donarmstrong.com To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 19:47:18 2008 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.50) id 1LDNu0-0007At-I6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 19:47:17 +0100 Original-Received: from localhost ([127.0.0.1]:46334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDNso-0000BJ-7k for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 13:46:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDNrE-0007Zq-6b for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 13:44:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDNrD-0007ZE-HP for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 13:44:23 -0500 Original-Received: from [199.232.76.173] (port=39513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDNrD-0007Z5-5n for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 13:44:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60330) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LDNrC-0008TH-9i for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2008 13:44:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBIIiKCT029322; Thu, 18 Dec 2008 10:44:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBIIZ3jV026058; Thu, 18 Dec 2008 10:35:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Dec 2008 18:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1545 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1545-submit@emacsbugs.donarmstrong.com id=B1545.122962511125548 (code B ref 1545); Thu, 18 Dec 2008 18:35:03 +0000 Original-Received: (at 1545) by emacsbugs.donarmstrong.com; 18 Dec 2008 18:31:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBIIVlQx025523 for <1545@emacsbugs.donarmstrong.com>; Thu, 18 Dec 2008 10:31:49 -0800 Original-Received: from ironport.bredband.com (195.54.101.120) by proxy1.bredband.net (7.3.127) id 49411DD90031D1BF for 1545@emacsbugs.donarmstrong.com; Thu, 18 Dec 2008 19:31:41 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap08AGgmSklV4S1uPGdsb2JhbACBbIcbik8BAQEBNatfWJBigwY Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport1.bredband.com with ESMTP; 18 Dec 2008 19:31:31 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id EC88E7FA07A; Thu, 18 Dec 2008 19:31:30 +0100 (CET) User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <87r647wlip.fsf@broken.deisui.org> X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id mBIIiKCT029322 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 18 Dec 2008 13:44:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:23356 Archived-At: I have fixed that now. Jan D. Daiki Ueno skrev: >>>>>> In =20 >>>>>> TAKAHASHI Naoto wrote: >> $ emacs -Q >> M-x scroll-bar-mode RET >> M-< C-e 1 2 3 4 5 6 7 >=20 >> The character '6' is not displayed. >=20 > I've also experienced the same problem for months. I just did > git-bisect to find the cause. Here is the log: >=20 > git-bisect good a7ed2949c9a3769de4c44c8e9b1000fa708860e1 > git-bisect bad 64ed432df346190927205d0c7f5adb7c32ba13ea > git-bisect bad 0509621969ae0bf6cc78f58bb0aa6c8c2c0109ee > git-bisect skip ca88bf954c086af59495e5c7f1b6e6de5c4b7124 > git-bisect skip e7b1f8ef280ab2a452d01b5d67d4319d56fc6b28 >=20 > commit e7b1f8ef280ab2a452d01b5d67d4319d56fc6b28 > Author: Jan Dj=E4rv > Date: Sat Mar 1 14:56:53 2008 +0000 >=20 > (xg_resize_outer_widget): Only do one of set_geometry or > set_char_size. > (xg_frame_resized): Renamed from xg_resize_widgets. Remove all > operations on widgets here. Just set frame size if needed. > (flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functio= ns. > (xg_frame_set_char_size): Call x_wm_size_hint_off before resizing. > (x_wm_set_size_hint): Set size hints on the edit widget only, not > the whole frame. > (xg_create_tool_bar): Move attachement of the tool bar to > xg_pack_tool_bar. Do not attach the tool bar if there are no items. > (free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED. >=20 > This change introduced an extra guard around resize handling (in > gtkutil.c:xg_frame_resized), so that the layout logic no longer takes > place even if scroll-bar is turned off. >=20 > + if (rows !=3D FRAME_LINES (f) || columns !=3D FRAME_COLS (f) > + || (f->new_text_lines !=3D 0 && f->new_text_lines !=3D rows) > + || (f->new_text_cols !=3D 0 && f->new_text_cols !=3D columns= )) > + { > + change_frame_size (f, rows, columns, 0, 1, 0); > + SET_FRAME_GARBAGED (f); > + cancel_mouse_face (f); > + } > - change_frame_size (f, rows, columns, 0, 1, 0); > - SET_FRAME_GARBAGED (f); > - cancel_mouse_face (f); >=20 > Regards,