* Restore org-agenda-undo in the presence of evil and undo-tree
@ 2016-04-27 16:24 Christoph LANGE
0 siblings, 0 replies; only message in thread
From: Christoph LANGE @ 2016-04-27 16:24 UTC (permalink / raw
To: emacs-orgmode@gnu.org
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-27 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27 16:24 Restore org-agenda-undo in the presence of evil and undo-tree Christoph LANGE
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.