From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Bug: C-c ' eats last newline of a figure [6.35trans (release_6.35g.72.g2e12)] Date: Sun, 18 Apr 2010 22:01:08 -0400 Message-ID: <87fx2sryjf.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3gJi-0004Bm-4Y for emacs-orgmode@gnu.org; Sun, 18 Apr 2010 22:02:30 -0400 Received: from [140.186.70.92] (port=54281 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3gJL-0003e3-Ah for emacs-orgmode@gnu.org; Sun, 18 Apr 2010 22:02:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3gIV-0003hN-VC for emacs-orgmode@gnu.org; Sun, 18 Apr 2010 22:01:17 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63271) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3gIV-0003h3-QN for emacs-orgmode@gnu.org; Sun, 18 Apr 2010 22:01:15 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1O3gIU-000MI4-Ml for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 02:01:15 +0000 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 With the following file if you use C-c ' to edit the ditta graphic in artist mode and then just exit artist mode with another C-c ' the #+end_src line moves up one line which breaks the block. --8<---------------cut here---------------start------------->8--- * Ditta Test #+begin_src ditaa :file x.png :cmdline +--------------+ +-----------------------------+ | | | | | +<------------------------------------------------>+ | | cBLU | | cF00 | | +<--------+ +-----------------+ | | | | | | | | | +--------------+ | | | +--------------+--------------+ | | | | +------+ cRED | | | | | | | | | | +-------------+ +-----+----+------+ | +--------------------+ | | v | | | | +------------+-----------+ | | | | | | | cGRE +<-----=--------+ | | | | | | | | | | +--------->+ | +--------------------+ | cYEL | | | +------------------------+ #+end_src #+results: [[file:x.png]] --8<---------------cut here---------------end--------------->8--- After the key sequence C-c ' C-c ' in the block the end of the block now looks like this: --8<---------------cut here---------------start------------->8--- | | +------------------------+#+end_src --8<---------------cut here---------------end--------------->8--- This occurs in both the master and compatibility branches. Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.35trans (release_6.35g.72.g2e12) -Bernt