From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: CUA mode cursor color Date: Mon, 13 May 2002 11:00:14 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205131700.g4DH0E413260@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021309409 20991 127.0.0.1 (13 May 2002 17:03:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 May 2002 17:03:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177JEP-0005SS-00 for ; Mon, 13 May 2002 19:03:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177JP2-0003ZJ-00 for ; Mon, 13 May 2002 19:14:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177JEX-0006Oe-00; Mon, 13 May 2002 13:03:37 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177JBJ-00068d-00; Mon, 13 May 2002 13:00:17 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4DH0Ek09653; Mon, 13 May 2002 11:00:14 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4DH0E413260; Mon, 13 May 2002 11:00:14 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: miles@gnu.org In-Reply-To: (message from Miles Bader on 13 May 2002 10:35:58 +0900) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3883 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3883 2. If you have transient-mark-mode enabled, turning on cua-mode and then turning it off again leaves transient-mark-mode disabled; it would be much better to leave it in whatever state it was in originally. I'm not sure the best way to implement this. It would be nice, but I think it is impossible to find a way to handle this that gives in all cases the result that you would consider correct. It is a problem similar to the "restore the previous window state" problem: every possible method is right for some scenarios but not for all. It would be nice if `pc-selection-mode' and `delete-selection-mode' simply used the same code that cua-mode does, so that they are more compatible (after all, it's not unlikely that a potential user of CUA mode already has one or both of them enabled, and might not see the warning in NEWS). Is it feasible for CUA to use pc-selection-mode and delete-selection-mode? That would be nice, but I'd guess there would be some sort of problem. Another approach would be to replace pc-selection-mode and delete-selection-mode with new code designed to work with CUA (perhaps copied partially from CUA). delsel.el is a very small file. Please don't replace it with something that has to load all of CUA.