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: Toolbar mode on/off Date: Mon, 24 Sep 2007 15:46:44 -0700 Message-ID: References: <85ve9zhfin.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190674041 8057 80.91.229.12 (24 Sep 2007 22:47:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2007 22:47:21 +0000 (UTC) To: "David Kastrup" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 25 00:47:16 2007 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.50) id 1IZwhu-00079Q-KZ for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2007 00:47:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZwhr-0000Oc-Jk for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 18:47:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZwhp-0000Nw-4o for emacs-devel@gnu.org; Mon, 24 Sep 2007 18:47:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZwhn-0000Nd-Lq for emacs-devel@gnu.org; Mon, 24 Sep 2007 18:47:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZwhn-0000Na-JJ for emacs-devel@gnu.org; Mon, 24 Sep 2007 18:47:07 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IZwhh-0001Du-Ig; Mon, 24 Sep 2007 18:47:01 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l8OMkwmc012073; Mon, 24 Sep 2007 17:46:58 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l8OAQVfL012787; Mon, 24 Sep 2007 16:46:58 -0600 Original-Received: from dhcp-4op11-4op12-west-130-35-178-158.us.oracle.com by acsmt350.oracle.com with ESMTP id 3240356611190674000; Mon, 24 Sep 2007 15:46:40 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <85ve9zhfin.fsf@lola.goethe.zz> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: Linux 2.4-2.6 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:79766 Archived-At: > at the current point of time, enabling the toolbar and disabling it > again is not a noop, but rather causes shrinking. Shrinking of what? The frame? The font? In Emacs 22.1, I don't see shrinking of anything. The number of lines displayed is reduced or increased - that's the only change I see. > That's ugly. On > the other side, Emacs should not increase its frame size beyond the > given initial frame size. > > So I think that Emacs should record its startup frame size in _pixels_ > (or just record whether it started its geometry calculation with the > toolbar on or off). Turning the toolbar on and off should then cause > the text size to have the largest size fitting inside of the original > startup frame size. > > Of course, it would be nicer (and simpler altogether) if Emacs did not > change its frame pixel size at all when turning toolbar (or menubar or > whatever) on and off. Just to be sure I understand. Are you saying that turning the tool-bar on or off should have the (side-)effect of changing the font size? If so, my answer would be no, it should not. Better to change the frame size (if necessary) than the font size, IMO. But I don't see either one change in Emacs 22.1 (and that's good).