unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting default face-font in Carbon Emacs
@ 2005-03-06 16:08 Tim McNamara
  2005-03-06 19:08 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tim McNamara @ 2005-03-06 16:08 UTC (permalink / raw)


The default face in Carbon Emacs is tiring the read (Courier, I
think).  I'd like to replace it with something easier to read.
Unfortunately Emacs doesn't seem to be able to access the native Mac
fonts, although I am not sure about this.  Trying to get it to use
Lucida Grande, I put

(set-face-font 'default "-apple-lucida
grande-medium-r-normal--12-140-75-75-m-120-mac-roman")

in my .emacs file, but only the default opening buffer is in this
font- all subsequent buffers revert to the Courier font.  Obviously my
configuration is incomplete somehow.  How do I get the face to apply
to all buffers?  I would have throught that

     set-face-font 'default

would do this automatically, but apparently not.

Carbon Emacs 21.3.50.1, not built by me, 5/29/04 (US date convention).

Thanks for any help!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-06 16:08 Setting default face-font in Carbon Emacs Tim McNamara
@ 2005-03-06 19:08 ` Peter Dyballa
  2005-03-06 20:29 ` Stefan Monnier
       [not found] ` <mailman.2783.1110137303.32256.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2005-03-06 19:08 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 06.03.2005 um 17:08 schrieb Tim McNamara:

> How do I get the face to apply to all buffers?

What about this?

   (setq initial-frame-alist '(
         (mouse-color      . "midnightblue")
         (foreground-color . "midnightblue")
         (background-color . "antiquewhite1")
         (font . "fontset-12pt_bitstream_courier")
         (top . 10) (left . 650) (width . 89) (height . 60)))
   (setq default-frame-alist '(
         (background-color . "ghost white")
         (foreground-color . "grey10")
         (vertical-scroll-bars . left)
         (font . "fontset-12pt_lucidasans_typewriter")
         (cursor-color . "purple")
         (cursor-type . box)
         (top . 20) (left . 150) (width . 89) (height . 56)))


--
Greetings

   Pete

Bake Pizza not war!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-06 16:08 Setting default face-font in Carbon Emacs Tim McNamara
  2005-03-06 19:08 ` Peter Dyballa
@ 2005-03-06 20:29 ` Stefan Monnier
  2005-03-07  0:25   ` Tim McNamara
       [not found] ` <mailman.2783.1110137303.32256.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2005-03-06 20:29 UTC (permalink / raw)


> (set-face-font 'default "-apple-lucida
> grande-medium-r-normal--12-140-75-75-m-120-mac-roman")

> in my .emacs file, but only the default opening buffer is in this
> font- all subsequent buffers revert to the Courier font.

Seems like a bug.  Please report it with M-x report-emacs-bug.


        Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
       [not found] ` <mailman.2783.1110137303.32256.help-gnu-emacs@gnu.org>
@ 2005-03-07  0:24   ` Tim McNamara
  2005-03-07  0:35     ` Tim McNamara
  0 siblings, 1 reply; 9+ messages in thread
From: Tim McNamara @ 2005-03-07  0:24 UTC (permalink / raw)


Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 06.03.2005 um 17:08 schrieb Tim McNamara:
>
>> How do I get the face to apply to all buffers?
>
> What about this?
>
>    (setq initial-frame-alist '(
>          (mouse-color      . "midnightblue")
>          (foreground-color . "midnightblue")
>          (background-color . "antiquewhite1")
>          (font . "fontset-12pt_bitstream_courier")
>          (top . 10) (left . 650) (width . 89) (height . 60)))
>    (setq default-frame-alist '(
>          (background-color . "ghost white")
>          (foreground-color . "grey10")
>          (vertical-scroll-bars . left)
>          (font . "fontset-12pt_lucidasans_typewriter")
>          (cursor-color . "purple")
>          (cursor-type . box)
>          (top . 20) (left . 150) (width . 89) (height . 56)))

