all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)]
@ 2023-10-02 18:54 John Borwick
  2023-10-04  8:43 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: John Borwick @ 2023-10-02 18:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

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)
     (when (markerp org-columns-top-level-marker)
       (set-marker org-columns-top-level-marker nil))
#+end_src

Emacs  : GNU Emacs 28.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
 of 2023-02-22
Package: Org mode version 9.6.9 ( @ /path/to/org-9.6.9/)
-- 
John Borwick

[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-04  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-02 18:54 [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)] John Borwick
2023-10-04  8:43 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.