From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#13312: 24.3.50; delete selection mode not killing on overwrite Date: Sat, 19 Oct 2013 14:18:06 -0700 (PDT) Message-ID: <55ff4a98-377d-4831-91c4-22281a40a830@default> References: <87wql9i8l5.fsf@mail.jurta.org> <761f4d61-cd53-4371-9744-70f08619c75b@default> <87vc0tfcn6.fsf@mail.jurta.org> <87wql9c6jl.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382217563 20372 80.91.229.3 (19 Oct 2013 21:19:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2013 21:19:23 +0000 (UTC) Cc: 13312@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 23:19:26 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 1VXdvg-0003xx-2n for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2013 23:19:24 +0200 Original-Received: from localhost ([::1]:34453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXdvf-0005CG-Eq for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2013 17:19:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXdvT-0005Ag-GI for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 17:19:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXdvK-0002fC-U7 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 17:19:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXdvK-0002f7-R9 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 17:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VXdvK-0008L3-Cj for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2013 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2013 21:19:02 +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.138221749731955 (code B ref 13312); Sat, 19 Oct 2013 21:19:02 +0000 Original-Received: (at 13312) by debbugs.gnu.org; 19 Oct 2013 21:18:17 +0000 Original-Received: from localhost ([127.0.0.1]:58291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXdua-0008JK-VX for submit@debbugs.gnu.org; Sat, 19 Oct 2013 17:18:17 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:46445) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXduZ-0008J3-0T for 13312@debbugs.gnu.org; Sat, 19 Oct 2013 17:18:15 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9JLI8Y7028022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 19 Oct 2013 21:18:09 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9JLI79b016422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Oct 2013 21:18:08 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9JLI7N2027437; Sat, 19 Oct 2013 21:18:07 GMT In-Reply-To: <87wql9c6jl.fsf@mail.jurta.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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:79405 Archived-At: > > Isn't there a better way? >=20 > I think (run-hook-with-args-until-success 'self-insert-uses-region- > functions) could be moved to the body of `delete-selection-helper'. > Then the users again will enjoy the simplicity of > (put 'self-insert-command 'delete-selection t) > and (put 'self-insert-command 'delete-selection 'kill) That sounds good. Thank you, Juri. I didn't check that things work well with that change, but the description sounds right. > The first hunk of my patch fixes the reported bug. Please install that part, at least. Not sure what the rest does, but why not handle it as a separate bug fix?