Post by Dieter Britz[...]
Post by N. JacksonM-x customize-face RET highlight RET
and/or
M-x customize-face RET region RET
You'll want to set the background colour to your yellow (and perhaps
also change the foreground colour to make it legible).
Click `Apply' to test out the change; click `Apply and Save' to make the
change "permanent".
I did the first one, and it seemed to work, giving me
a sample of the colour that I had chosen. So I clicked on
Apply and Save, and exited. But at the next emacs session,
it was not there any more. ??
By default, Customize saves its settings near the top of your .emacs
file (`custom-set-faces' are below `custom-set-variables'); have a look
there to see if they were added when you clicked the 'Apply and Save'
button. If the new setting _is_ in your .emacs, then I'd guess that you
have another setting later in the file that unsets it.
If the new setting is not being written to your .emacs file, then there
might be something wrong with your installation. I'd suggest you ask on
the help-gnu-emacs mailing list
(https://savannah.gnu.org/mail/?group_id=40), where you'll find lots of
real experts; I'm just an every-day user. (If you don't want to
subscribe to the list, you can read and post to it as news on
gmane.org.)
Post by Dieter BritzOn how to exit: when I enter the customising screen and
do my thing, how do I gracefully get back to the editing
session? This is sometimes also a problem if I do something
wrong and get a screen with help or an error message. The only
way I know is to exit with CTRL X C, which means I have to start
a new session. I know there must be better way out.
You can exit a Customize or a Help buffer by typing q. That buries the
buffer rather than closing it though. You can close a buffer with C-x k
RET (which runs the command kill-buffer).
Also C-x <left> (which runs the command previous-buffer) and C-x <right>
(which runs the command next-buffer) can be used to cycle through
buffers. Alternatively C-x C-b runs the command list-buffers which you
can use for buffer navigation.
I recommend you run through the Emacs Tutorial (from the Help menu).
It's a bit primitive in a way, but it contains a lot of valuable
information.