From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Sun, 20 Apr 2008 23:08:43 -0400 Message-ID: References: <004a01c8a1a0$7215cdd0$0200a8c0@us.oracle.com> <878wz9btq8.fsf@jurta.org> <85fxthy4qp.fsf@lola.goethe.zz> <87hcdxz9zr.fsf_-_@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1208747357 3525 80.91.229.12 (21 Apr 2008 03:09:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2008 03:09:17 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 21 05:09:51 2008 connect(): Connection refused 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 1JnmPe-0001PQ-QL for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 05:09:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnmOz-0003j4-NL for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 23:09:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnmOb-0003SA-Rf for emacs-devel@gnu.org; Sun, 20 Apr 2008 23:08:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnmOa-0003Pq-6w for emacs-devel@gnu.org; Sun, 20 Apr 2008 23:08:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnmOZ-0003PQ-Ql for emacs-devel@gnu.org; Sun, 20 Apr 2008 23:08:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnmOZ-0001ba-GU for emacs-devel@gnu.org; Sun, 20 Apr 2008 23:08:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JnmOZ-0000H2-1r; Sun, 20 Apr 2008 23:08:43 -0400 In-reply-to: (message from Eli Zaretskii on Sun, 20 Apr 2008 17:57:59 +0300) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:95591 Archived-At: If the region activates as a side effect of otherwise innocent commands, such as M-> or C-s or C-x C-x, then I'd object deleting it as well. Even if I explicitly mark the region with C-SPC followed by cursor motion commands, it does not yet mean I'm about to replace it with another text. I might just want to M-w it or something. Or you might see some characters before point (and outside the region) and decide to delete them before operating on the region as you planned to do. Here's a possible idea: enable delete-selection-mode by default but only after shift-selection and mouse-selection.