all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: John Borwick <borwick@uw.edu>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87ediaojzo.fsf@localhost> (raw)
In-Reply-To: <m2jzs47t36.fsf@uw.edu>

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	other threads:[~2023-10-04  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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

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

  git send-email \
    --in-reply-to=87ediaojzo.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=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 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.