From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: set-frame-font question Date: Sun, 18 Feb 2007 17:17:24 -0600 Organization: UseNetServer.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171842042 1795 80.91.229.12 (18 Feb 2007 23:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Feb 2007 23:40:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 19 00:40:36 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIvdz-00053u-Dz for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 00:40:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIvdy-0004Iz-RK for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Feb 2007 18:40:34 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx02.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 41 Original-X-Trace: e643945d8de89a13ab40012831 Original-Xref: shelby.stanford.edu gnu.emacs.help:145696 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41301 Archived-At: Hello: At the beginning of my .emacs I have this form: (setq initial-frame-alist '((name . "arial") (top . 370) (left . 1) (width . 163) (height . 17))) And at the end: (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 (:stipple nil :background "ghostwhite" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 108 :width normal :family "outline-arial unicode ms"))))) and these to make a frame for looking at things that don't play well with proportional fonts, like calendar: (make-frame '((name . "courier") (top . 1) (left . 1) (width . 98) (height . 17) (visibility . icon) ; nil or icon (font . "-outline-Courier New-normal-r-normal-normal-*-*-96-96-c-*-iso10646-1"))) (select-frame-by-name "courier") These work all right in version 21.3 but not in the latest snapshot of 22. However, if I go to the "courier" frame and issue M-x set-frame-font, it works okay. Does any of you have any idea why it can't be set from the init file? --debug-init doesn't complain, it just leaves it with the default proportional font and so gets the frame geometry wrong. Thanks, Ed