unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to customize default face (font)? (2nd post)
@ 2003-03-14 18:24 A. L. Meyers
  2003-03-14 22:57 ` Oliver Scholz
  0 siblings, 1 reply; 5+ messages in thread
From: A. L. Meyers @ 2003-03-14 18:24 UTC (permalink / raw)


Hi! Have the following line in ~/.xemacs/custom.el:

'(default ((t (:size "11pt" :family "Terminus"))) t)

Have tried to customize Emacs the same way but alas haven't got it to
work yet.  Suggestions welcome.

Lucien

-- 
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
strategic nuclear BND assassination counter-intelligence Semtex Ortega 

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

* Re: How to customize default face (font)? (2nd post)
  2003-03-14 18:24 How to customize default face (font)? (2nd post) A. L. Meyers
@ 2003-03-14 22:57 ` Oliver Scholz
  2003-03-15 14:31   ` A. L. Meyers
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Scholz @ 2003-03-14 22:57 UTC (permalink / raw)


A. L. Meyers <me@privacy.net> writes:

> Hi! Have the following line in ~/.xemacs/custom.el:
>
> '(default ((t (:size "11pt" :family "Terminus"))) t)
>
> Have tried to customize Emacs the same way but alas haven't got it to
> work yet.  Suggestions welcome.
[...]

What exactly did you try to achieve? What did you expect? This is
obviously a line that was put there via the customize interface. Did
you copy it into you .emacs? If so: customize isn't supposed to be
used that way. Try `M-x customize-face RET default RET' and set it
according to your preferences. 

[`:size' is not the right keyword for Emacs. It has to be `:height'.]

Or do you want to know what Elisp code you should put into you .emacs
to get such a default face?

    Oliver
-- 
24 Ventôse an 211 de la Révolution
Liberté, Egalité, Fraternité!

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

* Re: How to customize default face (font)? (2nd post)
  2003-03-14 22:57 ` Oliver Scholz
@ 2003-03-15 14:31   ` A. L. Meyers
  2003-03-15 17:26     ` Oliver Scholz
  0 siblings, 1 reply; 5+ messages in thread
From: A. L. Meyers @ 2003-03-15 14:31 UTC (permalink / raw)


Oliver Scholz <alkibiades@gmx.de> writes:

> A. L. Meyers <me@privacy.net> writes:
>
>> Hi! Have the following line in ~/.xemacs/custom.el:
>>
>> '(default ((t (:size "11pt" :family "Terminus"))) t)
>>
>> Have tried to customize Emacs the same way but alas haven't got it to
>> work yet.  Suggestions welcome.
> [...]
>
> What exactly did you try to achieve? What did you expect? This is
> obviously a line that was put there via the customize interface. Did
> you copy it into you .emacs? If so: customize isn't supposed to be
> used that way. Try `M-x customize-face RET default RET' and set it
> according to your preferences. 
>
> [`:size' is not the right keyword for Emacs. It has to be `:height'.]
>
> Or do you want to know what Elisp code you should put into you .emacs
> to get such a default face?
>
>     Oliver

Sorry if I wasn't verbose enough, Oliver.  I just tried to copy the
above line generated by xemacs customize into .emacs.el but obviously
this simplistic approach does not work.  Also already tried to use emacs
customize to achieve the same goal but there are obviously
incompatibilities, like the one you mention.

Either way (.emacs.el or customize) would be fine with me.

Lucien
-- 
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
Sudan NORAD quiche Honduras Delta Force Uzi cracking BND class struggle 

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

* Re: How to customize default face (font)? (2nd post)
  2003-03-15 14:31   ` A. L. Meyers
@ 2003-03-15 17:26     ` Oliver Scholz
  2003-03-16  7:33       ` A. L. Meyers
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Scholz @ 2003-03-15 17:26 UTC (permalink / raw)


A. L. Meyers <me@privacy.net> writes:
[...]
>>> '(default ((t (:size "11pt" :family "Terminus"))) t)
[...]

> Sorry if I wasn't verbose enough, Oliver.  I just tried to copy the
> above line generated by xemacs customize into .emacs.el but obviously
> this simplistic approach does not work.  Also already tried to use emacs
> customize to achieve the same goal but there are obviously
> incompatibilities, like the one you mention.
>
> Either way (.emacs.el or customize) would be fine with me.
[...]

Well, then I think it's best to use customize. Please type `M-x
customize-face RET default RET'. Then enter "Terminus" (without the
quotes) into the editable field after the attribute "Font
family". And enter "110" into the editable field after "Height". Make
sure that "Height in 1/10 pt" is chosen from the value menu. Then
click on "Set for current session" to see whether this has the
desired effect. If it has, click on "Save for future sessions".

[If this doesn't work: what operating system do you use and what
version of Emacs?]

    Oliver
-- 
25 Ventôse an 211 de la Révolution
Liberté, Egalité, Fraternité!

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

* Re: How to customize default face (font)? (2nd post)
  2003-03-15 17:26     ` Oliver Scholz
@ 2003-03-16  7:33       ` A. L. Meyers
  0 siblings, 0 replies; 5+ messages in thread
From: A. L. Meyers @ 2003-03-16  7:33 UTC (permalink / raw)


Oliver Scholz <alkibiades@gmx.de> writes:

> A. L. Meyers <me@privacy.net> writes:
> [...]
>>>> '(default ((t (:size "11pt" :family "Terminus"))) t)
> [...]
>
>> Sorry if I wasn't verbose enough, Oliver.  I just tried to copy the
>> above line generated by xemacs customize into .emacs.el but obviously
>> this simplistic approach does not work.  Also already tried to use emacs
>> customize to achieve the same goal but there are obviously
>> incompatibilities, like the one you mention.
>>
>> Either way (.emacs.el or customize) would be fine with me.
> [...]
>
> Well, then I think it's best to use customize. Please type `M-x
> customize-face RET default RET'. Then enter "Terminus" (without the
> quotes) into the editable field after the attribute "Font
> family". And enter "110" into the editable field after "Height". Make
> sure that "Height in 1/10 pt" is chosen from the value menu. Then
> click on "Set for current session" to see whether this has the
> desired effect. If it has, click on "Save for future sessions".
>
> [If this doesn't work: what operating system do you use and what
> version of Emacs?]
>
>     Oliver

Thanks again, Oliver.  Your last recommendations seems to work.
However, I had to click the other small boxes to the left in order to
have attributes other than height and font family take no effect.
Interestingly enough, the look of the Terminus font (same machine) at 11
points height under Emacs seems different from Xemacs, the latter
appearing noticeably larger on the screen.  On the other hand, the
different foreground and background (Emacs white on black, Xemacs
standard colours on light grey) might suggest this effect.

Answers to your queries:  OS Debian GNU/Linux testing, Emacs 21.2 from
Debian testing package.

Cheers!

Lucien
-- 
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
FBI Waco, Texas Saddam Hussein sentiero Bin Ladin Kabul CIA Khaddafi Uzi 

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

end of thread, other threads:[~2003-03-16  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-14 18:24 How to customize default face (font)? (2nd post) A. L. Meyers
2003-03-14 22:57 ` Oliver Scholz
2003-03-15 14:31   ` A. L. Meyers
2003-03-15 17:26     ` Oliver Scholz
2003-03-16  7:33       ` A. L. Meyers

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