emacs-orgmode
[Top][All Lists]
Advanced

[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: Sat, 27 Apr 2019 12:45:48 +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
next 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-agenda-window-setup 'current-window
 org-fast-tag-selection-single-key t
 org-tag-persistent-alist '(("REFILE" . 82) ("SELECT" . 115)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]