From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: Overlays and elisp code Date: Mon, 31 Jan 2011 11:04:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=55813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjqcq-0002r3-6A for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 05:04:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pjqco-0001oc-7F for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 05:04:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:53190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pjqco-0001oY-0q for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 05:04:46 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pjqcm-0007as-9c for emacs-orgmode@gnu.org; Mon, 31 Jan 2011 11:04:44 +0100 Received: from ip1-201.halifax.rwth-aachen.de ([137.226.108.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2011 11:04:44 +0100 Received: from andrea.crotti.0 by ip1-201.halifax.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Jan 2011 11:04:44 +0100 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: emacs-orgmode@gnu.org 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) of 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?