From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#1754: 23.0.60; tool-bar is shown with tool-bar-mode off Date: Thu, 1 Jan 2009 13:51:03 -0800 Message-ID: <008901c96c5b$0bcbd020$0200a8c0@us.oracle.com> References: <005301c96b95$547ae890$c2b22382@us.oracle.com><495CE033.70808@gmx.at> <008801c96c57$dcbd5540$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1754@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 1230847494 27687 80.91.229.12 (1 Jan 2009 22:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2009 22:04:54 +0000 (UTC) To: <1754@emacsbugs.donarmstrong.com>, "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 01 23:06:02 2009 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 1LIVfB-0004An-D1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2009 23:05:25 +0100 Original-Received: from localhost ([127.0.0.1]:48431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIVdw-0008Sg-GF for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2009 17:03:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIVdX-00089T-4t for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 17:03:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIVdV-00088P-Rz for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 17:03:26 -0500 Original-Received: from [199.232.76.173] (port=33208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIVdV-00088D-N5 for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 17:03:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55105) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LIVdU-0000Cx-T3 for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2009 17:03:25 -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 n01M3MNl013817; Thu, 1 Jan 2009 14:03:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n01M04gi012781; Thu, 1 Jan 2009 14:00: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: Thu, 01 Jan 2009 22:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1754 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1754-submit@emacsbugs.donarmstrong.com id=B1754.123084667511448 (code B ref 1754); Thu, 01 Jan 2009 22:00:04 +0000 Original-Received: (at 1754) by emacsbugs.donarmstrong.com; 1 Jan 2009 21:51:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from acsinet11.oracle.com (acsinet11.oracle.com [141.146.126.233]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n01LpCo8011441 for <1754@emacsbugs.donarmstrong.com>; Thu, 1 Jan 2009 13:51:13 -0800 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n01LqUnY011210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 1 Jan 2009 21:52:31 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n01LpbI8016570; Thu, 1 Jan 2009 21:51:38 GMT Original-Received: from dradamslap1 (/24.5.134.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 Jan 2009 13:51:02 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <008801c96c57$dcbd5540$0200a8c0@us.oracle.com> Thread-Index: AclsJX37ag8MOW/aSIikTxmNaRc8TgALdCbgAAG74JA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020A.495D3AC7.01CE:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 01 Jan 2009 17:03:26 -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:23668 Archived-At: > The problem is, I'm thinking now, that the entry > (tool-bar-lines . 1) in > `pop-up-frames-alist' is being used for the creation of new > frames when > `pop-up-frames' is non-nil. If that is happening, it is > incorrect behavior, on > two counts: > > 1. `tool-bar-mode' should be modal and affect all existing > and subsequent frames, regardless of their default alist > (`special-display-frame-alist', `pop-up-frame-alist', or > `default-frame-alist'). > > 2. `pop-up-frame-alist' should not be used for creating > normal new frames. > > The "pop-up" in each of the names `pop-up-frames' and > `pop-up-frames-alist' means very different things. > `pop-up-frames-alist' is not about creating normal > new frames - `default-frame-alist' should be used for that. > And `pop-up-frames' simply changes things like `C-x 4 f' > to act like `C-x 5 f' - it has nothing to do with popup frames. > > `pop-up-frames-alist' is about special, "popup" frames (which > is why it is a separate alist, like `special-display-frame-alist'): > > "Alist of frame parameters used when creating pop-up frames. > Pop-up frames are used for completions, help, and the like. > This variable can be set in your init file, like this: > (setq pop-up-frame-alist '((width . 80) (height . 20))) > These supersede the values given in `default-frame-alist', > for pop-up frames." I think the bug was introduced when someone translated the C code definition of `display-buffer' to Lisp. This code was added gratuitously, and it causes `pop-up-frames' to use `pop-up-frame-alist': (let... ;; On text-only terminals do not pop up a new frame when ;; `pop-up-frames' equals graphic-only. (use-pop-up-frames (if (eq pop-up-frames 'graphic-only) (display-graphic-p) pop-up-frames)) `pop-up-frames' being non-nil should in no way cause `C-x 5 b' etc. to use `pop-up-frame-alist' for the new frame creation.