* Cursor color under emacs for read only files.
@ 2003-06-19 15:46 Christian Klugesherz
2003-06-20 8:45 ` christian klugesherz
0 siblings, 1 reply; 2+ messages in thread
From: Christian Klugesherz @ 2003-06-19 15:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cursor color under emacs for read only files.
2003-06-19 15:46 Cursor color under emacs for read only files Christian Klugesherz
@ 2003-06-20 8:45 ` christian klugesherz
0 siblings, 0 replies; 2+ messages in thread
From: christian klugesherz @ 2003-06-20 8:45 UTC (permalink / raw)
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 <christian.klugesherz@sxb.bsf.alcatel.fr> wrote in message news:<3EF1DABA.228EBCF4@sxb.bsf.alcatel.fr>...
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-20 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 15:46 Cursor color under emacs for read only files Christian Klugesherz
2003-06-20 8:45 ` christian klugesherz
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.