[OS X Emacs] column editing

David Reitter david.reitter at gmail.com
Wed Nov 19 22:42:49 EST 2008

On 19 Nov 2008, at 19:27, Thomas S. Dye wrote:

> Hmm.  Then these instructions about cursor color in Preferences.el  
> don't seem to have the correct effect.  The cursor is still red in a  
> read-only buffer.  Tom

Have you considered that these instructions could be faulty or out-of- 
Does the file you're looking at carry a date?

I found some rather old (Emacs 20!) cua.el files out there just now.

C-h v over the variable in question doesn't give anything, i.e. it's  
not a known variable... that is usually a good indicator that the  
names have changed.

If you have C-h v cua- TAB, you get a bunch of variable names that  
have to do with cua.  One of them is `cua-overwrite-cursor- 
color' (note the capitalization), which I think is what you're  
interested in.

> ;;; CUA mode indications
> ;; As mentioned above, the cursor will blink when the global mark is
> ;; active.  In addition, you can choose to let CUA-mode use different
> ;; cursor colors to indicate overwrite mode and read-only buffers.
> ;; For example, the following setting will use a RED cursor in normal
> ;; (insertion) mode in read-write buffers, a YELLOW cursor in
> ;; overwrite mode in read-write buffers, and a GREEN cursor read-only
> ;; buffers:
> ;;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20081119/a73613da/attachment.p7s>

More information about the MacOSX-Emacs mailing list