[Mew-dist 11103] Re: Mew 1.94.1 quirks

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
1999年 10月 28日 (木) 18:01:30 JST


From: 向内隆文 (MUKOUCHI Takafumi) <muko at example.com>
Subject: [Mew-dist 11098] Re: Mew 1.94.1 quirks

> In my environment (Emacs 20.4), bold faces appear in a new frame if
> that codes (set-face-font ...) is in '.emacs'. ?_?

OK. I understand that the following works well on Emacs 20.4.

  (set-face-font 'bold '(bold) t)
  (set-face-font 'italic '(italic) t)
  (set-face-font 'bold-italic '(bold italic) t)

My old .emacs contains the following code:

    (setq standard-fontset-spec14
	  "-misc-fixed-medium-r-normal--14-*-*-*-c-70-iso8859-1")
    (create-fontset-from-fontset-spec standard-fontset-spec14 nil 'noerror)
    (set-default-font standard-fontset-spec14)

'set-default-font' effects the current frame and has a side-effect
that disables bold in new frames. I changed the last line into:

    (setq default-frame-alist 
	  (cons (cons 'font standard-fontset-spec14) default-frame-alist)))

This new .emacs works very well with the "set-face-font" code. Thanks.

--Kazu



Mew-dist メーリングリストの案内