[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs settings priority
From: |
tpeplt |
Subject: |
Re: emacs settings priority |
Date: |
Sat, 06 Apr 2024 13:55:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
crstml@libero.it writes:
>
> 2) Rename the .emacs to .emacs.disabled and run the same commands again.
>
> mv .emacs .emacs.disabled
> emacs -fn 10x20 &
> emacs -fn lucidasanstypewriter-24 &
>
> Now without the .emacs file the -fn command line option is taken
> into account.
>
1. You can save some steps in your debugging process, above, by using
the Emacs options ‘-Q’ (or ‘--quick’) or ‘-q’ (or ‘--no-init-file’).
These options tell Emacs not to load your Emacs initialization file
(‘.emacs’). (These options are described in the man page for Emacs.)
On my system, the ‘lucidasanstypewriter’ font is installed, but the
‘10x20’ font is not.
$ emacs -fn lucidasanstypewriter-24 &
works as expected.
2. As you can see from your ‘.emacs’ file, the ‘custom-set-faces’
expression is complex. If you want to change the font that Emacs
uses, you can try the following option in the menu:
Options -> Set Default Font...
It gives you the capability of seeing what the various fonts that you
have installed look like and to choose one easily or change to
another font. If the checkbox for the menu entry:
Options -> Use System Font
is checked, then you will need to click on that box to unset it.
a. If you do not see a menu bar near the top of your Emacs frame,
then type:
M-x menu-bar-mode RET
This command (‘menu-bar-mode’) toggles the display of the menu.
b. If you do change your font via the menu, then you will need to
save the change so that it will be used the next time that you
start Emacs (*Warning*: This will overwrite your
‘custom-set-faces’ expression in your ‘.emacs’ file. If you want
to be safe, copy your ‘.emacs’ file to another file BEFORE the next
command):
Options -> Save Options
After you have done this, you will see a change to the
‘custom-set-faces’ expression in your ‘.emacs’ file.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.