Start a new topic

How to set specific tag with longpress menu?

Hello all,

To set "ARCHIVE" tag for the current item, I am using below config in my init.org,

(define (set-current-item-with-ARCHIVE-tag)
(set-current-item-tags! "ARCHIVE"))

(set! item-longpress-menu
'(("ARCHIVE this" (set-current-item-with-ARCHIVE-tag))))

 

But it didn't work even I tried restarting beorg many times...

I would appreciate your support on this and teaching me how to fix!

Thanks so much!


set-current-item-tags! requires a list to be provided. I think the following should work:


(define (set-current-item-with-ARCHIVE-tag) (set-current-item-tags! '("ARCHIVE")))



1 person likes this

Thanks so much! Matthew.
It works!

Login or Signup to post a comment