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#21275: 24.5; Selection deleted with electric pair mode in cc mode Date: Thu, 20 Aug 2015 14:35:43 -0700 (PDT) Message-ID: References: <87a8trcqbp.fsf@moondust.localdomain> <20150818150431.42639.qmail@mail.muc.de> 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 1440106649 4844 80.91.229.3 (20 Aug 2015 21:37:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2015 21:37:29 +0000 (UTC) Cc: "N. Jackson" , 21275@debbugs.gnu.org To: Stefan Monnier , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 23:37:15 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 1ZSXWM-0008H5-0c for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 23:37:14 +0200 Original-Received: from localhost ([::1]:37264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSXWL-0003Et-Ff for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 17:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSXVG-0002UQ-O8 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:36:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSXVF-0003R2-R7 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2015 17:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSXVC-0003Pc-19; Thu, 20 Aug 2015 17:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSXVB-0000Gv-Lo; Thu, 20 Aug 2015 17:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 20 Aug 2015 21:36:01 +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.14401065501026 (code B ref 21275); Thu, 20 Aug 2015 21:36:01 +0000 Original-Received: (at 21275) by debbugs.gnu.org; 20 Aug 2015 21:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:33883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSXUz-0000GT-Jh for submit@debbugs.gnu.org; Thu, 20 Aug 2015 17:35:49 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:45761) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSXUx-0000GL-3L for 21275@debbugs.gnu.org; Thu, 20 Aug 2015 17:35:47 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7KLZjF4003449 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Aug 2015 21:35:45 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t7KLZidv032706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 20 Aug 2015 21:35:44 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t7KLZicp006099; Thu, 20 Aug 2015 21:35:44 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:105612 Archived-At: > > +(defun delete-selection-uses-region-p () >=20 > The way I read it, this name says "a function which tells us if > delete-selection uses the region". No idea what this is all about, but if this is for `electric-pair-mode' and not for `delete-selection-mode' then the name should reflect that - call it `electric-pair-SOMETHING'. Is this something that `delete-selection-mode' needs? Or is it for something else? > > + "Return non-nil when the current command uses the region. What does it mean for a command to "use the region"? > It's not about "the current command" but about self-insert-command > (which may be the current command or may be called by the current > command). What does it mean for such a command (or any other command) to "use the region"? That info should presumably be in the doc string.