From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1724: 23.0.60; fringe appears in spite of specification Date: Sun, 28 Dec 2008 16:34:45 -0800 Message-ID: <004301c9694d$3fde6eb0$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1724@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230511425 7895 80.91.229.12 (29 Dec 2008 00:43:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2008 00:43:45 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 01:44:52 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 1LH6FQ-0004w3-UP for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Dec 2008 01:44:45 +0100 Original-Received: from localhost ([127.0.0.1]:48327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH6ED-0004TX-7x for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Dec 2008 19:43:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LH6E9-0004TS-UQ for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 19:43:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LH6E8-0004TG-Bc for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 19:43:25 -0500 Original-Received: from [199.232.76.173] (port=45697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LH6E8-0004TD-5D for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 19:43:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53632) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LH6E7-0001Ev-MT for bug-gnu-emacs@gnu.org; Sun, 28 Dec 2008 19:43:24 -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 mBT0hLhS002603; Sun, 28 Dec 2008 16:43:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBT0e4wq001422; Sun, 28 Dec 2008 16:40:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 29 Dec 2008 00:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1724 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123051089032578 (code B ref -1); Mon, 29 Dec 2008 00:40:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Dec 2008 00:34:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBT0YlRP032572 for ; Sun, 28 Dec 2008 16:34:48 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:53318) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LH64o-0006Q7-Nu for emacs-pretest-bug@gnu.org; Sun, 28 Dec 2008 19:33:46 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LH65j-0008DJ-7J for emacs-pretest-bug@gnu.org; Sun, 28 Dec 2008 19:34:44 -0500 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:40892 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LH65i-0008DF-QW for emacs-pretest-bug@gnu.org; Sun, 28 Dec 2008 19:34:43 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBT0YJm6016566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 29 Dec 2008 00:34:22 GMT Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBT0Z6Vq023530 for ; Mon, 29 Dec 2008 00:35:07 GMT Original-Received: from dradamslap1 (/24.5.171.49) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 29 Dec 2008 00:34:33 +0000 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AclpTT9RkaOzzHIiTHOiygEoXA+sCw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt702.oracle.com [141.146.40.80] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.49581B1B.017F:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 28 Dec 2008 19:43:25 -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:23547 gmane.emacs.pretest.bugs:23564 Archived-At: This is a piece of bug #117, which describes several problems with frame parameters. This is the bug that, even when `default-frame-alist' specifies no fringe, the initial frame has fringe. I'm creating a new bug report for this small piece of 117, to simplify things. Save the code below to a file named `bug-117-fringe.el", then do this: runemacs.exe -Q --debug-init -l "bug-117-fringe.el" -f "foo" ;---------------------------------------------- (defun foo () (setq default-frame-alist (append '((minibuffer) (left-fringe . 0) (right-fringe . 0)) default-frame-alist)) (setq minibuffer-frame-alist (append '((minibuffer . only)) minibuffer-frame-alist))) (add-hook 'after-make-frame-functions (lambda (fr) (set-frame-size fr 60 20))) ;---------------------------------------------- This code works in Emacs 20 through 22. In Emacs 23, the first, non-minibuffer frame has both left and right fringe, in spite of the value of `default-frame-alist'. Note that without the call to `set-frame-size' in `after-make-frame-functions' the problem does not appear. The Elisp manual, node Initial Parameters, says this about `default-frame-alist': "This is an alist specifying default values of frame parameters for all Emacs frames--the first frame, and subsequent frames. When using the X Window System, you can get the same results by means of X resources in many cases." NB: "the first frame, and..." ^^^^^ In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-12-19 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'