From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ron House Newsgroups: gmane.emacs.help Subject: Trouble setting default font and window size Date: Thu, 28 Jul 2016 15:18:39 +1000 Message-ID: <579995AF.2090401@smartchat.net.au> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469683239 14597 80.91.229.3 (28 Jul 2016 05:20:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2016 05:20:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 07:20:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bSdkC-0006oD-DE for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 07:20:28 +0200 Original-Received: from localhost ([::1]:50924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSdkB-00026J-ID for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 01:20:27 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 28 Jul 2016 00:18:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 Original-Newsgroups: gnu.emacs.help Original-Lines: 39 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 182.239.164.82 Original-X-Trace: sv3-ZaOJrveBLYYp4/T+GYP3AUh91+Zdo6eCXfZ6SrNOVPL0cejVB/Hmt/oJhLAQDt3VWuoR4eYpAOtYYli!AC+recilyexDnBaPR6RutQaVD6Q3h8nX1sHjoyHTG9d3UmdZW21WpAY5j4F2KTNCF5im1FLgSyU2!Sjw= Original-X-Complaints-To: abuse@westnet.com.au X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2766 X-Received-Bytes: 2919 X-Received-Body-CRC: 600373197 Original-Xref: usenet.stanford.edu gnu.emacs.help:218645 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110956 Archived-At: I am trying to set a particular font and default window size, but I run into a problem. I get the font I want, but when emacs starts, just as it starts, before it sets the required font, it momentarily uses a larger font. The window size I ask for uses the entire screen height, so that larger font causes emacs to ignore my screen size request and use a much smaller, standard screen size. So I am having to specify a smaller size than I want so that the larger font only just fits the screen, but then my reduced window when the correct font takes over is smaller than I want. I start emacs with: emacs -i -geometry 85x64 <<< I really want 99x60 here. My .emacs contains the following lines related to font settings: (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "bitstream" :family "Bitstream Vera Sans Mono")))) '(header-line ((((class color grayscale) (background light)) (:inherit mode-line :background "grey90" :foreground "grey20" :box nil :height 0.5 :width condensed)))) '(mouse ((t (:background "black"))))) This is the font I want, but emacs starts up with some other font. Can that be changed? -- Ron House Building Peace: http://peacelegacy.org Australian Birds: http://wingedhearts.org Principle of Goodness academic site: http://principleofgoodness.net