-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-noter-insert-note complains, "valign--flag-region-advice: Args out of range: 194, 519" #148
Comments
I'm not sure this is the proper solution but it works. (defun my/outline-show-entry ()
"Show the body directly following this heading.
Show the heading too, if it is currently invisible."
(interactive)
(save-excursion
(outline-back-to-heading t)
(outline-flag-region (max (1- (point)) (point-min))
(progn
(outline-next-preface)
(if (= 1 (- (point-max) (point)))
(point-max)
(point)))
nil)))
(advice-add 'outline-show-entry :override #'my/outline-show-entry) |
I've run into the same issue and the changes to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Spacemacs on mac.
When I hit i(org-noter-insert-note), it fails to create a new entry and complains "Args out of range"
As far as I found, when I start org-noter, org-mode narrowed and outline-show-entry function in org-noter-insert-note failed
because (point-min) gives 195 in the note buffer.
How can I resolve this issue?
The text was updated successfully, but these errors were encountered: