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:44:43 -0800 Message-ID: <200802121844.m1CIincK022982@sallyv1.ics.uci.edu> References: <200802121430.m1CEUc6k013361@sallyv1.ics.uci.edu> <200802121510.m1CFABWY002308@sallyv1.ics.uci.edu> <200802121620.m1CGKKrx005585@sallyv1.ics.uci.edu> <200802121643.m1CGhl2D017807@sallyv1.ics.uci.edu> <200802121807.m1CI7x9V003765@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 1202842017 8864 80.91.229.12 (12 Feb 2008 18:46:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 18:46:57 +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:47:20 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 1JP09v-0001lC-ND for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 19:47:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP09S-0000Y9-9y for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 13:46:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JP09O-0000Y2-JV for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:46:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JP09O-0000Xo-2Z for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:46:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP09N-0000Xl-Rj for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:46:37 -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 1JP09N-0002N3-BK for emacs-devel@gnu.org; Tue, 12 Feb 2008 13:46:37 -0500 X-ICS-MailScanner-Watermark: 1203446697.74764@Vl2ktDuEtPfDybezNTwwhQ 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 m1CIincK022982; Tue, 12 Feb 2008 10:44:49 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Tue, 12 Feb 2008 19:20:45 +0100") Original-Lines: 30 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:88897 Archived-At: "Juanma Barranquero" writes: > On Feb 12, 2008 7:07 PM, Dan Nicolaescu wrote: > > > 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. [...] > > > > > (setq cua-normal-cursor-color '(box . "white") > > > cua-overwrite-cursor-color '(hollow . "red") > > ^^^^^^^^^^^ > > IMHO this is useful, and it should be in generic code. > > I would like to hear any objective arguments about the usefulness of > an overwrite-mode cursor and the non-usefulness of a read-only-mode > cursor. overwrite-mode cursor: - this wheel has been invented elsewhere and has been in wide use in many editors for a long time. - bad things happen if you don't notice that you've accidentally pressed "Insert" and continue typing. A visual clue is an extra aid for the user. read-only-mode cursor: - I am not familiar with a similar feature elsewhere. - The fact that you can't input text is a good enough indication that the buffer if read-only. Changing the cursor in this case needs added code and documentation. _I_ can see no benefit to the users from this.