From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qEJZNPjuhmfvLAEAe85BDQ:P1 (envelope-from ) for ; Tue, 14 Jan 2025 23:10:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qEJZNPjuhmfvLAEAe85BDQ (envelope-from ) for ; Wed, 15 Jan 2025 00:10:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=kpMRp4mE; 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=quarantine) header.from=web.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736896248; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=N9bI6avm/24QTleDluEnzrSGLAXTIFJDBKTG6dK50X8=; b=WOO1/q7t/r1NNiBwVr2oRZyqAhWlIovwp00oOpHxqed7T6XMdlDLN+K13XP6BJNV51oMkg TyUHSo8iijxcO/XP1/7ytZTkU3mC7gnmzUOvL3sSRX7YCLO3n2rQ4AG4U58+QFjuQIwWQ/ MdWJyByGgAoTWQil1edaA5eXWW0exoHgLOx+R6IQpB2sfUHKKpUncmy6CLrC2xuTh+ufu5 EOcFqPhNld20uOStdvpUacDqRUZaY2dQUGSFJA90YCokB6QCzzvpgDn8ldIKTJWxAAsvO+ tNKBt5KlvCaOYzQFwbJ7s4UN/rOBul/j2c1Okzu8ktmEvzQ7uxmfv88rKgwA2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=kpMRp4mE; 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=quarantine) header.from=web.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736896248; a=rsa-sha256; cv=none; b=H2TxXAwk4eCaAMu0K47MGuaysOCyc+hGDqllpuOYJrOEdD/sxZeCgPE8U9JEad2IgRQyXh QQcsdN7qCOmp+gxC9Px5CtSmF6mqFFY3seRNual36+KQlDNqu1UZtGGlvwUus2LOgvpqP1 ATqs2AU+YbDt900JFe9Xdbhyp1+EXiVnkrvtn7HUsX+dOlyUjOSFzacyQeZSEZHrfaN1bD mMYDEEXmtyhFprd24XNI6VqKd4FTtW3JarCj5y7Mb+1u3CpldzjwHvwb7bitEHEAfsH0hO tylJ/P32VaerSv1jgnGc9HbaI6Zx9h3/kx7+LK2/eqanbj6h+MId5NLtb8dKIQ== 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 A74E41AF41 for ; Wed, 15 Jan 2025 00:10:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXq2g-0004uF-I9; Tue, 14 Jan 2025 18:09:52 -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 1tXq2T-0004ev-GK for emacs-orgmode@gnu.org; Tue, 14 Jan 2025 18:09:37 -0500 Received: from mout.web.de ([212.227.15.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tXq2P-0004L4-Vl for emacs-orgmode@gnu.org; Tue, 14 Jan 2025 18:09:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1736896172; x=1737500972; i=michael_heerdegen@web.de; bh=N9bI6avm/24QTleDluEnzrSGLAXTIFJDBKTG6dK50X8=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=kpMRp4mEySCmEoHLxP/OeSPMUpFCZlLy2wCB1iE087uURsV7KdVKks4qpf4V2BM0 dmVQNkjGyQIBVqJ/PQAPZo46uAdzZpy3+VjFl32SJ+wY25i6ngZQ5coqx5dNwcVE/ tuFtxVlTiRIcHetn4m2fnekD7psGeknK0kXIgYV8i8CjXZ8wvXrJ17obgGAigmaKS DRos6k9MUbGLDWMjC50U1ocwhI+8pmtZQVpDYgHnZ1x5jW/8HEeI5Am9SXTTtQmXF 2WOfLeHlk19pM9NtTPlysR/TZXwmoRD6cfeKyGsKZyDUzRMaUllfCzzPiDoJ/oWMq RU3CMgG19FwjyWo4IQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([92.75.138.197]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MWi5s-1u4k3X3h7o-00Sprz; Wed, 15 Jan 2025 00:09:31 +0100 From: Michael Heerdegen To: emacs-orgmode@gnu.org Subject: Re: [BUG] Cannot tangle src block in capture buffer [9.7.6] In-Reply-To: <87v7uhe0tg.fsf@localhost> (Ihor Radchenko's message of "Tue, 14 Jan 2025 17:56:43 +0000") References: <2dijBN1CGUPtmZzcNXZAe54y8u0pC8V_DYIBCL4rSR1eh2s8TFJGW5V3q7pkiCRFtEHYXy66CU7F6kK3NN_VAX-R_RbAXptG0b5vOlUQsi8=@protonmail.com> <87y15bcbi1.fsf@localhost> <877c7zede2.fsf@localhost> <874j2z7a8u.fsf@localhost> <87ttatigrx.fsf@localhost> <87msfxd81c.fsf@localhost> <87sepox9oy.fsf@localhost> <87wmey7hmb.fsf@localhost> <87v7uhe0tg.fsf@localhost> Date: Wed, 15 Jan 2025 00:10:46 +0100 Message-ID: <871px5yosp.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ER5weaAqlO6PvS6AMMKlYmHaALGicFcaxSD0aSlqj+qbkN/nnnP WDo/ng+Aiuij3AVkSZnrK7OENLLhuJFbZS4XaltSqa3LFAu2vxIv6Ib8RG0ANKizm9RdfI/ FQXpL2hMEkD+38quq4nGkNG6UazyesyllY+piO5CThAAZWCGoKUrEGRFspfhOkAgujR/EvW iEKNPx8Is4RpGU+Hjlzfg== UI-OutboundReport: notjunk:1;M01:P0:6sxFK++a+2w=;63Ey11tANPer4yOWaZs47dM8Pd4 EKwdyd7lvk/o1tIiiQpkguJuwodCjWjYUUv1I+q37ma3bR59TjXiLvYPMQKLOEGze9nr27g6A Ndf6kpaM6XC/AVlANjpYwrtg5XkwqccgmXIJ/cIlUYvj2IRtmJ78ObJhckJJv4aQ2BpaDgVb5 YlnIrYnk8+6LKbwOeiR7EQz5BBCGVCZXlP0Ooe5vz5hBfW06voEJ25doV7M+eUKa/e1GFHOue vCYj+8HOQaF17SClW7XjmeVFphbE6SXGNIuDiuzVHpaZC5znI4e3IpCCUi0mIwa24YxMXAIUR B9nD1kKmjVhdkBxqVbhqyrvh4vWnspf/tFR4eedMY5Lqn4klhcichYOhSE8bmGf6gke/43kQX fpfooMtYpMgtWJDsN5WzR4R8LjF9Z2c+QDSWeeFUbUwsCmnJEPDIdU0vS0PWnFPY56DeBUYV5 O25bttiG+j585gPD4qkJGrNWSz6zkM5xknEI2OZStlt3i8SeIfJjOhzNyrGuRRlnGJoIbKAQ5 uVw710IM+1VPyfSKx53Hhy+g9hbNCbDwrP0v/RRl6REf7TFYj8sJlQosunHSOVmDX4Zt6ETIl HO1b2/fQ3OwoLEHvP3zpHzmNnukx/DyrCub36XB/ANRs2R/lIWMXlVxqLVSxDmtQvAeZYaz9K f3LlQVp5kYSwFR4GIZ4CD8WwvzCZxBOfTo0e3FP3ELWrpvc+E++uGLGkZTWmzJ1Bn7tctmyJu zr8qI9ORo6e+ARDrhbcCLtCi0vEwMmG5vxbcahFfQ7tL8IWap42sR+c6ZQTOWzua9ogG76kRm pXnRpXn6eX5Jz0HpEDputtnzAL1ykgytdMW6XoXBxtrezhdeZfMAqTwJ8a7RIkX3MB55Ijt0Z BEFtyFkyiZK4CvlvyYey+UxIjLFfBsMOWeyj7yI1Ne3N+xemQ/fTrtnNqN7OiB2VXHqsbSHVY ukYJBzqmT+3XgWUxz6niQd8xNf+nmONI7Xx3mej0lIpbkRMDV9G0FkVCxDXxRTpNPIPLfHRuJ ELpLHhBXusRjy9FGUeHOZBW15kqvY34ONdg2RQUzDE2LS98kA98yLGHzBjdu1Hd1ma4Ij2i8T 2j3C8N4wKFW4APKAtDk3Nla1U651lGcTJ1k7ReSF8pYC85HgvjlZcTi37U7WOQ/M+qulEB8fB 9czBf059ePJF7u1kaBqwQRf4LR3JlAUsyu1YLsASDQg== Received-SPF: pass client-ip=212.227.15.3; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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-Spam-Score: -7.90 X-Spam-Score: -7.90 X-Migadu-Queue-Id: A74E41AF41 X-Migadu-Scanner: mx10.migadu.com X-TUID: dDVdQclwVVn6 Ihor Radchenko writes: > > + (if (buffer-base-buffer BUFFER) > > + (buffer-file-name (buffer-base-buffer BUFFER)) > > + (buffer-file-name BUFFER))) > > Nit: Can also use `if-let*' to avoid calling `buffer-base-buffer' twice. Nit^2: or just (buffer-file-name (or (buffer-base-buffer buffer) buffer)). Michael.