org-remark icon indicating copy to clipboard operation
org-remark copied to clipboard

Possible to turn on mode buffer-local?

Open akashpal-21 opened this issue 1 year ago • 17 comments

I only use this package for files explicitly - I add a prop line in the beginning of the file to evaluate the function that enables this mode. One problem with this is that - if a file in which this has been evaluated has been opened - any subsequent file I do revert C-x x g ; the package tries to open its note file even if the mode is disabled in the file. I think this is a bug

Secondly; this error pops up when i visit a file with org-remark-mode enabled:

Error during redisplay: (org-remark-highlights-delay-load #<window 3 on  Preview:test.org>) signaled (wrong-type-argument stringp nil)

The relevant function which causes the error is

(defun org-remark-highlights-delay-load (window)
 "Delay load until WINDOW for current buffer is created."
 (when (windowp window)
   (remove-hook 'window-state-change-functions
                #'org-remark-highlights-delay-load 'local)
   (org-remark-highlights-load)))

is it normal ?

akashpal-21 avatar Dec 23 '23 23:12 akashpal-21