From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Toolbar mode on/off Date: Tue, 25 Sep 2007 08:10:31 +0200 Message-ID: <46F8A657.6090702@swipnet.se> References: <85ve9zhfin.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190700696 3269 80.91.229.12 (25 Sep 2007 06:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2007 06:11:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 25 08:11:32 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 1Ia3dq-0002zW-GM for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2007 08:11:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ia3dn-0004q1-Hb for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2007 02:11:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ia3dk-0004pe-Vj for emacs-devel@gnu.org; Tue, 25 Sep 2007 02:11:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ia3dj-0004pO-HO for emacs-devel@gnu.org; Tue, 25 Sep 2007 02:11:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ia3dj-0004pL-Dr for emacs-devel@gnu.org; Tue, 25 Sep 2007 02:11:23 -0400 Original-Received: from av9-1-sn2.hy.skanova.net ([81.228.8.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ia3di-00011o-4U; Tue, 25 Sep 2007 02:11:22 -0400 Original-Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id 873F7384D8; Tue, 25 Sep 2007 08:11:16 +0200 (CEST) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id 7389237EDE; Tue, 25 Sep 2007 08:11:16 +0200 (CEST) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 5FC8837E4C; Tue, 25 Sep 2007 08:11:16 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: <85ve9zhfin.fsf@lola.goethe.zz> 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:79778 Archived-At: David Kastrup skrev: > Hi, > > at the current point of time, enabling the toolbar and disabling it > again is not a noop, but rather causes shrinking. 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. > It is on my todo-list, but I'm still waiting for the unicode2 merger to happen first before committing large changes. Jan D.