From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21275: 24.5; Selection deleted with electric pair mode in cc mode Date: Fri, 21 Aug 2015 09:42:38 -0400 Message-ID: References: <87a8trcqbp.fsf@moondust.localdomain> <20150818150431.42639.qmail@mail.muc.de> <20150820215506.GC3105@acm.fritz.box> <550bc0c3-70ea-4b61-9d4b-b4e5656f49a3@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440164609 5637 80.91.229.3 (21 Aug 2015 13:43:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 13:43:29 +0000 (UTC) Cc: Alan Mackenzie , 21275@debbugs.gnu.org, "N. Jackson" To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 15:43:18 2015 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 1ZSmbC-0005ju-DI for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 15:43:14 +0200 Original-Received: from localhost ([::1]:41602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmbB-0002ZC-QY for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 09:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmb5-0002Xz-L2 for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSmb4-0007l5-PB for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:43:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmb0-0007h9-Tp; Fri, 21 Aug 2015 09:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSmb0-0000H9-FH; Fri, 21 Aug 2015 09:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 21 Aug 2015 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21275 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 21275-submit@debbugs.gnu.org id=B21275.14401645691036 (code B ref 21275); Fri, 21 Aug 2015 13:43:02 +0000 Original-Received: (at 21275) by debbugs.gnu.org; 21 Aug 2015 13:42:49 +0000 Original-Received: from localhost ([127.0.0.1]:34297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmam-0000Ge-Vj for submit@debbugs.gnu.org; Fri, 21 Aug 2015 09:42:49 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:38226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmaj-0000GU-JE for 21275@debbugs.gnu.org; Fri, 21 Aug 2015 09:42:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV/5P+d0tcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWLRKd7gUUjhBQigngBAQE X-IPAS-Result: A0AxFgA731xV/5P+d0tcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWLRKd7gUUjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="160931192" Original-Received: from 75-119-254-147.dsl.teksavvy.com (HELO ceviche.home) ([75.119.254.147]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Aug 2015 09:42:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id AE2C56610C; Fri, 21 Aug 2015 09:42:38 -0400 (EDT) In-Reply-To: <550bc0c3-70ea-4b61-9d4b-b4e5656f49a3@default> (Drew Adams's message of "Thu, 20 Aug 2015 22:46:42 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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: 208.118.235.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:105652 Archived-At: > My point is that this workaround for electric-pair should have an > "electric-pair" name, not a "delete-selection" name. It is not something > used by delete-selection. No. It's a feature of delete-selection (in the form of a hook). Look at the code: it doesn't say anything about electric-pair. This feature was added for electric-pair, indeed, but it's a feature of delete-selection. elec-pair.el has the other half of code (added to delete-selection's hook), using the proper prefix. Stefan