From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Force foreground cursor color
Date: Sun, 08 Mar 2009 14:22:43 +0100 [thread overview]
Message-ID: <gp0gr3$r9b$1@rileyrgdev.motzarella.org> (raw)
In-Reply-To: mailman.2688.1236502329.31690.help-gnu-emacs@gnu.org
Aurélien Bottazini <aurelien@bottazini.com> writes:
> Hi,
>
> I am trying to make a custom color theme for emacs.
>
> I ran into a small problem.
> I would like to "force" the cursor foreground color.
>
> I have tried to do it using:
> (set-face-foreground 'cursor "#373737")
>
> but it does not work.
> For example when my cursor is over a string, I am seeing the
> foreground color
> specified for "font-lock-string-face" and not the one specified for
> "cursor" .
>
> Any ideas?
Using X, I have a ~/.Xresources containing:
#include "./.emacs.d/.xEmacs"
And in that file I have (amongst other things):
Emacs.foreground: wheat
Emacs.background: darkslategrey
Emacs.pointerColor: Gold
Emacs.cursorColor: Gold
You need to remember to merge them
xrdb -merge ~/.Xresources
Using X is much faster than setting things in your .emacs btw.
my .xEmacs file I generated using an xresources exporter from emacs
after loading the color-theme I liked best. Google will tell more.
regards
r.
next parent reply other threads:[~2009-03-08 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2688.1236502329.31690.help-gnu-emacs@gnu.org>
2009-03-08 13:22 ` Richard Riley [this message]
2009-03-08 0:39 Force foreground cursor color Aurélien Bottazini
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gp0gr3$r9b$1@rileyrgdev.motzarella.org' \
--to=rileyrgdev@gmail.com \
--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.
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).