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 #11 received at 7373 <at> debbugs.gnu.org (full text, mbox):

From: Li Zhai <mrzhaili <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 7373 <at> debbugs.gnu.org
Subject: Re: bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
Date: Fri, 12 Nov 2010 10:03:26 +0800
"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")

These code is supposed to change the background color to black and the
cursor color to red. And these code works fine on the emacs 23.2.




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.