* Force foreground cursor color
@ 2009-03-08 0:39 Aurélien Bottazini
0 siblings, 0 replies; 2+ messages in thread
From: Aurélien Bottazini @ 2009-03-08 0:39 UTC (permalink / raw)
To: help-gnu-emacs
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?
Aurélien Bottazini
“Compuuuuterrr?”
—Scotty, Star Trek IV
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Force foreground cursor color
[not found] <mailman.2688.1236502329.31690.help-gnu-emacs@gnu.org>
@ 2009-03-08 13:22 ` Richard Riley
0 siblings, 0 replies; 2+ messages in thread
From: Richard Riley @ 2009-03-08 13:22 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-08 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2688.1236502329.31690.help-gnu-emacs@gnu.org>
2009-03-08 13:22 ` Force foreground cursor color Richard Riley
2009-03-08 0:39 Aurélien Bottazini
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.