From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: electric-pair-mode Date: Sat, 07 Dec 2013 08:18:53 +0100 Message-ID: <87r49puo0y.fsf@bzg.ath.cx> References: <20131205.201603.690970458726323289.hanche@math.ntnu.no> <87eh5q84vx.fsf@bzg.ath.cx> <20131206.181206.1961086241099218685.hanche@math.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpCAL-00008K-U0 for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 02:19:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpCAH-0000oS-7I for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 02:19:05 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:48197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpCAH-0000oL-1C for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 02:19:01 -0500 Received: by mail-wi0-f169.google.com with SMTP id hn6so1886363wib.0 for ; Fri, 06 Dec 2013 23:19:00 -0800 (PST) In-Reply-To: <20131206.181206.1961086241099218685.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Fri, 06 Dec 2013 18:12:06 +0100 (CET)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Harald Hanche-Olsen Cc: emacs-orgmode@gnu.org Hi Harald, Harald Hanche-Olsen writes: > [Bastien (2013-12-06 13:50:58 UTC)] > >> > So is there a way to make org-self-insert-command compatible with >> > electric-pair-mode? >> >> it works fine for me. > > I have been told (off list) that delete-selection-mode could be the > culprit. And indeed, turning it off fixes the problem. But I don't > want to du that, as I have gotten quite fond of it. But it could > explain why it works for you. The same person told me that autopair > might be a good alternativ to electric-pair-mode. So I will give that > a shot. > >> What version of Org are you using? > > It's version 7.9.3f, bundled with the GNU emacs development sources > (as of a month or so ago). That appears to be quite old? I would like > a newer one anyhow, if only for the improved orgstruct-mode. The bug was present in recent versions of Org too (including 8.2.4), I just fixed it. Thanks a lot for reporting this! -- Bastien