From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wJoJI8JD02QvbAEASxT56A (envelope-from ) for ; Wed, 09 Aug 2023 09:44:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id l7QMI8JD02TzMAAA9RJhRA (envelope-from ) for ; Wed, 09 Aug 2023 09:44:02 +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 2903D4BEC9 for ; Wed, 9 Aug 2023 09:44:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=a+Iu7lS2; 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=1691567042; 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=XeciunLDTzXWjsTK8t8MaHdk0wFk6V4UnX8XL0zWN9Y=; b=VF6siSTgvK+7FMVWXBNeGvIilwZ/jo0teXRlwVR1mhTfuc3XtwU/U0f6nOnZsXfcXRodcn mKcydthobzLc8M45ik5zR1JD91MXLj9x4Rg2jVCOizk74iiM4gg/DrV6CYfXpDkfZgv5x8 +NF1675bScj3/FxRSNOdMzasFNLaQaVdCsFI96MvscV8iWqSqumdY1/AFqU0NMRZB5hEUM vRwjJvQMmK9Y80C9iGTe8sXpLRRDHx+Z0c5kCfWW3uEFmeEi5l4vLwYs+7FreAEea1YqGJ WuYSlblj/2hHeq4X7Blux3aXkdo8ExUKFeadEEaeyaKw/ChOJpasJEnJdihCYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691567042; a=rsa-sha256; cv=none; b=JW/UDEkVQpkU8uXESXgqhEZ2b1RinGKVNv+xnw3hgPL4gZEqZlYdWVWR9fyMTjrmHCK3HL 7a84ECwXJM+HtNqssgh/TxOfGIcuGD+txbq1c/jsUisYp53iBDpGUnab50wWrNVerap6aF xmYkVCZlc7b+5fegFhuuWVTRIyqiUSk+D4M3tKqJ1ZSXd1g+6g8JcJXnIqRTWrA2UPjiHX koqMePCJUFcqNttt8rD7pvQqusXltReLCuqt5DN5sht+DZG+2Zize+GK/GH4mLUvzRhgK6 ldBBeP//i3GLK/dErKpRZm0Ysy6Gd1+FgaxP5Kgp5ZLClG2jCvNHLrLhUBmDug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=a+Iu7lS2; 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 1qTdrG-0006ql-Gz; Wed, 09 Aug 2023 03:43:54 -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 1qTdrE-0006qX-PI for emacs-orgmode@gnu.org; Wed, 09 Aug 2023 03:43:52 -0400 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 1qTdrB-0000p7-Bc for emacs-orgmode@gnu.org; Wed, 09 Aug 2023 03:43:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8AD66240029 for ; Wed, 9 Aug 2023 09:43:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691567027; bh=TPeR1X2VSpTbZBf54O9CTzMuXv3kzZqNSml5tQk+LBg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=a+Iu7lS2xq+9p4fWelHIHqtG0TmCxkfyUaBmey93UDptfcZd8fxrgPlzSI2PjzGgb Hxo7VgNhOP5GtA3Tp7js35KCfX48tVWXuvSml3eXmaXVDuWHmrOe4cVmHJ3OijpaEC 7h4NcxLdfb17pLv63DKjRHHSuZVlSE5ulrBVKqOWz8UF1j1ZlmXODKJmxNwhFkrhhF Gauu4EU9L3qbEQJm8gQ4inVv8A7V5776XM/RZLP2Z9MkFkC2lzjrnO0UXAJzz0lsan y8KtjyJSa1LOc19HA0InltgOdpQHTL4obDJChiwikzO2lbEIq8pj/y7TEMSpl8R3s2 CYsds9G7v1Qxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RLMW66sSMz9rxK; Wed, 9 Aug 2023 09:43:46 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org, Bastien Guerry Subject: Re: Worg: issue with org-tools page In-Reply-To: <87tttcryxr.fsf@localhost> References: <2023-04-09T17-33-57@devnull.Karl-Voit.at> <87pm8d0zgg.fsf@localhost> <2023-04-09T23-50-33@devnull.Karl-Voit.at> <87cz41gyqc.fsf@localhost> <2023-04-18T15-32-06@devnull.Karl-Voit.at> <877cqikj93.fsf@localhost> <87zg3dj406.fsf@localhost> <87mszdiwt4.fsf@localhost> <87r0ooghim.fsf@localhost> <4762096d-2685-de1d-9bfd-0370255faedd@gmail.com> <87wmy9k78t.fsf@localhost> <87tttcryxr.fsf@localhost> Date: Wed, 09 Aug 2023 07:44:15 +0000 Message-ID: <87ttt8ek34.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_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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2903D4BEC9 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.75 X-Spam-Score: -6.75 X-TUID: eRoUQWTEHK7f Ihor Radchenko writes: >>> Note that I just pushed an alternative (but very similar) change in >>> https://git.sr.ht/~bzg/worg/commit/b38a1f08 >> >> It fails on first error. I find a report containing several errors much >> more helpful for figuring out what has actually happened. On the other >> hand there should be a strong reason to read all errors when there are >> hundreds one. > > You are right. I will see what I can do to throw exit only at the end, > showing all the errors. Unfortunately, I was not able to find a way to do it and yet display the error backtraces. The best we can do is using `backtrace-get-frames' in the error handler: (backtrace-to-string (backtrace-get-frames 'backtrace)) But it will only display backtrace down to `condition-case' entry - not very useful in practice. So, I think that the best option we have is stopping on the first error and displaying backtrace - it will provide as much information as possible to diagnose the cause. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at