From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gL/JD7s2gmeKOAAA62LTzQ:P1 (envelope-from ) for ; Sat, 11 Jan 2025 09:15:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gL/JD7s2gmeKOAAA62LTzQ (envelope-from ) for ; Sat, 11 Jan 2025 10:15:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WjL8Jsc3; 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=1736586939; 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=/psk/e+Go8t5e9os+plCUIN3BM9Jjfc0OP7W7ydK3nM=; b=r3sEbLWZKRp9blysttiibUi5kI6ROnVWCqlq6yI06diBfbx7Lqp1Ynnh4zAchsj/SvT/r1 A/f2Zkn6t/JZf99/Zg8QZo68wOkPs1QknQFBlwGgrrQyW6jNbAkThbzwxLv5Ij+0JH2GNX bEaY6rzCXs/xAe0b+E+sODYERJL5Q9sT+RXU37vYi1zH/L7sQ9yT/XI9NTbufz0FBoQVo+ HUtBQ64wYZ+jkywd490Y/nz8WXSFsf4ozqtSvb0cTDKANKsWBQpE5P3hpt5YfXMJgkN9Di MtNl5TGhjqZvHCpa0hrYNdbrnk3Or2XN70DoYk5gmQXB+MzvfJyPci+ab8oOmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WjL8Jsc3; 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=1736586939; a=rsa-sha256; cv=none; b=X8F35AIROJUEYkuKHO4eRz9+rHiBquMHXta7WzmJ+l0D6Bgu5Q3RfDbh+2OiktquZLLe+X IIsY28KWJrouJ0BPUYhvI9YPeQEo2uLSY7bcW8CWvHNhvzyO3tx3adV8v1maAYjROllg/7 7jFyEZdJxuE+YupUnncaNne2ss50AgJnxW88XE+gZWIUdwQ20JHsjCrHIw3CBJlHiVn/co mKzXKouvgfKVDZmjTOXg53yJKD+dXe6ZRsbmlakTsgIUIdP0GFhPEB9yFjAooX5bSC0lKD xk/iv8vvq+gJ1+Rer+WxwwHzw3iQnF/6E4eKjYc4FO0Z1R62lzxTy9OUpGdfSg== 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 D37D33244 for ; Sat, 11 Jan 2025 10:15:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWXZy-0002Zj-4e; Sat, 11 Jan 2025 04:14:50 -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 1tWXZx-0002Zb-3K for emacs-orgmode@gnu.org; Sat, 11 Jan 2025 04:14:49 -0500 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 1tWXZv-00041H-4r for emacs-orgmode@gnu.org; Sat, 11 Jan 2025 04:14:48 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 346E2240101 for ; Sat, 11 Jan 2025 10:14:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736586883; bh=q97qvmC3I1fOjUSmeedKWWdtDQH1VxabVT4OROEzClY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=WjL8Jsc3KpmRaesN1frv6TCD1JH0ikuCQ6T0TE2ZtcsAaa8Wb9jmnb8Me0t8YYGpy fef8pwqxHf2y/WpxGDtc2MRqX+UX78MYC3/zCNqmlkh5NHqis/yRwpH5w5BdqaBk3l Peqmk31HJFg071nPyweohEouuxdeuZK+xEkpSDfyq43/Kw373S2fqPa/1sIrzzIilf 7XsShSo5l/IG1q1izkXmGQ6yxJNYOEJbP2qfB35MdfUEtfWTbBe6bpuIsbYH3DmVk+ DxvWoINRXCDIZZJaRbxvUAdjncOamND/EeuFCz+NG+oFYdXdE766+cT4DQWzkk0Fld wysvw+fkuRMrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YVXsZ5ndTz9rxK; Sat, 11 Jan 2025 10:14:42 +0100 (CET) From: Ihor Radchenko To: Derek Chen-Becker Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Cannot tangle src block in capture buffer [9.7.6] In-Reply-To: References: <2dijBN1CGUPtmZzcNXZAe54y8u0pC8V_DYIBCL4rSR1eh2s8TFJGW5V3q7pkiCRFtEHYXy66CU7F6kK3NN_VAX-R_RbAXptG0b5vOlUQsi8=@protonmail.com> <87y15bcbi1.fsf@localhost> <877c7zede2.fsf@localhost> <874j2z7a8u.fsf@localhost> <87ttatigrx.fsf@localhost> Date: Sat, 11 Jan 2025 09:17:03 +0000 Message-ID: <87msfxd81c.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: D37D33244 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 0.04 X-Spam-Score: 0.04 X-TUID: Vb0yBQfR81Ci Derek Chen-Becker writes: > The holidays got the better of me and I'm just coming back to this. I've > made the code changes to add the new function for resolving the base name, > but I was thinking about adding a test for it as well. I'm looking at the > examples in test-ob-tangle.el and I think I understand some of it, but is > there any documentation on writing tests? The README under testing has some > useful info for how to run the tests, but not much about how tests should > be structured or any important facilities to be aware of. 1. testing/org-test.el contains some helper functions and macros that can be used. 2. otherwise, just follow by example -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at