From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.devel Subject: Re: CUA mode cursor color Date: Mon, 13 May 2002 14:21:24 +0300 Organization: Mivtach-Simon Insurance agencies Sender: emacs-devel-admin@gnu.org Message-ID: <200205131121.g4DBLOs19028@unix.simonwiesel.co.il> References: Reply-To: ehud@unix.simonwiesel.co.il NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1021289057 9974 127.0.0.1 (13 May 2002 11:24:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 May 2002 11:24:17 +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 177Dw9-0002al-00 for ; Mon, 13 May 2002 13:24:17 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177E6f-0004Fk-00 for ; Mon, 13 May 2002 13:35:09 +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 177DwG-0007Ql-00; Mon, 13 May 2002 07:24:24 -0400 Original-Received: from unix.simonwiesel.co.il ([192.114.178.12] helo=bsw1.) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177Du1-0007KB-00 for ; Mon, 13 May 2002 07:22:05 -0400 Original-Received: from unix.simonwiesel.co.il (beta [10.253.0.3]) by bsw1. (8.11.6/8.11.4) with ESMTP id g4DBM2B03979 for ; Mon, 13 May 2002 14:22:03 +0300 Original-Received: (from ehud@localhost) by unix.simonwiesel.co.il (8.11.6/8.11.4) id g4DBLOs19028; Mon, 13 May 2002 14:21:24 +0300 Original-To: emacs-devel@gnu.org X-Mailer: Emacs 21.1.1 rmail (send-msg 1.106) 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:3872 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3872 On 13 May 2002 10:16:51 +0900, Miles Bader wrote: > > 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. > > 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. I second that. I don't use CUA mode, and I have my own implementation of cursor colors (my implementation is in lisp). I noticed that the hollow cursor (in an inactive buffer) changes its color to the active cursor color. Can anybody fix this and make the cursor-color a buffer local ? Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud@unix.simonwiesel.co.il Better Safe Than Sorry