From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6IlsDRUWG2VIgQAAG6o9tA:P1 (envelope-from ) for ; Mon, 02 Oct 2023 21:12:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6IlsDRUWG2VIgQAAG6o9tA (envelope-from ) for ; Mon, 02 Oct 2023 21:12:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EEA8E3E9CC for ; Mon, 2 Oct 2023 21:12:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uw.edu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696273941; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=rDCofYarB36xNjhAcjdhGCFixRScpgkdbD80K2xskOM=; b=CkMAOftO4xNpiiqTUSV1JtoJlsRDWbaz00H2LLGZKhcK8uhE/0lHDXdMTDrbHKEPt9C/WJ fKArDO+xTlD6EJ0v6BaOAqAhXf80GgTU1XxeQFz/fl9VtJS7Ot+Gkd15keYtDim+DQrlMY AUHIHJ+ltBnoAMpOb4CyRX2W6A0ReHhkY4MLsGlqAwdkLHKL6Ls9GjAohVfc+ErMkcGeg4 IU4Af111aSB8lju+k1+UN8CdbRd9UfdsgWhAmmDMMQQo4MHJQfqeA4I9cNHBznPsPKJEMv I7Lv0wWTpKy/5rOo5vltigvi1WZgThfKRa8CA3PA/0EKGfFMMkZkmGyjd2assg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uw.edu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696273941; a=rsa-sha256; cv=none; b=NYNmSQbSMjfwwzYWmINpecX2KPUfBhgyDp6ir+/WnSU0J4M0eX/FZ4AnsAdFn+bFqG57VK BaiTTUTlfGy8lSbdiDdIkZoOUJa0uZtubqhoTMlJIz7tp604ocS44uKYJfv45XMNLMRmRJ 7rymnmAMRWK+GCM5/BAelY2no8DMmgZJ8xPqikUF+cLw5/Afe61JSATeLFydBH0AVxomEq 35GnpvbDlS1Pn5Y1PAB4OowECcKl1mEXvq4/CCvGyj7IDlmpfXfo0jDF3sHmPbdgIH1HZo k+kLr3E2Ee0wJseEUMbubU0P2Ar1uT/G3Bvabqqli8LreNRbcSbwsIECmd9adw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnO4S-0003Ac-JB; Mon, 02 Oct 2023 14:55:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnO4N-0003AK-3B for emacs-orgmode@gnu.org; Mon, 02 Oct 2023 14:55:03 -0400 Received: from mx0a-00641c01.pphosted.com ([205.220.165.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnO4J-0006Jx-DA for emacs-orgmode@gnu.org; Mon, 02 Oct 2023 14:55:01 -0400 Received: from pps.filterd (m0247473.ppops.net [127.0.0.1]) by mx0a-00641c01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 392IsF7A005926 for ; Mon, 2 Oct 2023 18:54:55 GMT Received: from mxout23.cac.washington.edu (mxout23.cac.washington.edu [140.142.32.140]) by mx0a-00641c01.pphosted.com (PPS) with ESMTPS id 3tg0kdagps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 02 Oct 2023 18:54:55 +0000 Received: from smtp.washington.edu (smtp.washington.edu [128.208.60.132]) by mxout23.cac.washington.edu (8.14.4+UW20.07/8.14.4+UW22.04) with ESMTP id 392IsrAJ000740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 2 Oct 2023 11:54:53 -0700 X-Auth-Received: from Greybeard ([10.158.232.226]) (authenticated authid=borwick) by smtp.washington.edu (8.16.1+UW21.10/8.14.4+UW19.10) with ESMTPSA id 392IsrYZ022930 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 2 Oct 2023 11:54:53 -0700 X-UW-Orig-Sender: borwick@smtp.washington.edu From: John Borwick 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 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" X-Proofpoint-ORIG-GUID: UcBmTDbnkR_gRL1eLe4MTPYmHsUhrb8U X-Proofpoint-GUID: UcBmTDbnkR_gRL1eLe4MTPYmHsUhrb8U X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-02_12,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=386 lowpriorityscore=0 clxscore=1011 bulkscore=0 adultscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310020145 Received-SPF: pass client-ip=205.220.165.146; envelope-from=borwick@uw.edu; helo=mx0a-00641c01.pphosted.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_DOTEDU_SHORT=1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.89 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: EEA8E3E9CC X-Spam-Score: -5.89 X-TUID: v+pLfXcaxILE --=-=-= Content-Type: text/plain 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 --- # +++ # @@ -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 --=-=-= Content-Type: text/html

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.

--- #<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))

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

--=-=-=--