help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cursor color under emacs for read only files.


From: christian klugesherz
Subject: Re: Cursor color under emacs for read only files.
Date: 20 Jun 2003 01:45:50 -0700

After now two weeks of surch I have found the reason of my problem.
I hope the solution can help others:
The reason was the use of cual-mode  package
To configure the cursor use following command

(load "emacs/com/cua-mode")
(CUA-mode t)
(CUA-keypad-mode 'prefix t)

(setq CUA-mode-normal-cursor-color "red")
          (setq CUA-mode-overwrite-cursor-color "yellow")
          (setq CUA-mode-read-only-cursor-color "green")

Bye

Chris

Christian Klugesherz <address@hidden> wrote in message news:<address@hidden>...
> Dear emacs users
> 
> My configuration is following: Sun Solaris 8 and Emacs 20.3
> My question concerns the cursor color under emacs.
> To configure that, I use next code in .emacs file
> 
> (setq default-frame-alist
>    '(
>          (cursor-color     . "greenyellow")
>          (cursor-type      . box)
>      )
> )
> 
> This works well when I open read/write files.
> But when I open "read only" files, the cursor changes to another color
> ???
> Could somebody help me, and tell me where I can configure the cursor
> color for a "read only" file
> 
> Thanks in advance
> 
> Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]