Trevoke / org-gtd.el

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

org-save-all-org-buffers error (wrong-number-of-arguments #3) #190

Closed Keisn1 closed 9 months ago

Keisn1 commented 9 months ago

Hi I'm getting an error when I try to clarify Items. I can clarify one, and gtd will refile but then I get an empty clarify buffer.

  1. Capture some Issues
  2. Run org-gtd-process-inbox (or clarify-item)
  3. C-c c to file it
  4. choose action
  5. choose tag
  6. Hit enter

I'm running Doom Emacs

Debugger entered--Lisp error: (wrong-number-of-arguments # 3) org-save-all-org-buffers(nil nil ("Actions" "/home/kaypro/gtd/org-gtd-tasks.org" "^\(\+\)\(?: +\(CNCL\|DONE\|NEXT\|TODO\|WAIT\)\)?\..." 2)) apply(org-save-all-org-buffers (nil nil ("Actions" "/home/kaypro/gtd/org-gtd-tasks.org" "^\(\+\)\(?: +\(CNCL\|DONE\|NEXT\|TODO\|WAIT\)\)?\..." 2))) org-refile(nil nil ("Actions" "/home/kaypro/gtd/org-gtd-tasks.org" "^\(\+\)\(?: +\(CNCL\|DONE\|NEXT\|TODO\|WAIT\)\)?\..." 2)) org-gtd-refile--do("Actions" " Actions\n:PROPERTIES:\n:ORG_GTD: Actions\n:END:\n") org-gtd-single-action--apply() org-gtd-organize--call(org-gtd-single-action--apply)

()

apply(# nil)

f(compiled-function (fn &rest args) #<bytecode 0xaa9abbe94f3620e>)(#)

apply(#f(compiled-function (fn &rest args) #<bytecode 0xaa9abbe94f3620e>) # nil) (lambda (fn &rest args) (interactive #f(compiled-function (spec) #<bytecode 0x14a6b62af05c562f>)) (apply '#f(compiled-function (fn &rest args) #<bytecode 0xaa9abbe94f3620e>) fn args))(#) apply((lambda (fn &rest args) (interactive #f(compiled-function (spec) #<bytecode 0x14a6b62af05c562f>)) (apply '#f(compiled-function (fn &rest args) #<bytecode 0xaa9abbe94f3620e>) fn args)) # nil) org-gtd-single-action() funcall-interactively(org-gtd-single-action) command-execute(org-gtd-single-action)

Trevoke commented 9 months ago

Hi! Thanks for trying this out. Based on the subject and the error, is this the same issue as https://github.com/Trevoke/org-gtd.el/issues/178 ?

Keisn1 commented 9 months ago

Yepp :D Also had the line in my config. Thank you very much! (advice-add 'org-refile :after 'org-save-all-org-buffers)

Trevoke commented 9 months ago

Out of curiosity, where did you find this line of code, do you know?

--

Aldric. Sent from a mobile device.

On Sun, Sep 24, 2023, 14:47 Keisn1 @.***> wrote:

Yepp :D Also had the line in my config (advice-add 'org-refile :after 'org-save-all-org-buffers)

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

Trevoke commented 9 months ago

Replied via email - obtained from systemcrafters.

This issue is a duplicate of #178, closing.