emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Borwick <borwick@uw.edu>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)]
Date: Mon, 02 Oct 2023 11:54:53 -0700	[thread overview]
Message-ID: <m2jzs47t36.fsf@uw.edu> (raw)

[-- 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 --]

             reply	other threads:[~2023-10-02 19:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 18:54 John Borwick [this message]
2023-10-04  8:43 ` [BUG] org-agenda column view error: wrong type markerp, nil [9.6.9 ( @ /path/to/org-9.6.9/)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2jzs47t36.fsf@uw.edu \
    --to=borwick@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).