From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: Can't edit example blocks [7.9.2 (release_7.9.2-781-g5de94e @ /home/bernt/git/org-mode/lisp/)] Date: Tue, 25 Dec 2012 17:12:07 -0500 Message-ID: <87pq1xok7c.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TncjL-0000ew-27 for emacs-orgmode@gnu.org; Tue, 25 Dec 2012 17:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TncjJ-0005pc-Rc for emacs-orgmode@gnu.org; Tue, 25 Dec 2012 17:12:10 -0500 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:35440 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TncjJ-0005pX-OY for emacs-orgmode@gnu.org; Tue, 25 Dec 2012 17:12:09 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.165.89] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TncjJ-000GdA-B5 for emacs-orgmode@gnu.org; Tue, 25 Dec 2012 22:12:09 +0000 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: emacs-orgmode@gnu.org The following source blocks refer to http://doc.norang.ca/org-mode.org org-mode.org line 1553 #+begin_example Default Task [d] norang Organization <-- Task B The task interrupted by starting the last one [i] norang Organization <-- Task B Current Clocking Task [c] org NEXT Document my use of org-mode <-- Task A Recent Tasks [1] org NEXT Document my use of org-mode <-- Task A [2] norang Organization <-- Task B ... [Z] org DONE Fix default section links <-- 35 clock task entries ago #+end_example C-c ' in the example block gives #+begin_example Debugger entered--Lisp error: (error "No special environment to edit here") signal(error ("No special environment to edit here")) user-error("No special environment to edit here") org-edit-special() call-interactively(org-edit-special nil nil) #+end_example This used to work in previous org versions Usecase: I find it convenient to edit in a separate buffer, select everything with C-x h, cut it and replace it than working on the data in the example block. When example blocks are indented in list entries org-edit-special automatically indents the contents inside the indented #+begin_example ... #+end_example lines already properly indented for the list. Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Package: Org-mode version 7.9.2 (release_7.9.2-781-g5de94e @ /home/bernt/git/org-mode/lisp/)