From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Overlays and elisp code Date: Mon, 31 Jan 2011 15:04:29 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=37605 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjzzc-0002ut-9H for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:04:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjzzX-0004e6-9N for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:04:56 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:63934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjzzX-0004d2-3t for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 15:04:51 -0500 Received: by fxm12 with SMTP id 12so6933793fxm.0 for ; Mon, 31 Jan 2011 12:04:49 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: emacs-orgmode@gnu.org I can reproduce this. emacs 23.1 and org 7.4 On Mon, Jan 31, 2011 at 5:04 AM, Andrea Crotti wrote: > I found a strange behaviour which might be a bug, but maybe of my > configuration. > > This is org mode version: > Org-mode version 7.4 (release_7.4.199.g8be1.dirty) > and emacs: > "GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) > =A0of 2010-05-09 on linc" > > To reproduce the bug I do > - go over an elisp code block > - C-c ' to edit in the overlay > - C-c ' to go back when done > > And it works perfectly, BUT if for example I remove a parenthesis before > pressing C-c ', I can't go back. > > C-c ' becomes undefined and I have to kill both the overlay and the > original buffer. > > While I was writing I also found the cause of the problem, Paredit! > Removing the hook from emacs-lisp-mode-hook fixes this, but paredit is > really useful with elisp, maybe someone has an idea of why this happens? > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --=20 Jeffrey Horn http://www.failuretorefrain.com/jeff/