From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CKg9K5IlHWXiowAA9RJhRA:P1 (envelope-from ) for ; Wed, 04 Oct 2023 10:42:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CKg9K5IlHWXiowAA9RJhRA (envelope-from ) for ; Wed, 04 Oct 2023 10:42:58 +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 3E6AD65B5B for ; Wed, 4 Oct 2023 10:42:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=b043cQyU; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696408978; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y4MEaeNcGMAcWoR17Dcm6hw3JpduS4lQkHxBDDVe+nY=; b=tBCSVjBBjDjAcCn8/AIykcQtKO/U9Jnv5sR/VjHAdXoaAqaPM1/ggQ858mHs2ep9HvArCg 4KYISgAOlJFdtvV/2fiTFv0ik3GuJqpLGoo74SDvpzfibYx64ceXN1/8zoLnZSqzPjpptt uqnbq3xrkli2yE/yJrUuxhtSgB6N/hpLnsIQpxnNLxCwVfNE99Cx/ePbWarfyoMY3WMAdU WzVjLZ9RPV4l6LXlKvikTn8JDINBT6DjtpBvPKPUJz68AKurCA9BbiMDLWRTFcJbmPx+yD ehwJzvMbWKPnbZOuFjmJ2+yomGcW3MtDh3hUARfMpSoLSZcbyVuvvVQtMOu8wQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696408978; a=rsa-sha256; cv=none; b=Reyp5MQVRKwI1Qt8Y9WN3JsrlABjfPAxblelYAcWjydrIsyLy7MqKjCvNsWkGrdBVgNKPl XVpYEMNaRoQY1e2F722fBFF442Ye4pb1x/7DFR5oe2PvHd3xo5cJ+WPRHilMh444MAzwwP hpsiiNscNMvSipA/RCYITT6mQq30fOIMppr2kOGsxziX61IyyFRAYu1HQUUw/oRa0Fx4Xa MTOgGBb8w4ITewHqNo8LhdWlFRc//HK19qeEHSBLSlYkgKcF8i/qFEebbmYtsdsvJy7KCX /RGGkVzPAqUgi6lygBVuReb8Aj038yJBAajEwFNOa1Qbao+J9RqRWLdsgk7rIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=b043cQyU; 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=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnxSa-00013G-N3; Wed, 04 Oct 2023 04:42:24 -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 1qnxSZ-0000wT-I7 for emacs-orgmode@gnu.org; Wed, 04 Oct 2023 04:42:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnxSX-0000aR-7v for emacs-orgmode@gnu.org; Wed, 04 Oct 2023 04:42:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0A07A240103 for ; Wed, 4 Oct 2023 10:42:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696408939; bh=DBTTLu0IBdv5EukO9UydXZ6R6ovdLxD9h4MlAkVg3aA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=b043cQyUthf8tlHk+2jNGENYI0uRwrYp79ERoTRX/MsHf5FIYjuRKQWZKJ0IrXxga rkK/QRAMqgPLXHoyiqgqkiI+KZdEdE4LixSH79XztIKfAsKN9Z07z8i+28zyR7BCL5 zAXb6vBMZIBZLWNk/BQU33WN0pCsa02CR4K0yvidCDz1abR6WRFccqAq981SQaVYRP U99RUo/prw0QQnIjBc4AcEarmwnq6KtFibO/iJpiRvX1PWZ3xdbnsjiUqPeHmm5ikA UtNUJlT1YLNuS+V/9SWecclFOUa11xFLTs4lVz9n99IudwCbi3AuhffjhT9e/o+fFH 8cNTOhflTJXbQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S0p8p3Rnkz6ty3; Wed, 4 Oct 2023 10:42:18 +0200 (CEST) From: Ihor Radchenko To: John Borwick 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/)] In-Reply-To: References: Date: Wed, 04 Oct 2023 08:43:55 +0000 Message-ID: <87ediaojzo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.77 X-Migadu-Spam-Score: -6.77 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 3E6AD65B5B X-TUID: GTyKNC6yszia John Borwick 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 > --- # > +++ # > @@ -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 . Support Org development at , or support my work at