[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: missing `save-excursion' in `org-fast-tag-selection' [9.2.3 (9.
From: |
Ingo Lohmar |
Subject: |
[O] Bug: missing `save-excursion' in `org-fast-tag-selection' [9.2.3 (9.2.3-9-g0803e2-elpa @ /home/il/.emacs.d/elpa/org-20190422/)] |
Date: |
Fri, 26 Apr 2019 19:51:12 +0200 |
Hi all,
I tried to use `org-agenda-set-tags'. The source buffer, where the
change should be applied is visible at the same time as the agenda is.
Also, fast tag selection with a single key is enabled.
Under these circumstances, the tag text is appended to the line (not
even necessarily a heading!) where point is in the source buffer visible
parallel to the agenda, instead of the correct heading that I acted
upon.
I tracked this done to a missing `save-excursion' wrapped around the
`save-window-excursion' in `org-fast-tag-selection' (org.el line 14567
in my version). This would be analogous to what is done in
`org-fast-todo-selection' and fixes my issue.
Thanks!
Emacs : GNU Emacs 27.0.50 (build 24, x86_64-pc-linux-gnu, X toolkit, Xaw3d
scroll bars)
of 2019-02-16
Package: Org mode version 9.2.3 (9.2.3-9-g0803e2-elpa @
/home/il/.emacs.d/elpa/org-20190422/)
current state:
==============
(setq
org-fast-tag-selection-single-key t
org-tag-persistent-alist '(("REFILE" . 82) ("SELECT" . 115))
org-src-window-setup 'other-window)
- [O] Bug: missing `save-excursion' in `org-fast-tag-selection' [9.2.3 (9.2.3-9-g0803e2-elpa @ /home/il/.emacs.d/elpa/org-20190422/)],
Ingo Lohmar <=