GNU bug report logs - #7373
`set-cursor-color’ doesn’t work on Emacs init files

Previous Next

Package: emacs;

Reported by: Li Zhai <mrzhaili <at> gmail.com>

Date: Thu, 11 Nov 2010 12:12:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 7373 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Li Zhai <mrzhaili <at> gmail.com>
Cc: 7373 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
Date: Sat, 13 Nov 2010 13:34:48 -0500
Li Zhai <mrzhaili <at> gmail.com> writes:

> "What is the value of “red”?" I don't understand.
>
> Here is the specific description:
>
> 1. Empty the .emacs file.
> 2. Add the following codes to the .emacs
>
> (setq initial-frame-alist
>       '((foreground-color . "grey80")
>         (background-color . "black")
>         (background-mode . dark)
> 	(cursor-color     . "red")))
> (setq default-frame-alist
>       '((foreground-color . "grey80")
>         (background-color . "black")
>         (background-mode  . 'dark)
>         (cursor-color     . "red")))
>
> (set-cursor-color "red")

Thanks.  I've checked in a fix.

By the way, that last set-cursor-color call should be unnecessary.




This bug report was last modified 14 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.