From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: CUA mode cursor color Date: 13 May 2002 10:16:51 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021252872 30441 127.0.0.1 (13 May 2002 01:21:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 May 2002 01:21:12 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1774WW-0007us-00 for ; Mon, 13 May 2002 03:21:12 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1774gp-0007hg-00 for ; Mon, 13 May 2002 03:31:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1774WS-0006MB-00; Sun, 12 May 2002 21:21:08 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 1774UA-0006Ig-00; Sun, 12 May 2002 21:18:47 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g4D1IZR09179; Mon, 13 May 2002 10:18:35 +0900 (JST) Original-Received: from mailsv2.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g4D1IAZ14669; Mon, 13 May 2002 10:18:26 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv2.nec.co.jp (8.11.3/3.7W-MAILSV2-NEC) with ESMTP id g4D1Grk03225; Mon, 13 May 2002 10:17:41 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g4D1GqK21222; Mon, 13 May 2002 10:16:52 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 56D5F3722; Mon, 13 May 2002 10:16:52 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 27 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3864 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3864 I turned on CUA mode to check it out, and noticed that in addition to the behavior I expected -- C-x/C-c/C-v cut 'n' paste -- it also changed my cursor color. After searching a bit, I found the following in cua-mode.el: ;; CUA mode indications ;; -------------------- ;; You can choose to let CUA use different cursor colors to indicate ;; overwrite mode and read-only buffers. [This is apparently on by default too.] Is there a reason this is part of CUA mode? Even if it's a nice feature (and I suppose it is, I was just surprised by it), it seems orthogonal to the main functionality of CUA mode. Why not move this stuff into a separate mode -- then people who don't want CUA mode can use it, and people who just want CUA mode won't have to go investigate why their cursor color keeps changing. -Miles p.s. I was very impressed by how smoothly cua-mode manages to integrate the seemingly incompatible CUA keybindings into emacs! -- Suburbia: where they tear out the trees and then name streets after them.