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 uBekDjkEA2XMFQAA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 15:01:45 +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 uBekDjkEA2XMFQAA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 15:01:45 +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 12C1D4DACF for ; Thu, 14 Sep 2023 14:59:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dt0nshjK; 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=1694696347; 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=JgdDaN5rDMqxN8o1rku9JW+T8o/fbRcBZmI7FAcTXT0=; b=Ez9oii6sLgcIadtEs9VhtpLKR94emvpiJ7yRpORyUpHo7JGZQ3KemN6XzyULwmY1ilpCPP zTUzjLrvT/vBr0DbkIVXz3kxXhtwcMj2ZHr0BB9jknUMdd8ykuTJ9B+wmyD2AKR3JzmZS+ 3BU8lZX0gJ4vb7Koj0neVWSE6KzvgMgp+mHHt0WTrOnBfdO90yOx2AeNJxAVWpOpv8lhgm /3HQuQ+fWFo7UHNCH2mtmn1vKLZak/3Sdk3w5hdF0vcJBNwHAx0mR7HUOeo8Oxha7ROWxJ Vg3K9iPbouKipCiATSBCebIrvsjx16AsjQ+eMeF5+0OAY3gP0wXDlnDs3u/i2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dt0nshjK; 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=1694696347; a=rsa-sha256; cv=none; b=fxwAWv3nz6gvnsr5MLTLHoDfX82GpEPGLh8My2yCoFK3jZUwGX9sEfL1pwC736g8T5G2rh cBIvEeBHZgS1ZRTMjsbA7NVkSpVm0ULRokZmfv/+O6+QFllfE9d96ygFLLjiztdG4fluKU dM9qT0yneKdDHYyVH4ckxGsI0QoKkDykMRQKOg7bQoOgaPNxDnNgR90pSM+21dJGOkepS8 cLvxRTEAXBAE6Fm58Fi2HI7ts7NgSLNehWKFwyg7uhxGrO6aBideMp9yFy3KDzY3DJfyxf fxlbULGh2DW1XsVt72Zd592ZpqWY2hjNNxUEofssbMby8Md/sInYy+0AxYsQ9g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qglvA-0004EV-Fn; Thu, 14 Sep 2023 08:58:12 -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 1qglv4-0004E7-Nl for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 08:58:07 -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 1qglv3-0004YI-3C for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 08:58:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6C575240101 for ; Thu, 14 Sep 2023 14:58:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694696283; bh=wRPE8qE2jbhkIXcqqxKCBAJQdqPxz2v73BQFAIkTCd0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=dt0nshjKdgkjaxicbf9OvRE249aspt1YCoh+VIVYBMVT6bzvsMtKc4WiUU/WuzTAn i/0bpPYSbju/J/1nAaPOizNXwhwsoTzZmFPS6FRAFbMn/66msDtjZKBugr2F8tykNw qtcFm0rPk8+ZwaymXbuQK0sjXIGg7nQlTeiztkfNDq+1BhDIAH4Tro6WvtXQdnOM/w 0Mj1PrNFOW/PLPnbWB0vigpP0YGZ5TaXVvPpCBqojwTWjWLRawgByt4654OryAGlt1 EC8gNjmGCDmB/ke1LlMTSKQ3OPtL2VW8bfyj9mGEzarLjHxBhGu/RsAEMMvhM3EP/v RBwbsNALs1Czw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rmcn65vTLz6tsb; Thu, 14 Sep 2023 14:58:02 +0200 (CEST) From: Ihor Radchenko To: "Fraga, Eric" Cc: Emacs Org mode mailing list Subject: Re: error tangling: how to debug please? In-Reply-To: <8734zg2a09.fsf@ucl.ac.uk> References: <87bke50wh2.fsf@ucl.ac.uk> <87sf7hapy3.fsf@localhost> <8734zg2a09.fsf@ucl.ac.uk> Date: Thu, 14 Sep 2023 12:59:04 +0000 Message-ID: <87jzssc3mv.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -1.31 X-Spam-Score: -1.31 X-Migadu-Queue-Id: 12C1D4DACF X-TUID: vV12C29UJODY "Fraga, Eric" writes: > Ihor, > > On Thursday, 14 Sep 2023 at 12:40, Ihor Radchenko wrote: >> To debug, you can try to patch `org-babel-tangle-single-block', catching >> when `org-src-coderef-regexp' is called with nil argument (it must be a >> string). Then, examine which source block you are at when that happens. > > Thank you. Happy to patch but how do I actually determine the source > block in question? For the patch, it will be something like adding (when ... (debug)) and evaluating the defun. The source block in question is at point, so, in the debugger, you can just do "e (point) " and then jump to that point manually. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at