From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yCR5CLhLhWfRLgAAqHPOHw:P1 (envelope-from ) for ; Mon, 13 Jan 2025 17:22:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yCR5CLhLhWfRLgAAqHPOHw (envelope-from ) for ; Mon, 13 Jan 2025 18:22:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p+akfzm9; 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=1736788920; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jIUm8IifF0D67d17sI306iXyFM7ITlFd1SfzgdR0q6o=; b=P62uitA6LF+np75Sow4ZK3ejoa5eFYhvO00eb1uqGDZfLqtZZwOuGP69rzMSOVlpfzbPLc oeBbMwpD0p8le33aTxlWo0ntovX6m3Ldtjnnn7kBUiPisdNpii2un8hiyQW5KzjlRh6mT3 FL/hbpLx6zRet62kheTov1IDdQ/dwog3QyOCiBm1FsCQCVcjjKq+i0cBly+5UTD3jdW7uV qL4iK8s1eQ5eoHYOPACsG8ibkaClOHWpGzQJr9ma8kddqjVhxnkPWyH3WgFnQx1H/IGIy+ 0F1yE6KvdXBI0TCTYbKsFYiWXsD3HST03hJr6WHfvFUSdAeB/HxKpRpG3RFPTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p+akfzm9; 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=1736788920; a=rsa-sha256; cv=none; b=YMHGbu+1YmMGJ5LetdQlFD11ZB3vyovmxzjrsuBpALxxT44ULErh9QoJDKX5n6JedQro1D SuyQbLoe+AOdXZ8ZT7b10ubex35PeBC2XVDOyQPJTH36I9BQ947+MxspsW/NzMGcZVigAJ EMalpDOTqolYadc0hA0WWnk1Pvp7Pa3t4Ma0YQ7YPQhx4MUEUQMel0iQ25/4l9suevaDKh JQzoah+SSYAObusSaQgSmszybz6Sp2nNDdMhKm9Kc4m+rCVRWSoGMnDb7cwV6Fc7E6gVod ce7q5s144b5sCcItSpMT1XTyq+O+B3s3c9TpRrrPelQpKbSxFlJBLTqQk/4dfA== 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 B3D093380E for ; Mon, 13 Jan 2025 18:21:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXO7x-0006vr-J0; Mon, 13 Jan 2025 12:21:25 -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 1tXO7m-0006qD-9w for emacs-orgmode@gnu.org; Mon, 13 Jan 2025 12:21:16 -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 1tXO7h-00044v-UU for emacs-orgmode@gnu.org; Mon, 13 Jan 2025 12:21:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D473F240027 for ; Mon, 13 Jan 2025 18:21:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736788866; bh=jIUm8IifF0D67d17sI306iXyFM7ITlFd1SfzgdR0q6o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=p+akfzm9RdAEwCs3AyPJadh8kkbeEU8zBf5OJQWnFm9Pyj9sU0MicY7+AV4PvsCo/ juDGZt4Z7TOQ6bADx7rEclg/FynJr68jtJDUyEphIQUO9N/fBdF/HoErJeK/ApN23W nW4wkNp0vKOz/qHEBVuVPWi3YHRugTdsSysGstL/MqFPzOiXXztl2XgrN2j+3KfMud CTyn0XAMPJ/0gycrJoDdsD7wKFBpNxM30P9xJsZC2N642TthsaOzm5Myt0Q93ytIlk ZwMzAtfUtfrDR6EhkvA/5Ph5fcWxriNwN6VhmXRYVb1nGzg2m+AXO7OuvEFNGoypS8 jOogYPqZaeIfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YWzYt2XS9z9rxL; Mon, 13 Jan 2025 18:21:06 +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> <87msfxd81c.fsf@localhost> <87sepox9oy.fsf@localhost> Date: Mon, 13 Jan 2025 17:23:24 +0000 Message-ID: <87wmey7hmb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 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: mx12.migadu.com X-Migadu-Spam-Score: -2.01 X-Spam-Score: -2.01 X-Migadu-Queue-Id: B3D093380E X-TUID: woNx9iliWzIY Derek Chen-Becker writes: >> Also, what about other places in the code that use `buffer-file-name'? >> We may want to use the new function there as well. > > Definitely. There are hundreds of places in the code where the same patte= rn > applies. Per our previous discussion in the thread, though, I thought it > would be better to start small and incrementally work through them. If you > want me to include more changes,I'm going to need to help sorting all of > these out: > > =E2=9D=AF rg -q --stats buffer-file-name > 185 matches > 182 matched lines It is ok to only limit the current patch to fixing the bug in question. We can continue with more changes later, after merging the more limited pat= ch. --=20 Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at