From: Bastien <bzg@altern.org>
To: Aaron Ecay <aaronecay@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo.
Date: Fri, 08 Mar 2013 18:31:51 +0100 [thread overview]
Message-ID: <87ppz9ztko.fsf@bzg.ath.cx> (raw)
In-Reply-To: <1362542750-22550-1-git-send-email-aaronecay@gmail.com> (Aaron Ecay's message of "Tue, 5 Mar 2013 23:05:50 -0500")
Hi Aaron,
Aaron Ecay <aaronecay@gmail.com> writes:
> Currently, this function modifies the buffer-undo-list, which it should
> not. One can reproduce the undesirable behavior by creating a new org
> buffer and manually typing in the following text:
>
> #+begin_src emacs-lisp
> foo
> bar
> #+end_src
>
> Then press C-c ' twice to enter and exit the edit-src. Then press C-/
> to undo: the cursor moves to the beginning of the source block. Further
> presses of C-/ undo the original text entry (as expected).
Applied, thanks!
--
Bastien
prev parent reply other threads:[~2013-03-08 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 4:05 [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo Aaron Ecay
2013-03-08 17:31 ` Bastien [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppz9ztko.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=aaronecay@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.