From: Drew Adams <drew.adams@oracle.com>
To: Haines Brown <haines@engels.histomat.net>, help-gnu-emacs@gnu.org
Subject: RE: Changing color of transient mark
Date: Thu, 12 Feb 2015 11:03:01 -0800 (PST) [thread overview]
Message-ID: <239cd621-f964-4aff-9678-ed9bb551ee4c@default> (raw)
In-Reply-To: <87egpvccig.fsf@engels.histomat.net>
> >> I'm running emacs 24.4.1, and the transient mark color is a very dark
> >> blue. This makes the highlighted text hard to read.
> >> Id like to redefine the background color something like this:
> >>
> >> ((transient-mark-mode 1)
> >> (set-background-color "mistyrose")
> >> (set-foreground-color "firebrick"))
>
> > See the function `set-face-attribute'.
>
> Because all my emacs sessions have the -q option and use their own init
> files, I'm unable to save the highlight background color.
>
> What lisp code would define the background within init files?
I already answered that: `M-x customize-face region' and save your
changes.
That inserts the necessary Lisp code in your init file, or (better) if
you have defined `custom-file' then into your `custom-file'.
If you try it then you will see what Lisp code to use. ;-)
next prev parent reply other threads:[~2015-02-12 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 18:37 Changing color of transient mark Haines Brown
2015-02-11 18:42 ` Drew Adams
2015-02-11 19:09 ` Marcin Borkowski
[not found] ` <mailman.19725.1423680157.1147.help-gnu-emacs@gnu.org>
2015-02-11 21:01 ` Haines Brown
2015-02-11 21:35 ` Drew Adams
[not found] ` <mailman.19728.1423681788.1147.help-gnu-emacs@gnu.org>
2015-02-12 16:36 ` Haines Brown
2015-02-12 19:03 ` Drew Adams [this message]
[not found] ` <mailman.19769.1423767792.1147.help-gnu-emacs@gnu.org>
2015-02-12 20:08 ` Haines Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=239cd621-f964-4aff-9678-ed9bb551ee4c@default \
--to=drew.adams@oracle.com \
--cc=haines@engels.histomat.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.