From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Law Newsgroups: gmane.emacs.bugs Subject: bug#11520: 24.1.50; delete-selection-mode conflicts with electric-pair-mode Date: Sat, 14 Jul 2012 02:42:31 -0400 Message-ID: References: <87ipdqx6e4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1342248207 25825 80.91.229.3 (14 Jul 2012 06:43:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2012 06:43:27 +0000 (UTC) Cc: 11520@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 14 08:43:27 2012 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 1Spw4b-0001E1-ML for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2012 08:43:25 +0200 Original-Received: from localhost ([::1]:46782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spw4b-0006Wa-1p for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2012 02:43:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spw4Y-0006WV-07 for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2012 02:43:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Spw4W-0006fh-UK for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2012 02:43:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spw4W-0006fd-RD for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2012 02:43:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SpwA1-00030I-W7 for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2012 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Law Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jul 2012 06:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11520-submit@debbugs.gnu.org id=B11520.134224852111519 (code B ref 11520); Sat, 14 Jul 2012 06:49:01 +0000 Original-Received: (at 11520) by debbugs.gnu.org; 14 Jul 2012 06:48:41 +0000 Original-Received: from localhost ([127.0.0.1]:40197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Spw9f-0002zj-NO for submit@debbugs.gnu.org; Sat, 14 Jul 2012 02:48:41 -0400 Original-Received: from mail-bk0-f44.google.com ([209.85.214.44]:50738) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Spw9a-0002zZ-Vm for 11520@debbugs.gnu.org; Sat, 14 Jul 2012 02:48:36 -0400 Original-Received: by bkty7 with SMTP id y7so3076393bkt.3 for <11520@debbugs.gnu.org>; Fri, 13 Jul 2012 23:42:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=UWX3DOXlGFRBBl6B0ibxAlZPRu9U72jgO+Tqhbw5Mcg=; b=eMHhuUrlcXdNQz0LqcuZEO/Kg42PjVX763cE3OA7llQmy3O2+1gxjtriRZsV3WVe9D 06+KFm9JnBaIMsXesZ23AVbBY+i0ivOnB4kEO3d47cPPqX5QUnNmgCb9GrXNYj6S+Xhu UPTqF/i58Bi0xFYwuesvL8Y9Vr4K+fTUPQQY5lPnF1Eo6GkDold6GvBwCnL8g66Rb7fE fJL0MZG7uqNRT0Helmj0eNSP5DmGCkE9XU4z3SpvPloi6zXn3BcDDuX0KvfnR0hEsl2/ sLs1SrAxSR5MXY4xFpAine/pMECh7OSb1nqGm7TJklwszYEew9tZF83k12bTjD2UhLI+ qodA== Original-Received: by 10.204.148.66 with SMTP id o2mr2190986bkv.43.1342248171886; Fri, 13 Jul 2012 23:42:51 -0700 (PDT) Original-Received: by 10.204.187.208 with HTTP; Fri, 13 Jul 2012 23:42:31 -0700 (PDT) X-Originating-IP: [69.196.188.112] In-Reply-To: <87ipdqx6e4.fsf@gnu.org> X-Gm-Message-State: ALoCoQmD2hQHq6vnBG/pwr2Zr2lxG+PTjMSU9IRfWrmKWLKuKkakwp9uY27mQ+YDx0FQu/fGF2KS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61929 Archived-At: On Sat, Jul 14, 2012 at 1:23 AM, Chong Yidong wrote: > Simon Law writes: > >> $ emacs -Q >> M-x electric-pair-mode >> M-x delete-selection-mode >> ;; Type "a line of text"" >> C-SPC >> C-a >> ;; At this point, you should have the line of text selected >> ( >> >> Actual result: >> >> )( > > Fixed in trunk. Thanks. Hi Chong, I tested your fix and it makes electric-pair-mode insert pairs in the right order now. But the bug is that delete-selection-mode destroys electric-pair-mode's auto-wrapping ability. Unfortunately, your fix does not address that. Would you like me to come up with a patch that implements my suggestions above in the BTS? Thanks, - Simon