From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: change cursor type when idle Date: Tue, 12 Feb 2008 21:54:14 +0100 Message-ID: References: <200802121510.m1CFABWY002308@sallyv1.ics.uci.edu> <200802121620.m1CGKKrx005585@sallyv1.ics.uci.edu> <200802121643.m1CGhl2D017807@sallyv1.ics.uci.edu> <200802121807.m1CI7x9V003765@sallyv1.ics.uci.edu> <200802121844.m1CIincK022982@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202849692 6241 80.91.229.12 (12 Feb 2008 20:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 20:54:52 +0000 (UTC) Cc: Emacs Devel To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 21:55:15 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 1JP29S-0001Oe-Ed for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 21:54:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP28z-0006w0-1d for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 15:54:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JP28v-0006vv-LC for emacs-devel@gnu.org; Tue, 12 Feb 2008 15:54:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JP28u-0006vQ-7G for emacs-devel@gnu.org; Tue, 12 Feb 2008 15:54:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP28u-0006vN-4B for emacs-devel@gnu.org; Tue, 12 Feb 2008 15:54:16 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JP28t-0000jf-Mt for emacs-devel@gnu.org; Tue, 12 Feb 2008 15:54:15 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so2850919wah.10 for ; Tue, 12 Feb 2008 12:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZM7A88XqNpoMzu1MluiP1yDaxzxRkA+8S2vwWk3ZoMs=; b=HtqxhNqagbhr/lOeC/Sjl5sE/1Bcma4RFinCLcrt1GSy7uRdTM0RonuBssELa7EFNgOPGL8Jq+hHDYEuDK5zdDm8vfxFgUqPuouPqCRX1pnVSJPzjxiZCsJn4R8ipkthvHCaH8sKcIJcSkLyrE7CzFmwqWy1OjDxV4KmVAypA5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NwZbXDiXB2ghKcLNGYwkJGeJNCvx+Fe/3ZjJi/Z9hrKoa2CVcl73Ih1coNBIpCu4it1GllsiBs8gi12HLlW0pS94WJOHXNjbj0EeNQBvPZCzWC0CDxzW9e1DcpOY5pm+dH47hRg8XqHC38s54slIPuuaMtgv0Z0VKEQ7w8VUpEI= Original-Received: by 10.114.174.2 with SMTP id w2mr2028296wae.17.1202849654318; Tue, 12 Feb 2008 12:54:14 -0800 (PST) Original-Received: by 10.115.72.13 with HTTP; Tue, 12 Feb 2008 12:54:14 -0800 (PST) In-Reply-To: <200802121844.m1CIincK022982@sallyv1.ics.uci.edu> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:88905 Archived-At: On Feb 12, 2008 7:44 PM, Dan Nicolaescu wrote: > - this wheel has been invented elsewhere and has been in wide use in > many editors for a long time. vs. > - I am not familiar with a similar feature elsewhere. That's hardly a compelling argument. For one, there are literally thousands of editors; if even a fraction of them has implemented it the read-only cursor, that would seem to indicate that some people find it useful, as I do; OTOH, most editors I used before Emacs didn't have a read-only mode, so the argument doesn't really apply. Perhaps that means that read-only mode is not that useful, or it would have 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. vs. > - 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. In my setup, if I start typing blindly in a read-only buffer, I certainly lose what I'm typing, because I receive no audible alert. That's as "bad thing" to me like accidentally overwriting a file, if undo is available. And if it is not, read only mode or not typing blind would be advisable :) Juanma