From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Setting font during startup makes emacs window enormous Date: Mon, 10 Mar 2008 09:14:03 +0100 Message-ID: <87d4q3ataq.fsf@ID-24456.user.uni-berlin.de> References: <20080309225829.GA6982@thened.net> Reply-To: Christoph Conrad NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1205137011 1746 80.91.229.12 (10 Mar 2008 08:16:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2008 08:16:51 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 09:17:17 2008 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 1JYdC8-0008Gv-02 for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 09:17:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYdBY-0004RE-Tj for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 04:16:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYdB2-0004Ht-6k for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:16:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYdB0-0004HQ-Gv for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:16:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYdB0-0004HK-DG for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:16:06 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYdB0-0001q8-9Q for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:16:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JYdAr-0004xs-To for emacs-devel@gnu.org; Mon, 10 Mar 2008 08:15:58 +0000 Original-Received: from p50891338.dip0.t-ipconnect.de ([80.137.19.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2008 08:15:57 +0000 Original-Received: from christoph.conrad by p50891338.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2008 08:15:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p50891338.dip0.t-ipconnect.de User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 Cancel-Lock: sha1:Cq+IYOABAN24I8j2t3TNcj0vp20= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:92011 gmane.emacs.pretest.bugs:21495 Archived-At: Hi Alec, * Alec Berryman wrote: > (set-default-font "DejaVu Sans Mono-14") Try using keep-size: ,---- | (set-default-font font-name &optional keep-size) | | [...] | | The default behavior is to keep the numbers of lines and columns in | the frame, thus may change its pixel size. If optional keep-size is | non-nil (interactively, prefix argument) the current frame size (in | pixels) is kept by adjusting the numbers of the lines and columns. `---- so simply call (set-default-font "DejaVu Sans Mono-14" t). With kind regards, Christoph