From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aPu4M9WjkmBNfwAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 15:55:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uJNwL9WjkmBmHwAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 13:55:33 +0000 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 CC44B8EA3 for ; Wed, 5 May 2021 15:55:32 +0200 (CEST) Received: from localhost ([::1]:55480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leHzv-0007Li-Uw for larch@yhetil.org; Wed, 05 May 2021 09:55:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leHzI-0007LM-0W for emacs-orgmode@gnu.org; Wed, 05 May 2021 09:54:52 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:35453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leHzG-0003Iu-FN; Wed, 05 May 2021 09:54:51 -0400 Received: by mail-qk1-x72d.google.com with SMTP id x8so1536903qkl.2; Wed, 05 May 2021 06:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=zON4pcny0WYHq7dvxC+mVV9twMzj31cCAyxoqCUWC1Q=; b=D5grvCD8LNscaH/fjUFICjQspnyqpI5v0Nu7smtQjwrXVm0JJYmVQxZnzO61XjZLAe oxYAera5I5BHpJMYvUQh4w+lwewarJhjCQEL8246/qliHV3qWiIIlYcGkNiuQqGWGu5h gF5+6MCaWj2g7O38ZOxnXhA3eHtqyG+EAb0kthxZB7JWtDq7cJfDL2eqZvW20dr6ecpQ NhogcO8PMNQDdv/Hi6tnnSER160embjD/vJq2Uy8gKHhhyUyVAN2ii238W52tjJlC2oj xpVJhyQtxkJXZIO0iJ63BwG3uYoIRkaeCfZuPsi+9Ha0J8VGzI6c5CNn0G014Eti436z msxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=zON4pcny0WYHq7dvxC+mVV9twMzj31cCAyxoqCUWC1Q=; b=osMfjOAoeHbsuuBJZYORgbzEFC8gVbK/FDga4/Glgig4XY8j4L89d1MKm7uuBxoV5j kzwaFNAIPA5oH25KuS8zJI2RllCjp9U864gOThcZomCP1Pl4M+bXalb0RvZC54Qgz6ne cjF9utLsKg63M8Y2qxjF6ohpPGTH2IWr2QMpDghNGuwmYmPCa58BS0TAPLyZ5mb4ArTi hu0uh6EdWPt5K1tDi6bGyPO+UqFnlKuzf0n0ogXXIJUrdjrin+OviC0RM9Cz9VQSu22H RcWEz7J7kYdRqqDLRoZ2Yh0ey6atOZ4jVg6la+0G1Wr/bS4QJzxWac5aQ2DLGJLUFBEi yBWw== X-Gm-Message-State: AOAM533kEBmuBe71tHHDmgJ2DqYXioex3EJUjmPzsImEo6pK7AY3j7qr ifZdhZpIDY6Vz80csAz/EyUROtVduyGk+w== X-Google-Smtp-Source: ABdhPJx93TGECpLlMhG8YuhqQERe32k5sofR8wvmCwHK/sHyIlz9MOq7E7zW01AcNwPNIODGddqvuA== X-Received: by 2002:a05:620a:20d5:: with SMTP id f21mr29992577qka.135.1620222886204; Wed, 05 May 2021 06:54:46 -0700 (PDT) Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id v66sm13474435qkd.113.2021.05.05.06.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 06:54:45 -0700 (PDT) References: <875yzy73k0.fsf@gmail.com> <1e5a447a-2453-09da-fa51-379c9187b210@posteo.eu> <8735v2706t.fsf@gmail.com> <87im3ys0ik.fsf@gnu.org> <28c262ba-7816-a38f-8d1d-c4d6d880d2e2@posteo.eu> <87y2ctlviu.fsf@gmail.com> User-agent: mu4e 1.5.13; emacs 28.0.50 From: No Wayman To: sebastien.miquel@posteo.eu Subject: Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)] Date: Wed, 05 May 2021 09:53:30 -0400 In-reply-to: Message-ID: <8735v170bf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620222932; 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=zON4pcny0WYHq7dvxC+mVV9twMzj31cCAyxoqCUWC1Q=; b=ig8MuJxMLT3B1Kq+B4ACY1U3Lktns2gQDzQT+XMTPrUsI/oRprYbjrCuoDTeCt8jaukYEl NKfIJK1oEz5NgwEN4Hg5EwYNnn0kzZ/lrAZ5iRx7i4NcCjavmqi+xSKbQmQ4dq40S/P9RM nsE/IM4N/85/mhGEJLoSXZ/dmcxhx0368odFRTZojo0RqnVkeS/9lLlBOLuhiv8eGngeLs 5AyrJqVQXKMGUh+Dl4pxONf9Vhxr8qAfteni4yC59cLgNAmLvsrreQ7GQWi7iBmeYsELWV w94kkPV7Ll34xwQMlQ+toiOkMSpTHplrvKj4r6ilzFc09USPyPYfRKh8bmrieQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620222932; a=rsa-sha256; cv=none; b=l9YShvxl2P7sJg5XDAMEaJyXCwhdi1Sn8eWX47BzzGGMZ2z/ecqlcMAjyMfe6ZRg/XT9E+ FIqKj9+0OcqXRHkVtXHAi62sMNzUok0QHccHem6LHePebfrjNV+8SdQe7HnYu7jGxUA3ug Om4ZT5ChJRs5ROCTSDpyqRs16Hec9lmIh2TmUj8H1jsLKN/4JdiLkg4cpemKUIHlkBEAt7 yZKMKWNgoTDPFrfbJaJc+zemsGi5WzRnsCiqyVaVrOjTNtqEmtNIJLwYtLVqyWeD6MVV7A +/BFmX9RcTTDVDnLxhPN8jiyA0LjAjXKZGlfMhC3PIBDQY9Y/1xFgVjlSMJ18A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=D5grvCD8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=D5grvCD8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CC44B8EA3 X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: dJgywMk10wL0 S=C3=A9bastien Miquel writes: > Here's another patch, to be applied on top of the previous one,=20 > that > fixes this. > > The specific case you mention can also be achieved by setting=20 > the > :tangle argument to `yes`: in this case, the tangled file name=20 > is > computed using the buffer file name and changing the extension > according to the src block language. Thanks for the tip. I probably added that years ago and haven't=20 changed it. Updated to keep things simple. =20 > Thank you again for the report, and sorry for breaking=20 > everything. Thanks for the patches. Tested them and everything seems to be=20 working OK.