unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Li Zhai <mrzhaili@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 7373@debbugs.gnu.org
Subject: bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
Date: Fri, 12 Nov 2010 10:03:26 +0800	[thread overview]
Message-ID: <AANLkTimSFuQdMKDJdyqhChgf7UfaB7WmYrdasxf0irOF@mail.gmail.com> (raw)
In-Reply-To: <m2iq03x1aa.fsf@igel.home>

"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.





  reply	other threads:[~2010-11-12  2:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 12:16 bug#7373: `set-cursor-color’ doesn’t work on Emacs init files Li Zhai
2010-11-11 16:39 ` Andreas Schwab
2010-11-12  2:03   ` Li Zhai [this message]
2010-11-13 18:34     ` Chong Yidong

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=AANLkTimSFuQdMKDJdyqhChgf7UfaB7WmYrdasxf0irOF@mail.gmail.com \
    --to=mrzhaili@gmail.com \
    --cc=7373@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).