emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Hsiu-Khuern Tang <tangoh@gmail.com>
To: Bastien <bzg@altern.org>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: source code editing using C-c ' (org-edit-special) eats characters
Date: Tue, 30 Oct 2012 10:20:20 -0700	[thread overview]
Message-ID: <20121030172016.GC21957@localhost> (raw)
In-Reply-To: <877gqfvsol.fsf@bzg.ath.cx>

Hi Bastien,

* On Thu 10:53AM, 25 Oct 2012, Bastien (bzg@altern.org) wrote:
> Hsiu-Khuern Tang <tangoh@gmail.com> writes:
> 
> > Sorry if this has been reported -- a brief search didn't turn up
> > anything.
> 
> this is now fixed -- thanks for reporting this!

Thanks for working on this.  It's better than before, but there's still a problem, e.g., when I start with the three lines


#+begin_example

#+end_example


and do C-c ' on the empty line, type "test", and C-c ' again, I get

#+begin_example
  test#+end_example

If I type "test" + newline, I get

#+begin_example
  test
  #+end_example


BTW, is C-c ' on the #+begin_example or #+end_example lines supposed to work?  If I start with the two lines

#+begin_example
#+end_example

and do C-c ' on either line, type "test" (without a newline), and C-c ' again, I get

#+begin_example
  test
  +end_example

(The "#" of #+end_example gets dropped.)


-- 
Best,
Hsiu-Khuern.

  reply	other threads:[~2012-10-30 17:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-23 18:03 Bug: source code editing using C-c ' (org-edit-special) eats characters Hsiu-Khuern Tang
2012-10-23 20:07 ` Myles English
2012-10-23 20:31 ` Nick Dokos
2012-10-23 21:04   ` myles english
2012-10-23 21:16   ` Hsiu-Khuern Tang
2012-10-25  8:53 ` Bastien
2012-10-30 17:20   ` Hsiu-Khuern Tang [this message]
2012-11-07 13:38   ` Andy Moreton
2012-11-07 23:02     ` Eric S Fraga
2012-11-08  3:20       ` Eric S Fraga
2012-11-08 13:04       ` Andy Moreton
2012-11-08 17:27         ` Eric Schulte
2012-11-09  3:19           ` Eric Fraga

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=20121030172016.GC21957@localhost \
    --to=tangoh@gmail.com \
    --cc=bzg@altern.org \
    --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).