all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: set-frame-font question
Date: Mon, 19 Feb 2007 06:19:23 +0200	[thread overview]
Message-ID: <u1wkmkcdw.fsf@gnu.org> (raw)
In-Reply-To: <e6439$45d8de89$49f11a5$12831@DIALUPUSA.NET> (ecinmn@alcisp.com)

> From: "B. T. Raven" <ecinmn@alcisp.com>
> Date: Sun, 18 Feb 2007 17:17:24 -0600
> 
> 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.

Please explain what you mean by ``work''.  You didn't say what you
thought these customizations should do, in your opinion, and without
that it's very hard to guess what's wrong with them.

What I see is that you customized the initial frame and the default
face, that's all.

> 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.

Do you want all frames to use the outline-arial font?  Is that it?  If
so, did you try customizing default-frame-alist to specify that?

  reply	other threads:[~2007-02-19  4:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-18 23:17 set-frame-font question B. T. Raven
2007-02-19  4:19 ` Eli Zaretskii [this message]
     [not found] ` <mailman.4714.1171858764.2155.help-gnu-emacs@gnu.org>
2007-02-19  5:29   ` B. T. Raven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u1wkmkcdw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.