From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: change cursor type when idle Date: Tue, 12 Feb 2008 07:19:13 -0800 Message-ID: <002601c86d8a$a0454db0$405a908d@us.oracle.com> References: <000d01c86c82$700dccc0$7051908d@us.oracle.com> <200802121430.m1CEUc6k013361@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202829681 25528 80.91.229.12 (12 Feb 2008 15:21:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 15:21:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 16:21:44 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 1JOwwo-0005nz-RD for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 16:21:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOwwL-0003JH-Ca for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 10:20:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOwwE-0003Hn-98 for emacs-devel@gnu.org; Tue, 12 Feb 2008 10:20:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOwwD-0003HF-60 for emacs-devel@gnu.org; Tue, 12 Feb 2008 10:20:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOwwC-0003H8-TM for emacs-devel@gnu.org; Tue, 12 Feb 2008 10:20:48 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOww8-0003gs-O9; Tue, 12 Feb 2008 10:20:45 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m1CFKVKm025557; Tue, 12 Feb 2008 09:20:32 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m1B9rJ61010579; Tue, 12 Feb 2008 08:20:31 -0700 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3570973771202829553; Tue, 12 Feb 2008 07:19:13 -0800 Original-Received: from dradamslap1 (/141.144.90.64) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 12 Feb 2008 07:19:13 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <200802121430.m1CEUc6k013361@sallyv1.ics.uci.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchthG/eUb9HS7BTThS725f53D1WKwAAvYBw X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:88870 Archived-At: > - There's too much code, the compatibility code should go It already went. I sent Thi the update (off list), as he requested. > - Too many knobs to turn Be specific. "Too many" begs explanation. > - What's the point of changing the cursor when emacs is idle? > - What's the point in changing the cursor in a read-only buffer? > - Someone that uses input methods should comment if changing > the cursor for when doing that is useful. > - Changing the cursor in overwrite mode seems like a good idea, other > editors do it too. Juanma replied to these questions. Each can be useful in come contexts. None should be mandated for users, of course. I'd add that change when Emacs is idle can be useful to help you see where the cursor is. Idle Emacs can mean your attention is not currently at point. (This change is only from bar cursor to box.) > - IMO we should only consider adding this if we are willing > to turn it on by default. Which? All? I have the options on, myself, so I have nothing against having them on by default. Users of my library oneonone.el also have similar options on by default. As mentioned in the Commentary, some of this is based on ideas from others (Juri, in particular), and there are some other libraries that do something similar. That is an indication that it can be useful. And Juanma mentions that CUA has something similar, which also indicates that this can be useful. Wrt overlap with CUA: I don't know when this was added to CUA; I wasn't aware of that when I wrote this, which was in November 2005. If a merge or refactoring with CUA code is in order, then I would think it would be for CUA to use the code from a separate library, as opposed to making users who want only the cursor changes use cua-mode. > If it's not considered useful enough to be on by > default, then it seems like fluff that it's not worth documenting.