Skip to content
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

args-out-of-range on org-journal-new-entry #23

Open
aGolduck opened this issue Mar 3, 2021 · 1 comment
Open

args-out-of-range on org-journal-new-entry #23

aGolduck opened this issue Mar 3, 2021 · 1 comment

Comments

@aGolduck
Copy link

aGolduck commented Mar 3, 2021

Debugger entered--Lisp error: (args-out-of-range 0 255)
  put-text-property(0 255 fontified nil)
  valign--flag-region-advice(0 255 nil)
  apply(valign--flag-region-advice (0 255 nil))
  outline-flag-region(0 255 nil)
  outline-show-entry()
  outline-hide-other()
  org-journal--finalize-view()
  org-journal--goto-entry((3 2 2021))
  org-journal--open-entry(t t)
  org-journal--carryover()
  org-journal-new-entry(nil)
  funcall-interactively(org-journal-new-entry nil)
  call-interactively(org-journal-new-entry record nil)
  command-execute(org-journal-new-entry record)
  execute-extended-command(nil "org-journal-new-entry" "org jou")
  funcall-interactively(execute-extended-command nil "org-journal-new-entry" "org jou")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
@casouri
Copy link
Owner

casouri commented Mar 3, 2021

I don't use org-journal so I'm not 100% sure, but I vaguely remember this being an outline bug. Here it passed 0 as a buffer position to outline-flag-region, but the smallest buffer position is 1. This should be reported to Emacs as a bug. Meanwhile, I've patched valign to ignore this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants