emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 (


From: Ihor Radchenko
Subject: Re: [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)]
Date: Wed, 04 Oct 2023 08:43:55 +0000

John Borwick <borwick@uw.edu> writes:

> Hello! After updating org-mode, when I do the below:
>
>   1. Run a custom org-agenda =C-c a w= that has a column view format. (This 
> works correctly)
>   2. Open a different buffer
>   3. Re-run org-agenda
>
> I get the error =Wrong type argument: markerp, nil=.
>
> Using the debugger, I found the error occurred in =org-colview.el=. I no 
> longer have the error when using the below workaround.
>
> #+begin_src patch
> --- #<buffer org-colview-orig.el>
> +++ #<buffer org-colview.el>
> @@ -525,6 +525,8 @@
>        (setq header-line-format org-previous-header-line-format)
>        (kill-local-variable 'org-previous-header-line-format)
>        (remove-hook 'post-command-hook #'org-columns-hscroll-title 'local))
> +    (setq org-columns-begin-marker (make-marker))
>      (set-marker org-columns-begin-marker nil)

Thanks for reporting! The reproducer is not sufficient to replicate the
bug on my side, but the code can indeed fail with the error you are
seeing.

I applied an alternative patch onto bugfix:
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bd3705c05

Let me know if the patch fixes the problem for you.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]