From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [Emacs-diffs] /srv/bzr/emacs/trunk r100650: Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249). Date: Sun, 27 Jun 2010 07:06:59 -0700 Message-ID: References: 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: dough.gmane.org 1277647661 24697 80.91.229.12 (27 Jun 2010 14:07:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Jun 2010 14:07:41 +0000 (UTC) Cc: 'Emacs developers' To: "'Juanma Barranquero'" , "'Chong Yidong'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 27 16:07:39 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSsWI-0000LR-Cj for ged-emacs-devel@m.gmane.org; Sun, 27 Jun 2010 16:07:38 +0200 Original-Received: from localhost ([127.0.0.1]:35466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSsWH-0004QM-Fg for ged-emacs-devel@m.gmane.org; Sun, 27 Jun 2010 10:07:37 -0400 Original-Received: from [140.186.70.92] (port=35456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSsWB-0004Q7-2a for emacs-devel@gnu.org; Sun, 27 Jun 2010 10:07:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSsW9-00036j-RI for emacs-devel@gnu.org; Sun, 27 Jun 2010 10:07:30 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:21429) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSsW9-00036G-MX for emacs-devel@gnu.org; Sun, 27 Jun 2010 10:07:29 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o5RE7O8G028703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Jun 2010 14:07:26 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o5RD5cgs018609; Sun, 27 Jun 2010 14:07:23 GMT Original-Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 360112431277647614; Sun, 27 Jun 2010 07:06:54 -0700 Original-Received: from dradamslap1 (/141.144.88.51) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 27 Jun 2010 07:06:54 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcsV5vnuQ1ZVZSilRMihtwHWIDwSRAAGcGqQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4C275B1B.018F:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126458 Archived-At: > =A0Change default-frame-alist and menu/tool-bar-mode=20 > interaction (Bug#2249). =A0Don't add entries for `menu-bar-lines' > and `tool-bar-lines' to=A0`default-frame-alist' and > `initial-frame-alist' at startup. =A0Instead, use X resources > to update the `menu-bar-mode' and=A0`tool-bar-mode' variables > at startup, and use them as defaults during=A0frame creation. I haven't followed this and cannot check the new effect. But I hope = this does not mean that a user's customizations of, say, `default-frame-alist' = will no longer be respected wrt `menu-bar-lines' and `tool-bar-lines'. When you say "use X resources", do you mean that Emacs now sets X = resources or only that users can use X resources to set these parameters? (You say = "use X resources" the same way you say "don't add entries", so it's unclear = what the subject of the sentence is: Emacs code or the user.) --- FWIW: Over the past few major releases there has been considerable = fiddling with initial menu-bar and tool-bar settings and how they're established. I = hope this will settle down and reach a fixed point. ;-) As an example, I have = code that fits the frame to a buffer, and it has to calculate the frame height = differently for different Emacs versions, because of the different treatment of = these parameters.