I will give this a try.  Thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-06 20:29 ` Stefan Monnier
@ 2005-03-07  0:25   ` Tim McNamara
  2005-03-07  1:24     ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Tim McNamara @ 2005-03-07  0:25 UTC (permalink / raw)


Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (set-face-font 'default "-apple-lucida
>> grande-medium-r-normal--12-140-75-75-m-120-mac-roman")
>
>> in my .emacs file, but only the default opening buffer is in this
>> font- all subsequent buffers revert to the Courier font.
>
> Seems like a bug.  Please report it with M-x report-emacs-bug.

Done.  Thanks!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-07  0:24   ` Tim McNamara
@ 2005-03-07  0:35     ` Tim McNamara
  2005-03-07  9:59       ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Tim McNamara @ 2005-03-07  0:35 UTC (permalink / raw)


Tim McNamara <timmcn@bitstream.net> writes:

> Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>
>> Am 06.03.2005 um 17:08 schrieb Tim McNamara:
>>
>>> How do I get the face to apply to all buffers?
>>
>> What about this?
>>
>>    (setq initial-frame-alist '(
>>          (mouse-color      . "midnightblue")
>>          (foreground-color . "midnightblue")
>>          (background-color . "antiquewhite1")
>>          (font . "fontset-12pt_bitstream_courier")
>>          (top . 10) (left . 650) (width . 89) (height . 60)))
>>    (setq default-frame-alist '(
>>          (background-color . "ghost white")
>>          (foreground-color . "grey10")
>>          (vertical-scroll-bars . left)
>>          (font . "fontset-12pt_lucidasans_typewriter")
>>          (cursor-color . "purple")
>>          (cursor-type . box)
>>          (top . 20) (left . 150) (width . 89) (height . 56)))
>
> I will give this a try.  Thanks!

The result is (1) a rather pretty looking window that is way off to
the right side of the screen (2) the following message:

frame-notice-user-settings: Font `fontset-12pt_bitstream_courier' is
not defined

and (3) all the buffers show up in the Courier face I'd like to get
rid of...  But I have to say, this is much easier on the eyes!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-07  0:25   ` Tim McNamara
@ 2005-03-07  1:24     ` Stefan Monnier
  2005-03-07  3:40       ` Tim McNamara
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2005-03-07  1:24 UTC (permalink / raw)


>> Seems like a bug.  Please report it with M-x report-emacs-bug.
> Done.  Thanks!

BTW, when reporting a bug, a good habit is to not ask for a workaround,
otherwise people may just give you the workaround rather than fix the bug.

Even if it turns out the problem you're reporting wasn't a bug, it's always
a misfeature if the most obvious solution (to you anyway) doesn't do what
you expected.


        Stefan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-07  1:24     ` Stefan Monnier
@ 2005-03-07  3:40       ` Tim McNamara
  0 siblings, 0 replies; 9+ messages in thread
From: Tim McNamara @ 2005-03-07  3:40 UTC (permalink / raw)


Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> Seems like a bug.  Please report it with M-x report-emacs-bug.
>> Done.  Thanks!
>
> BTW, when reporting a bug, a good habit is to not ask for a
> workaround, otherwise people may just give you the workaround rather
> than fix the bug.

Point taken, thank you.

> Even if it turns out the problem you're reporting wasn't a bug, it's
> always a misfeature if the most obvious solution (to you anyway)
> doesn't do what you expected.

"Misfeature" is a good term.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Setting default face-font in Carbon Emacs
  2005-03-07  0:35     ` Tim McNamara
@ 2005-03-07  9:59       ` Peter Dyballa
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2005-03-07  9:59 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 07.03.2005 um 01:35 schrieb Tim McNamara:

> frame-notice-user-settings: Font `fontset-12pt_bitstream_courier' is
> not defined

It refers to settings I mailed to the Emacs on Mac OS X list 'rounf 
last Christmas:


------------------------------- Info --------------------------------
List Post: <mailto:macosx-emacs@email.esm.psu.edu>
List Archives: <http://www.esm.psu.edu/mac-tex/MacOSX-Emacs-Digests/>


But beware: you might be missing some fonts!

--
Greetings

   Pete     === -Q
              ==<__/% >>
_____________(_)____@_____________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-07  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-06 16:08 Setting default face-font in Carbon Emacs Tim McNamara
2005-03-06 19:08 ` Peter Dyballa
2005-03-06 20:29 ` Stefan Monnier
2005-03-07  0:25   ` Tim McNamara
2005-03-07  1:24     ` Stefan Monnier
2005-03-07  3:40       ` Tim McNamara
     [not found] ` <mailman.2783.1110137303.32256.help-gnu-emacs@gnu.org>
2005-03-07  0:24   ` Tim McNamara
2005-03-07  0:35     ` Tim McNamara
2005-03-07  9:59       ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).