all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How set font for *all* buffers... not just first one?
@ 2002-11-26  1:17 seberino
  0 siblings, 0 replies; 6+ messages in thread
From: seberino @ 2002-11-26  1:17 UTC (permalink / raw)


This line in .emacs set font for first buffer only...

(set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")

So my question is....where do I set font so that all buffers
use that font???....

(Right now find-file-other-frame gives a new buffer with
wrong font.)

thanks,

Chris

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________

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

* Re: How set font for *all* buffers... not just first one?
       [not found] <mailman.1038273537.22787.help-gnu-emacs@gnu.org>
@ 2002-11-26  1:26 ` Jesper Harder
  2002-11-26  5:50   ` Tim Cross
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jesper Harder @ 2002-11-26  1:26 UTC (permalink / raw)


seberino@spawar.navy.mil writes:

> This line in .emacs set font for first buffer only...
>
> (set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
>
> So my question is....where do I set font so that all buffers
> use that font???....

Use `default-frame-alist' or set the font as an X resources.

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

* Re: How set font for *all* buffers... not just first one?
  2002-11-26  1:26 ` How set font for *all* buffers... not just first one? Jesper Harder
@ 2002-11-26  5:50   ` Tim Cross
  2002-11-26 18:26     ` seberino
  2002-11-26 18:19   ` seberino
       [not found]   ` <mailman.1038334847.13038.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 6+ messages in thread
From: Tim Cross @ 2002-11-26  5:50 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

> seberino@spawar.navy.mil writes:
> 
> > This line in .emacs set font for first buffer only...
> >
> > (set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
> >
> > So my question is....where do I set font so that all buffers
> > use that font???....
> 
> Use `default-frame-alist' or set the font as an X resources.

or use M-x customize-face RET default RET

Or, if running emacs 21, you can use set-face-attribute for the
default face. If the 3rd argument to this function is nil, it will
apply to all frames e.g.

(set-face_attribute 'default nil :family "b&h-lucidatypewriter")

or, on the command line use emacs -fn "-b&h-lucidatypewriter-......

Personally, I like to use X resources for setting the font as using
that font is only relevant when your running under X, but your .emacs
runs when you running under tty, X, within xterm, etc etc.

The X setting is

emacs.font: -b&h-..........

in your .Xresources file.

Tim

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

* Re: How set font for *all* buffers... not just first one?
  2002-11-26  1:26 ` How set font for *all* buffers... not just first one? Jesper Harder
  2002-11-26  5:50   ` Tim Cross
@ 2002-11-26 18:19   ` seberino
       [not found]   ` <mailman.1038334847.13038.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: seberino @ 2002-11-26 18:19 UTC (permalink / raw)
  Cc: help-gnu-emacs

Please tell me format to set font in default-frame-alist...

I tried adding (frame-font  . "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15") amongst the other elements of the list and it didn't take.

CS

On Tue, Nov 26, 2002 at 02:26:54AM +0100, Jesper Harder wrote:
> seberino@spawar.navy.mil writes:
> 
> > This line in .emacs set font for first buffer only...
> >
> > (set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
> >
> > So my question is....where do I set font so that all buffers
> > use that font???....
> 
> Use `default-frame-alist' or set the font as an X resources.
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________

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

* Re: How set font for *all* buffers... not just first one?
  2002-11-26  5:50   ` Tim Cross
@ 2002-11-26 18:26     ` seberino
  0 siblings, 0 replies; 6+ messages in thread
From: seberino @ 2002-11-26 18:26 UTC (permalink / raw)
  Cc: help-gnu-emacs

Tim

thanks for help...

I have Emacs 21 and tried 
(set-face_attribute ...) as well as
(set-face-attribute ...)

the first gave error and second didn't change font.

Am I missing something?

CS

On Tue, Nov 26, 2002 at 04:50:26PM +1100, Tim Cross wrote:
> Jesper Harder <harder@myrealbox.com> writes:
> 
> > seberino@spawar.navy.mil writes:
> > 
> > > This line in .emacs set font for first buffer only...
> > >
> > > (set-frame-font "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
> > >
> > > So my question is....where do I set font so that all buffers
> > > use that font???....
> > 
> > Use `default-frame-alist' or set the font as an X resources.
> 
> or use M-x customize-face RET default RET
> 
> Or, if running emacs 21, you can use set-face-attribute for the
> default face. If the 3rd argument to this function is nil, it will
> apply to all frames e.g.
> 
> (set-face_attribute 'default nil :family "b&h-lucidatypewriter")
> 
> or, on the command line use emacs -fn "-b&h-lucidatypewriter-......
> 
> Personally, I like to use X resources for setting the font as using
> that font is only relevant when your running under X, but your .emacs
> runs when you running under tty, X, within xterm, etc etc.
> 
> The X setting is
> 
> emacs.font: -b&h-..........
> 
> in your .Xresources file.
> 
> Tim
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-1269
Email: seberino@spawar.navy.mil
_______________________________________

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

* Re: How set font for *all* buffers... not just first one?
       [not found]   ` <mailman.1038334847.13038.help-gnu-emacs@gnu.org>
@ 2002-11-26 19:11     ` Jesper Harder
  0 siblings, 0 replies; 6+ messages in thread
From: Jesper Harder @ 2002-11-26 19:11 UTC (permalink / raw)


seberino@spawar.navy.mil writes:

> Please tell me format to set font in default-frame-alist...
>
> I tried adding 
> (frame-font . "-b&h-luxi mono-medium-r-normal-*-*-160-*-*-m-*-iso8859-15")
> amongst the other elements of the list and it didn't take.

Use 'font' instead of 'frame-font'.

NB: Please don't top-post.  Place your reply below the quoted text,
thanks.

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

end of thread, other threads:[~2002-11-26 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1038273537.22787.help-gnu-emacs@gnu.org>
2002-11-26  1:26 ` How set font for *all* buffers... not just first one? Jesper Harder
2002-11-26  5:50   ` Tim Cross
2002-11-26 18:26     ` seberino
2002-11-26 18:19   ` seberino
     [not found]   ` <mailman.1038334847.13038.help-gnu-emacs@gnu.org>
2002-11-26 19:11     ` Jesper Harder
2002-11-26  1:17 seberino

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.