From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: electric-pair-mode Date: Fri, 06 Dec 2013 14:50:58 +0100 Message-ID: <87eh5q84vx.fsf@bzg.ath.cx> References: <20131205.201603.690970458726323289.hanche@math.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VovoG-0000qh-Qv for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 08:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vovo7-0003TH-EC for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 08:51:12 -0500 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:51442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vovo7-0003Sy-66 for emacs-orgmode@gnu.org; Fri, 06 Dec 2013 08:51:03 -0500 Received: by mail-wi0-f170.google.com with SMTP id hq4so986658wib.3 for ; Fri, 06 Dec 2013 05:51:02 -0800 (PST) In-Reply-To: <20131205.201603.690970458726323289.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Thu, 05 Dec 2013 20:16:03 +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: > I am a new user of org-mode. But I have used electric-pair-mode for > quite a long time, and marking some text and hitting left parenthesis > to parenthesize the marked text has become second nature. > > However, if I try this in an org-mode buffer, it erases the marked > text and replaces it with the backwards pair )( instead. Not useful! > > So is there a way to make org-self-insert-command compatible with > electric-pair-mode? it works fine for me. What version of Org are you using? -- Bastien