John Borwick <borw...@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>