all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing color of transient mark
Date: Wed, 11 Feb 2015 20:09:35 +0100	[thread overview]
Message-ID: <87h9usmfio.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <87lhk4jnuz.fsf@engels.histomat.net>


On 2015-02-11, at 19:37, Haines Brown <haines@engels.histomat.net> wrote:

> 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"))
>
> but of course this does not work. Short of running PC mode, how can I
> change at least the highlighting background color?

See the function `set-face-attribute'.

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



  parent reply	other threads:[~2015-02-11 19:09 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 [this message]
     [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
     [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=87h9usmfio.fsf@wmi.amu.edu.pl \
    --to=mbork@wmi.amu.edu.pl \
    --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.