From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UIWpKxYVcGdHewAAqHPOHw:P1 (envelope-from ) for ; Sat, 28 Dec 2024 15:11:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UIWpKxYVcGdHewAAqHPOHw (envelope-from ) for ; Sat, 28 Dec 2024 16:11:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rzp5bVqK; 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=1735398678; 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=FDGwDuR2fxszGgtEBaqJ9Ws4lwwM/D+wEEmEg1+YK4U=; b=oa1qCrxxE9qkqyNJsYMn7WpiSFryTv4zLmO7B0jwWgWpLE+EyDLLyWHJ8KCpLl2osRyfuU LNcOJ2Eeff4OpghkQERcXumAqoWkHBfWrJcs+QqqXaICzpEk4ukFB06ZerSB1EPyldquYa yYYZ8rmlaKZNGvHV2RnKN0k4vhCBGDR1W1ma3zf32V1R3D2XW4lRRwdgB2ojfjd0x5Qc9K Hh+4gA613gHB6z4pdPNvv+KCeQtm7cZSWs4I/9+1faAla0Uq99K+DcDBqFzT9hlCFF5A5V 7lMX2O5NDI53UatEKB2NlqM0XG0NembVNYq7Cyj00/J79UU67US0kve8YRGrkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rzp5bVqK; 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-Seal: i=1; s=key1; d=yhetil.org; t=1735398678; a=rsa-sha256; cv=none; b=FUChIsPEG3RMEcwMsFEYFNgR9ifLBpGEshPgFOFmAkkoMh2v00g1G7xhBqfshoOjW7odmT w+mBa4cCsVVpoOxROHctlMcvh6i+B0zi7Sp8tIXRUtSfQoOD0D+3hOyIZOqm1aCx7AxPJM Hrk+H+1RdpYr5jYzYWHXOsDSB2ka/1inGP2f8QhJP2ynYwO1RDYSZGaaIG67oC+93a3AuO hkyMgUALqCpH1jDc8WI+thVinkq9qdeoMHPuEDXKIcqfNk5MxdGAHRHiNoNsirBqAM88RK 8o5bmVqcYjb7gGi8OWjVsF3/44rAhp44vxm1Zy/Zf/EiQL1U1JfJH4ZgNXyN1Q== 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 6089C8A746 for ; Sat, 28 Dec 2024 16:11:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRYSi-0007zL-Rp; Sat, 28 Dec 2024 10:10:44 -0500 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 1tRYSg-0007z7-7g for emacs-orgmode@gnu.org; Sat, 28 Dec 2024 10:10:42 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRYSe-0002fP-6R for emacs-orgmode@gnu.org; Sat, 28 Dec 2024 10:10:41 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 96765240027 for ; Sat, 28 Dec 2024 16:10:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735398635; bh=eG8T61YaKQ/KA0+8UCoOyvoU3GSGAmagseUatmbnF4Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=rzp5bVqKDBa0FI/iAc5thdJA1tz1iWk8Rxw8LDTOs8DZNyk5Si9lXnc3LaWXowWmt jIsQPBnmAkogPbxcvJiRS9KeVS4x0oqhiIqERVBBXX/bMpsBjI9wE77uXYYgjDzwbM IETS/JZgPWmWLkRcPCMRnDQfk7ZFg210/8EwrqxCbjA1VE3SYJIFQwbdMwlYveyFM0 EjKA1hUtx1sPUKo0UV2Tb4/Ki0TOE77Fwo1JWHxoYE3CoSmU0jt9Aa8Y4BG4rlsPvj 6ermKQr54KxnxaaQusvnGy8abqah1ulDGvyCQhn0ArrLzO0AVOKh8TMViCFUFUyZ7m wCO+c42DgwCrQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YL5Qd3yQSz9rxF; Sat, 28 Dec 2024 16:10:32 +0100 (CET) From: Ihor Radchenko To: Malcolm Purvis Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add next-error support to org-lint report buffer In-Reply-To: References: <874j2tibsn.fsf@localhost> Date: Sat, 28 Dec 2024 15:12:01 +0000 Message-ID: <87cyhb970e.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: 6089C8A746 X-TUID: PuiAbJbHxpsL Malcolm Purvis writes: > Apologies for the malformed patch. Here it is as an attachment. Thanks! > -| {{{kbd(S)}}} | Sort reports by the column at point | Looks like you deleted this line by accident. > +*** next-error supports =org-lint= reports > + > +The command =next-error= can now be used to jump to the next > +=org-lint= error. I just tried your patch on an Org file with 2 warnings and tried to press C-x ` repeatedly. Upon moving to the last line in *Org lint* buffer, I got Debugger entered--Lisp error: (wrong-type-argument arrayp nil) aref(nil 0) (get-text-property 0 'org-lint-marker (aref (tabulated-list-get-entry) 0)) org-lint--current-marker() (let ((mk (org-lint--current-marker))) (switch-to-buffer-other-window org-lint--source-buffer) (if (<= (point-min) mk (point-max)) nil (widen)) (goto-char mk) (org-fold-show-set-visibility 'local) (recenter)) org-lint--jump-to-source() (let ((buffer (current-buffer))) (org-lint--jump-to-source) (switch-to-buffer-other-window buffer)) org-lint--show-source() org-lint--next-error-function(1 nil) next-error(nil) funcall-interactively(next-error nil) command-execute(next-error) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at