[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: missing `save-excursion' in `org-fast-tag-selection' [9.2.3
From: |
Nicolas Goaziou |
Subject: |
Re: [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: |
Mon, 29 Apr 2019 19:21:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
Ingo Lohmar <address@hidden> writes:
> 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.
Would you mind sending a patch?
Thank you.
Regards,
--
Nicolas Goaziou