emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87fx2sryjf.fsf@gollum.intra.norang.ca> (raw)


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

             reply	other threads:[~2010-04-19  2:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19  2:01 Bernt Hansen [this message]
2010-04-19  6:34 ` Bug: C-c ' eats last newline of a figure [6.35trans (release_6.35g.72.g2e12)] Dan Davison
2010-04-21  7:49   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fx2sryjf.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).