From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13312: 24.3.50; delete selection mode not killing on overwrite Date: Sat, 19 Oct 2013 18:28:06 +0300 Organization: JURTA Message-ID: <87wql9i8l5.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382196674 30494 80.91.229.3 (19 Oct 2013 15:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2013 15:31:14 +0000 (UTC) Cc: 13312@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 17:31:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VXYUn-00013b-OE for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2013 17:31:17 +0200 Original-Received: from localhost ([::1]:33611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXYUn-00078A-C6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2013 11:31:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXYUe-00076z-I6 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 11:31:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXYUY-0005T0-Jl for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 11:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXYUY-0005Su-GE for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 11:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VXYUX-0006FL-Uv for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 11:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2013 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13312-submit@debbugs.gnu.org id=B13312.138219660923900 (code B ref 13312); Sat, 19 Oct 2013 15:31:01 +0000 Original-Received: (at 13312) by debbugs.gnu.org; 19 Oct 2013 15:30:09 +0000 Original-Received: from localhost ([127.0.0.1]:58037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXYTd-0006Cd-HA for submit@debbugs.gnu.org; Sat, 19 Oct 2013 11:30:07 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:56721 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXYTW-0006Bb-Vk for 13312@debbugs.gnu.org; Sat, 19 Oct 2013 11:30:00 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 336A7258B9E935; Sat, 19 Oct 2013 08:29:57 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Sat, 19 Oct 2013 07:44:49 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79388 Archived-At: > I don't think this should be on the wishlist. It's a clear bug. > > (put 'ANY-COMMAND 'delete-selection 'kill) should kill the > text in the active region. It does not do so in the case > where ANY-COMMAND is `self-insert-command'. A bug. > > The fact that "usually the delete text is still available from the > "PRIMARY" selection" is irrelevant. (Not to mention that there is > no "PRIMARY" selection on some platforms.) > > Putting `kill' as the property value should kill the text, pure and > simple. There is no bug. In delete-selection-mode with overwrite-mode selecting a region and typing a self-inserting key deletes the selected region and replaces it with the typed key.