From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Sun, 20 Apr 2008 15:25:53 -0400 Message-ID: References: <004a01c8a1a0$7215cdd0$0200a8c0@us.oracle.com> <878wz9btq8.fsf@jurta.org> <85fxthy4qp.fsf@lola.goethe.zz> <87hcdxz9zr.fsf_-_@jurta.org> <87ve2cfk9x.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208719581 1422 80.91.229.12 (20 Apr 2008 19:26:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Apr 2008 19:26:21 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 20 21:26:54 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 1JnfBX-0000Ez-0q for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 21:26:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnfAr-0004wZ-Pz for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 15:26:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnfAn-0004w5-DF for emacs-devel@gnu.org; Sun, 20 Apr 2008 15:26:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnfAm-0004vk-1a for emacs-devel@gnu.org; Sun, 20 Apr 2008 15:26:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnfAl-0004vg-QL for emacs-devel@gnu.org; Sun, 20 Apr 2008 15:25:59 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnfAh-0004qk-GR; Sun, 20 Apr 2008 15:25:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEAOI1C0hMCqsI/2dsb2JhbACBUKc8 X-IronPort-AV: E=Sophos;i="4.25,686,1199682000"; d="scan'208";a="18795671" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 20 Apr 2008 15:25:53 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id AXT92253; Sun, 20 Apr 2008 15:25:53 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A15EA895A; Sun, 20 Apr 2008 15:25:53 -0400 (EDT) In-Reply-To: <87ve2cfk9x.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 20 Apr 2008 14:34:02 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95531 Archived-At: > All thinks considered, IMHO the present behavior, where delete-selection > is off, is a better default. Agreed. In my message I referred to using a form of delete-selection-mode, but that's a very limited form of it: it only applies to `yank'. I like it because it allows me to do C-M-SPC C-y to replace an argument. Stefan PS: We have had another limited form of delete-selection-mode enabled by default for a long time know, in the form of `mouse-region-delete-keys'. The code used to implement this feature is quite problematic, tho, and I'd be happy if someone could use a more robust solution (or we could just remove that feature, which I always found to be unconvincing: people who like it will probably prefer to enable delete-selection-mode anyway).