* How to Save a Font in Emacs
@ 2007-05-16 17:15 kvnsmnsn
2007-05-17 0:30 ` mowgli
0 siblings, 1 reply; 8+ messages in thread
From: kvnsmnsn @ 2007-05-16 17:15 UTC (permalink / raw)
To: help-gnu-emacs
I'm currently using GNU Emacs for most of my editing, version 21.4.1
(x86_64-redhat-linux.gnu, X toolkit, Xaw3d scroll bars). I can change
the font size by clicking on
<Options>-<Mule (Multilingual Environment>-<Set Font/Fontset> and then
select <Courier 10>. But then when I exit and later open up another
Emacs session it reverts back to the default font and size. This hap-
pens even if I click on <Options>-<Save Options>. Does anyone know
how I can save the <Courier 10> font setting so I don't have to set my
session to that every time I enter the editor? Any information on
this would be greatly appreciated.
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-16 17:15 How to Save a Font in Emacs kvnsmnsn
@ 2007-05-17 0:30 ` mowgli
2007-05-17 15:10 ` kvnsmnsn
0 siblings, 1 reply; 8+ messages in thread
From: mowgli @ 2007-05-17 0:30 UTC (permalink / raw)
To: help-gnu-emacs
On May 16, 10:15 pm, kvnsm...@hotmail.com wrote:
[snip]
> Does anyone know
> how I can save the <Courier 10> font setting so I don't have to set my
> session to that every time I enter the editor? Any information on
> this would be greatly appreciated.
In answers to one of my many questions, Tassilo Horn gave me this
reply which worked nicely. Thanks to him:
Select a nice font with xfontsel and place it in your ~/.Xdefaults or
~/.Xressources. For example I have:
,----[ ~/.Xdefaults ]
[...]
| Emacs.Font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-
iso10646-1
[...]
Regards,
mowgli
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-17 0:30 ` mowgli
@ 2007-05-17 15:10 ` kvnsmnsn
2007-05-17 15:23 ` Tassilo Horn
0 siblings, 1 reply; 8+ messages in thread
From: kvnsmnsn @ 2007-05-17 15:10 UTC (permalink / raw)
To: help-gnu-emacs
On May 16, 6:30 pm, mowgli <knowledgel...@gmail.com> wrote:
=In answers to one of my many questions, Tassilo Horn gave me this
=reply which worked nicely. Thanks to him:
=
=Select a nice font with xfontsel and place it in your ~/.Xdefaults or
=~/.Xressources. For example I have:
=
=,----[ ~/.Xdefaults ]
=
=[...]
=
=| Emacs.Font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-
=iso10646-1
=
=[...]
I tried this, replacing "-misc-" with "-courier-" and "-14-" with
"-10-" to get <Courier 10> and it didn't work. When I bring up an
Emacs editor it still defaults to the larger font. Do you have any
idea what I'm doing wrong?
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-17 15:10 ` kvnsmnsn
@ 2007-05-17 15:23 ` Tassilo Horn
2007-05-21 15:34 ` kvnsmnsn
[not found] ` <1179528467.638338.300130@k79g2000hse.googlegroups.com>
0 siblings, 2 replies; 8+ messages in thread
From: Tassilo Horn @ 2007-05-17 15:23 UTC (permalink / raw)
To: help-gnu-emacs
kvnsmnsn@hotmail.com writes:
Hi Kevin,
> =,----[ ~/.Xdefaults ]
> =
> =[...]
> =
> =| Emacs.Font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-
> =iso10646-1
> =
> =[...]
>
> I tried this, replacing "-misc-" with "-courier-" and "-14-" with
> "-10-" to get <Courier 10> and it didn't work. When I bring up an
> Emacs editor it still defaults to the larger font. Do you have any
> idea what I'm doing wrong?
Most probably the font you created with those replacements does not
exist on your system. Is it available in xfontsel?
Bye,
Tassilo
--
My work on free software is motivated by an idealistic goal: spreading
freedom and cooperation. I want to encourage free software to spread,
replacing proprietary software that forbids cooperation, and thus make
our society better. (Richard M. Stallman)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-17 15:23 ` Tassilo Horn
@ 2007-05-21 15:34 ` kvnsmnsn
[not found] ` <1179528467.638338.300130@k79g2000hse.googlegroups.com>
1 sibling, 0 replies; 8+ messages in thread
From: kvnsmnsn @ 2007-05-21 15:34 UTC (permalink / raw)
To: help-gnu-emacs
On May 17, 9:23 am, Tassilo Horn <tass...@member.fsf.org> wrote:
=Most probably the font you created with those replacements does not
=exist on your system. Is it available in xfontsel?
I typed in "xfontsel" and a window came up one line that said, "-fndry-
fmly
-wght-slant-sWdh-adstyl-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-
encdng".
Down beneath that was another line that read,
"-*-*-*-*-*-*-*-*-*-*-*-*-*-*". There were only two buttons, one
that read "quit" and one that read "select". How do I tell from this
whether font <Courier 10> is available?
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
[not found] ` <87k5v58e2h.fsf@baldur.tsdh.de>
@ 2007-05-21 15:55 ` kvnsmnsn
2007-05-21 16:01 ` Joost Kremers
0 siblings, 1 reply; 8+ messages in thread
From: kvnsmnsn @ 2007-05-21 15:55 UTC (permalink / raw)
To: help-gnu-emacs
On May 19, 1:31 am, Tassilo Horn <tass...@member.fsf.org> wrote:
=Each of the stars is a button, too. Click on the first star to choose
=the font foundry. In case of courier it's adobe, I think. Family, the
=second star, is courier, and so on.
=
=There will be a preview so you can see which font customization fits
=your liking.
Thanks!
Okay, I selected <adobe>, <courier>, and a <pxlsz> of 10, which is
what I want. Then I clicked on <select>, and exited out of the win-
dow. What do I do now to get <Emacs> to default to this font? I
tried just bringing up <Emacs> again and it still used the old font.
I even tried putting
"Emacs.Font: -adobe-courier-medium-r-normal--10-100-75-75-m-60-
iso10646-1"
into my ".Xdefaults" file, and then brought up an <Emacs> editor, and
it still defaulted to the old font. Anybody know what I'm doing
wrong?
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-21 15:55 ` kvnsmnsn
@ 2007-05-21 16:01 ` Joost Kremers
2007-05-22 15:07 ` kvnsmnsn
0 siblings, 1 reply; 8+ messages in thread
From: Joost Kremers @ 2007-05-21 16:01 UTC (permalink / raw)
To: help-gnu-emacs
kvnsmnsn@hotmail.com wrote:
[xfontsel]
> Okay, I selected <adobe>, <courier>, and a <pxlsz> of 10, which is
> what I want. Then I clicked on <select>, and exited out of the win-
> dow. What do I do now to get <Emacs> to default to this font? I
> tried just bringing up <Emacs> again and it still used the old font.
clicking <select> just copies the font description string to the clipboard,
so you can paste it into another program.
> I even tried putting
> "Emacs.Font: -adobe-courier-medium-r-normal--10-100-75-75-m-60-
> iso10646-1"
try 'emacs.font' (i.e. lower case), that (used to) work for me. if it still
doesn't work, do:
xrdb .Xdefaults
before restarting emacs. that makes sure the resource database is updated.
HTH
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to Save a Font in Emacs
2007-05-21 16:01 ` Joost Kremers
@ 2007-05-22 15:07 ` kvnsmnsn
0 siblings, 0 replies; 8+ messages in thread
From: kvnsmnsn @ 2007-05-22 15:07 UTC (permalink / raw)
To: help-gnu-emacs
On May 21, 10:01 am, Joost Kremers <joostkrem...@yahoo.com> wrote:
=try 'emacs.font' (i.e. lower case), that (used to) work for me. if it
still
=doesn't work, do:
=
=xrdb .Xdefaults
=
=before restarting emacs. that makes sure the resource database is
updated.
Thanks to everyone who helped me with this; I finally got it working.
---Kevin Simonson
"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-05-22 15:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 17:15 How to Save a Font in Emacs kvnsmnsn
2007-05-17 0:30 ` mowgli
2007-05-17 15:10 ` kvnsmnsn
2007-05-17 15:23 ` Tassilo Horn
2007-05-21 15:34 ` kvnsmnsn
[not found] ` <1179528467.638338.300130@k79g2000hse.googlegroups.com>
[not found] ` <87k5v58e2h.fsf@baldur.tsdh.de>
2007-05-21 15:55 ` kvnsmnsn
2007-05-21 16:01 ` Joost Kremers
2007-05-22 15:07 ` kvnsmnsn
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).