From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: CUA mode cursor color Date: 13 May 2002 23:26:01 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xadr37n9y.fsf@kfs2.cua.dk> References: <200205131121.g4DBLOs19028@unix.simonwiesel.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021352546 30477 127.0.0.1 (14 May 2002 05:02:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 May 2002 05:02:26 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177US9-0007vS-00 for ; Tue, 14 May 2002 07:02:25 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177Ud2-00032F-00 for ; Tue, 14 May 2002 07:13:40 +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 177USJ-00088n-00; Tue, 14 May 2002 01:02:35 -0400 Original-Received: from fepd.post.tele.dk ([195.41.46.149]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 177MQB-0005vR-00 for ; Mon, 13 May 2002 16:27:51 -0400 Original-Received: from kfs2.cua.dk.cua.dk ([80.62.38.68]) by fepD.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020513202515.RZV18110.fepD.post.tele.dk@kfs2.cua.dk.cua.dk>; Mon, 13 May 2002 22:25:15 +0200 Original-To: ehud@unix.simonwiesel.co.il In-Reply-To: <200205131121.g4DBLOs19028@unix.simonwiesel.co.il> Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 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:3893 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3893 "Ehud Karni" writes: > 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). cua's cursor color control is also 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 ? This sounds like a good idea... -- Kim F. Storm http://www.cua.dk