From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: change cursor type when idle Date: Tue, 12 Feb 2008 10:07:57 -0800 Message-ID: <200802121807.m1CI7x9V003765@sallyv1.ics.uci.edu> References: <000d01c86c82$700dccc0$7051908d@us.oracle.com> <200802121430.m1CEUc6k013361@sallyv1.ics.uci.edu> <200802121510.m1CFABWY002308@sallyv1.ics.uci.edu> <200802121620.m1CGKKrx005585@sallyv1.ics.uci.edu> <200802121643.m1CGhl2D017807@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202839812 514 80.91.229.12 (12 Feb 2008 18:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 18:10:12 +0000 (UTC) Cc: Emacs Devel To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 19:10:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOzaR-0004Xx-Fk for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 19:10:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOzZx-0005xf-Ox for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 13:10:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOzZt-0005vL-1z for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:09:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOzZp-0005v8-FT for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:09:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOzZp-0005v5-8P for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:09:53 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JOzZo-0004EM-Qc for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:09:53 -0500 X-ICS-MailScanner-Watermark: 1203444484.03427@QwbL7OBqiCOCZrf2jyLHUw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1CI7x9V003765; Tue, 12 Feb 2008 10:07:59 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Tue, 12 Feb 2008 18:12:59 +0100") Original-Lines: 23 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88893 Archived-At: "Juanma Barranquero" writes: > On Feb 12, 2008 5:43 PM, Dan Nicolaescu wrote: > > I > > was referring to exactly one such color: `cua-read-only-cursor-color'. > > It's easy enough to know that the buffer is read only, you can't type in > > it. Does changing the cursor color add any extra useful visual clue? > > Yes, it does for me. I often have two almost identical buffers open, > and switch from one to the other. But I want one of them to be > read-only, and the visual clue is helpful (not to prevent trying to > write into the read-only one, but to speed switching among them). I > have in fact this in my .emacs: Sorry, but IMHO such a feature (cua-read-only-cursor-color, or the similar one in Drew's package) does not seem useful for the majority of emacs users. But given that it's already in cua-mode, we can't do much about it. > (setq cua-normal-cursor-color '(box . "white") > cua-overwrite-cursor-color '(hollow . "red") ^^^^^^^^^^^ IMHO this is useful, and it should be in generic code.