From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#1545: 23.0.60; scroll-bar-mode and fringe Date: Wed, 17 Dec 2008 12:03:42 +0900 Message-ID: <87r647wlip.fsf@broken.deisui.org> References: Reply-To: Daiki Ueno , 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 1229499328 9117 80.91.229.12 (17 Dec 2008 07:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 07:35:28 +0000 (UTC) Cc: TAKAHASHI Naoto , 1545@emacsbugs.donarmstrong.com To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 08:36:34 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 1LCqxM-0008RB-1s for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 08:36:32 +0100 Original-Received: from localhost ([127.0.0.1]:52560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqw9-0006Yo-QD for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 02:35:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCqm6-0002l3-3v for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCqlp-0002Tv-1Y for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:44 -0500 Original-Received: from [199.232.76.173] (port=42301 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqln-0002SS-Nu for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60174) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCqlm-0005pG-Qi for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:35 -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 mBH7OJFg014034; Tue, 16 Dec 2008 23:24:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBH7AAZC010317; Tue, 16 Dec 2008 23:10:10 -0800 X-Loop: don@donarmstrong.com Resent-From: Daiki Ueno Original-Sender: Daiki Ueno Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 07:10:10 +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.122948302930145 (code B ref 1545); Wed, 17 Dec 2008 07:10:10 +0000 Original-Received: (at 1545) by emacsbugs.donarmstrong.com; 17 Dec 2008 03:03:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBH33ja7030139 for <1545@emacsbugs.donarmstrong.com>; Tue, 16 Dec 2008 19:03:47 -0800 Original-Received: by wa-out-1112.google.com with SMTP id j40so2021016wah.1 for <1545@emacsbugs.donarmstrong.com>; Tue, 16 Dec 2008 19:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=MJPHy+g+z7ekw6Zn2OKE+khl7I6jTDR9FbbPm30MIks=; b=oUW5z1fN+TjMn/Uyx9soxYGQp3QOjMQQ7YkSkI8h3Ia8q+kTy0+aKWB+MsgWXP9Tp9 GhrV9D/HHO83Q3cqPPnHyq6Mt74dMzq9CD0PlGfLOrLIzsGg5nhtmsI9+sCmfnqJuoPB zmf5sWhvkY6hgIfFyyWms2iiT2fGmdz4z1m/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=qeQPKDs6nmv/eEGbnNTFUxyEik9V1LdLNqTUx+4Zc1/44ZeCcqHJhNs5OJzs7Bfzt7 5fVaNCAt/j9Olv9OSrJXSRid0FBqHIL9nUDFlpyPBaOySag5habw+1VmDFM/TC2yczlV eoj1pnjN9yyuYKtg6/QMhSJC0KcyRmaxGU2to= Original-Received: by 10.114.196.13 with SMTP id t13mr27386waf.82.1229483025537; Tue, 16 Dec 2008 19:03:45 -0800 (PST) Original-Received: from p360 ([150.82.175.84]) by mx.google.com with ESMTPS id q18sm317263pog.23.2008.12.16.19.03.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Dec 2008 19:03:45 -0800 (PST) In-Reply-To: (TAKAHASHI Naoto's message of "Fri, 12 Dec 2008 16:36:53 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 17 Dec 2008 02:24:44 -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:23305 Archived-At: >>>>> In =20 >>>>> TAKAHASHI Naoto wrote: > $ emacs -Q > M-x scroll-bar-mode RET > M-< C-e 1 2 3 4 5 6 7 > The character '6' is not displayed. I've also experienced the same problem for months. I just did git-bisect to find the cause. Here is the log: git-bisect good a7ed2949c9a3769de4c44c8e9b1000fa708860e1 git-bisect bad 64ed432df346190927205d0c7f5adb7c32ba13ea git-bisect bad 0509621969ae0bf6cc78f58bb0aa6c8c2c0109ee git-bisect skip ca88bf954c086af59495e5c7f1b6e6de5c4b7124 git-bisect skip e7b1f8ef280ab2a452d01b5d67d4319d56fc6b28 commit e7b1f8ef280ab2a452d01b5d67d4319d56fc6b28 Author: Jan Dj=E4rv Date: Sat Mar 1 14:56:53 2008 +0000 (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 functions. (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. 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. + 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); Regards, --=20 Daiki Ueno