From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#403: 23.0.60; two bugs with internal-border-width Date: Sun, 15 Jun 2008 01:54:31 -0400 Message-ID: References: Reply-To: Stefan Monnier , 403@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213510050 23253 80.91.229.12 (15 Jun 2008 06:07:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 06:07:30 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 403@emacsbugs.donarmstrong.com To: Tom Tromey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 15 08:08:13 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 1K7lPM-00055p-07 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2008 08:08:08 +0200 Original-Received: from localhost ([127.0.0.1]:37732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7lOX-0008KP-Rw for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2008 02:07:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7lOS-0008KA-QL for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 02:07:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7lOR-0008Ji-8q for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 02:07:12 -0400 Original-Received: from [199.232.76.173] (port=35382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7lOQ-0008JQ-SN for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 02:07:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36781) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7lOQ-0003d4-9D for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2008 02:07:10 -0400 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 m5F678C4026270; Sat, 14 Jun 2008 23:07:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5F605qU023400; Sat, 14 Jun 2008 23:00:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 15 Jun 2008 06:00:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 403 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 403-submit@emacsbugs.donarmstrong.com id=B403.121350928022025 (code B ref 403); Sun, 15 Jun 2008 06:00:05 +0000 Original-Received: (at 403) by emacsbugs.donarmstrong.com; 15 Jun 2008 05:54:40 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5F5sb1F022016 for <403@emacsbugs.donarmstrong.com>; Sat, 14 Jun 2008 22:54:38 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcEAJRLVEjO+KWv/2dsb2JhbACBW6pN X-IronPort-AV: E=Sophos;i="4.27,647,1204520400"; d="scan'208";a="22665062" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 15 Jun 2008 01:54:31 -0400 Original-Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id VLR60931; Sun, 15 Jun 2008 01:54:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 374FE7FBD; Sun, 15 Jun 2008 01:54:31 -0400 (EDT) In-Reply-To: (Tom Tromey's message of "Thu, 12 Jun 2008 15:16:30 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 15 Jun 2008 02:07:12 -0400 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:18404 gmane.emacs.pretest.bugs:22634 Archived-At: > Evalling this form yields 0: > (let ((f (make-frame '((internal-border-width . 20))))) > (prog1 > (frame-parameter f 'internal-border-width) > (delete-frame f))) > ... I expected it to yield 20. Apparently it's because of /* GTK does not set any border, and they look bad with GTK. */ f->border_width = 0; f->internal_border_width = 0; in gtkutil.c:xg_create_frame_widgets. I think I've fixed it now. > Also, once a frame is displayed, if I modify internal-border-width > (changing it from 0 to 20, say), it can leave some garbage on the > screen, where the new border should be. recenter fixes this. Sorry, I don't know how to even begin debugging this. Stefan