all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
@ 2010-11-11 12:16 Li Zhai
  2010-11-11 16:39 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Li Zhai @ 2010-11-11 12:16 UTC (permalink / raw)
  To: 7373

I am using emacs 24.0.5 under Ubuntu with the following .emacs

(set-cursor-color “red”)

This code works fine on the trunk emacs (2010-10-08). But when I
updated my emacs to the latest trunk, the cursor color changed to
white rather than red (I am using dark background).





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2010-11-11 16:39 UTC (permalink / raw)
  To: Li Zhai; +Cc: 7373

Li Zhai <mrzhaili@gmail.com> writes:

> I am using emacs 24.0.5 under Ubuntu with the following .emacs
>
> (set-cursor-color “red”)

What is the value of “red”?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
  2010-11-11 16:39 ` Andreas Schwab
@ 2010-11-12  2:03   ` Li Zhai
  2010-11-13 18:34     ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Li Zhai @ 2010-11-12  2:03 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 7373

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7373: `set-cursor-color’ doesn’t work on Emacs init files
  2010-11-12  2:03   ` Li Zhai
@ 2010-11-13 18:34     ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2010-11-13 18:34 UTC (permalink / raw)
  To: Li Zhai; +Cc: 7373, Andreas Schwab

Li Zhai <mrzhaili@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-13 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-11-13 18:34     ` Chong Yidong

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.