From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: change cursor type when idle Date: Tue, 29 Aug 2006 00:27:09 +0300 Organization: JURTA Message-ID: <87wt8sk0uq.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156800925 29177 80.91.229.2 (28 Aug 2006 21:35:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Aug 2006 21:35:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 28 23:35:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GHolC-0005dt-8D for ged-emacs-devel@m.gmane.org; Mon, 28 Aug 2006 23:35:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHolB-0001qP-PH for ged-emacs-devel@m.gmane.org; Mon, 28 Aug 2006 17:35:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHol0-0001pc-68 for emacs-devel@gnu.org; Mon, 28 Aug 2006 17:34:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHokx-0001oW-RP for emacs-devel@gnu.org; Mon, 28 Aug 2006 17:34:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHokx-0001oT-NJ for emacs-devel@gnu.org; Mon, 28 Aug 2006 17:34:55 -0400 Original-Received: from [62.64.120.200] (helo=relay01.kiev.sovam.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GHotz-00082B-Lb for emacs-devel@gnu.org; Mon, 28 Aug 2006 17:44:15 -0400 Original-Received: from [83.170.232.243] (helo=jurta.org.jurta.org) by relay01.kiev.sovam.com with esmtp (Exim 4.60) (envelope-from ) id 1GHoks-000HjF-OH; Tue, 29 Aug 2006 00:34:51 +0300 Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Mon, 28 Aug 2006 09:58:51 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Scanner-Signature: 69470ef176344869aa12c1af2e75e870 X-DrWeb-checked: yes X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 227 [August 24 2006] X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0242], KAS30/Release 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:59021 Archived-At: > I actually also use code that (optionally) changes the cursor type, > depending on whether the mode is overwrite (bar) or read-only (box), and > changes the cursor color, depending on whether or not you are using an input > method (thx to a suggestion from Juri). I mention this only to point out > that users might also change the cursor type or color independently of the > idle/active state of Emacs, so we don't want to trample on such > functionality. I like your proposed feature, but I have one doubt. Usually I use the bar cursor, and sometimes it is hard to locate it in dense text areas. Changing its type to a box cursor (and/or its color) would help, but any delay before changing it (e.g. 2 sec) seems arbitrary. I need to make the cursor more visible not after some delay, but only when I need to locate it. I usually use cursor movement keys to move the cursor foreward-backward to find its location, but this is not convenient. > (And I take advantage of this opportunity to again support Juri's > suggestion to add command `set-cursor-type' to Emacs.) I guess `set-cursor-type' is not yet in Emacs, because there are more than one way to change the cursor type (via the `default-cursor-type' and `cursor-type' variables, and via the frame parameter), so it's not clear which one to use in the implementation. Is it so? -- Juri Linkov http://www.jurta.org/emacs/