From: Christoph LANGE <math.semantic.web@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Restore org-agenda-undo in the presence of evil and undo-tree
Date: Wed, 27 Apr 2016 18:24:05 +0200 [thread overview]
Message-ID: <5720E7A5.703@gmail.com> (raw)
Hi all,
I am using evil and undo-tree and therefore have (global-undo-tree-mode 1).
In agenda views, I would like to be able to use org-agenda-undo, but the
usual keyboard shortcuts for org-agenda-undo are occupied by undo-tree-undo.
So I wondered how to disable undo-tree-mode in agenda views and came up
with the following:
(add-hook 'org-agenda-finalize-hook #'(lambda () (undo-tree-mode -1)))
Nevertheless, undo is not working properly as long as the underlying Org
buffer, which I am editing remotely from the agenda buffer, is in
evil-mode. If I switch it to Emacs input, undo works.
Can anyone confirm this behaviour?
Cheers, and thanks in advance,
Christoph
--
Dr. Christoph Lange, Enterprise Information Systems Department
Applied Computer Science @ University of Bonn; Fraunhofer IAIS
http://langec.wordpress.com/about, Skype duke4701
→ CSCUBS Computer Science Conference for University of Bonn Students
25 May 2016; submission deadline 28 April – http://cscubs.cs.uni-bonn.de
reply other threads:[~2016-04-27 16:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5720E7A5.703@gmail.com \
--to=math.semantic.web@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 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).