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


_______________________________________________
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

Reply via email to