Trevoke / org-gtd.el

A package for using GTD with org-mode
GNU General Public License v3.0
369 stars 45 forks source link

`org-current-tag-alist` is nil in `org-gtd-clarify-mode` #145

Open douo opened 1 year ago

douo commented 1 year ago

This leads to the org-gtd-clarify process being unable to set tags correctly.

org-current-tag-alist is a buffer-local variable defined in org.el.

Value in #<buffer *Org-GTD WIP: test-2023-05-16*>
nil

org-gtd-pkg.el:

(define-package "org-gtd" "20230515.2133" "An implementation of GTD."
  '((emacs "27.2")
    (org-edna "1.1.2")
    (f "0.20.0")
    (org "9.6")
    (org-agenda-property "1.3.1")
    (transient "0.3.7"))
  :commit "578e83b0f67cb57dd1b10e9eea4f40d2e925b9b9" :authors
  '(("Aldric Giacomoni" . "trevoke@gmail.com"))
  :maintainer
  '("Aldric Giacomoni" . "trevoke@gmail.com")
  :url "https://github.com/Trevoke/org-gtd.el")
;; Local Variables:
;; no-byte-compile: t
;; End:
Trevoke commented 1 year ago

Hi!

First, in case you are trying this from scratch, and you do not have tags set up already, it might be that you should simply do (setq org-gtd-organize-hooks nil) for now, so as to remove the tagging step.

If you do have tags set up, though, please read on:

What version of emacs are you using? Are you using vanilla emacs, doom emacs, or spacemacs? What version of org-mode are you using?

What should org-current-tag-alist be ? What is org-tag-alist ? What is org-tag-persistent-alist ? How are your tags set up?

On Tue, May 16, 2023 at 4:52 AM Tiou Lims @.***> wrote:

This leads to the org-gtd-clarify process being unable to set tags correctly.

org-current-tag-alist is a buffer-local variable defined in org.el.

Value in #<buffer Org-GTD WIP: test-2023-05-16> nil

org-gtd-pkg.el:

(define-package "org-gtd" "20230515.2133" "An implementation of GTD." '((emacs "27.2") (org-edna "1.1.2") (f "0.20.0") (org "9.6") (org-agenda-property "1.3.1") (transient "0.3.7")) :commit "578e83b0f67cb57dd1b10e9eea4f40d2e925b9b9" :authors '(("Aldric Giacomoni" . @.")) :maintainer '("Aldric Giacomoni" . @.") :url "https://github.com/Trevoke/org-gtd.el");; Local Variables:;; no-byte-compile: t;; End:

— Reply to this email directly, view it on GitHub https://github.com/Trevoke/org-gtd.el/issues/145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQSSOT4DAN3AKQMSJGD43XGM55JANCNFSM6AAAAAAYDKAVZ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

douo commented 1 year ago

I'm using emacs 29

Both variables are nil in org-gtd-clarify-mode, as shown in the image below:

Screen Shot 2023-05-16 at 22 15 24

However, in inbox.org (as seen in the following image), org-set-tags-command works correctly.

Screen Shot 2023-05-16 at 22 16 00 Screen Shot 2023-05-16 at 22 23 06

Unfortunately, it does not work for the same entry when clarifying.

Screen Shot 2023-05-16 at 22 23 44

It just happend when it upgrade org-gtd to 3.0.

Trevoke commented 1 year ago

Interesting.

What version of emacs are you using? Are you using vanilla emacs, doom emacs, or spacemacs? What version of org-mode are you using?

What should org-current-tag-alist be ? What is org-tag-alist ? What is org-tag-persistent-alist ? How are your tags set up?

--

Aldric. Sent from a mobile device.

On Tue, May 16, 2023, 10:24 Tiou Lims @.***> wrote:

Both variables are nil in org-gtd-clarify-mode, as shown in the image below: [image: Screen Shot 2023-05-16 at 22 15 24] https://user-images.githubusercontent.com/743074/238673978-ca85fb25-6f2a-44f9-b418-e93135d5934b.png

However, in inbox.org (as seen in the following image), org-set-tags-command works correctly. [image: Screen Shot 2023-05-16 at 22 16 00] https://user-images.githubusercontent.com/743074/238674518-80da2f65-54a4-4e0e-9236-6df0f1a4e1bd.png [image: Screen Shot 2023-05-16 at 22 23 06] https://user-images.githubusercontent.com/743074/238675663-2b150b04-2814-44ed-8a58-7dddc0774b44.png

Unfortunately, it does not work for the same entry when clarifying. [image: Screen Shot 2023-05-16 at 22 23 44] https://user-images.githubusercontent.com/743074/238675847-e0ab457a-0f62-4889-b332-c4d61717f6ad.png

— Reply to this email directly, view it on GitHub https://github.com/Trevoke/org-gtd.el/issues/145#issuecomment-1549780642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQSSITB32U5BZFDI5PCL3XGOE2HANCNFSM6AAAAAAYDKAVZ4 . You are receiving this because you commented.Message ID: <Trevoke/org-gtd. @.***>

douo commented 1 year ago

I'm using vanilla emacs 29

Trevoke commented 1 year ago

What version of org-mode are you using?

On Tue, May 16, 2023 at 10:28 AM Tiou Lims @.***> wrote:

I'm using vanilla emacs 29

— Reply to this email directly, view it on GitHub https://github.com/Trevoke/org-gtd.el/issues/145#issuecomment-1549788055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQSSJKK7TVYR6NSMZAUYDXGOFIZANCNFSM6AAAAAAYDKAVZ4 . You are receiving this because you commented.Message ID: <Trevoke/org-gtd. @.***>

Trevoke commented 1 year ago

I need the following information in order to try to reproduce the problem:

What version of emacs are you using?

emacs 29

Since emacs 29 is unreleased, what tag/commit did you compile from?

Are you using vanilla emacs, doom emacs, or spacemacs?

Vanilla

What version of org-mode are you using?

What should org-current-tag-alist be ?

What is org-tag-alist ? What is org-tag-persistent-alist ?

How are your tags set up, if the answer wasn't provided above?