From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CAf3DfHc4GEc7gAAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:16:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cKG/BvHc4GEbKAAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:16:17 +0100 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 A1F7927024 for ; Fri, 14 Jan 2022 03:16:16 +0100 (CET) Received: from localhost ([::1]:58708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8C8V-0000EU-Jr for larch@yhetil.org; Thu, 13 Jan 2022 21:16:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8C7u-0000ED-QR for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 21:15:39 -0500 Received: from [2607:f8b0:4864:20::102e] (port=36719 helo=mail-pj1-x102e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8C7e-0003N8-9R for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 21:15:25 -0500 Received: by mail-pj1-x102e.google.com with SMTP id i8-20020a17090a138800b001b3936fb375so20678031pja.1 for ; Thu, 13 Jan 2022 18:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=JWbxclYJR23gsu2jN9MBEUvQ4EB5mcw32n3o1LwjbqI=; b=DzGICZ07nWDUh9/xlzX89rrS0uMEHidIsrm82eywXKsqzfVVribpHqmc2UlmB9o7tw ULEQNPaJQDAGzPu2/+GyYCcG31DdgsgBD9wdmlUfxIiAeJy+ohwWLCneoIzJaW9A9TO3 js/nGeFsJNzZiEZtvRVgd3TI04AmoX/S05teEFoTcB36rXIsJ8zlAyqk4DD+f3xf4ZO3 c8avXRgTSI1ZAbmJZRhWBeiaJC0qIMSEYo1iBQyiDdaz67IXvXUmVEFe398JBXQv2jDm NVC1svtRf3R8us6ZYlqii3LVHtOI/dYzjRapDygwflZA4oDXZB+KtTi1J6XDEF6ti1Ck sRmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=JWbxclYJR23gsu2jN9MBEUvQ4EB5mcw32n3o1LwjbqI=; b=cU8ZO5O5vu4eh8GshmRF/BhnHbFUYGuNyMnlG6zKKdZqYNlI6p7PgwXE/kooKfF+bF 4fEjg1htqXeBKEncpZjvVl8kMvRqKfptmlng+JKIlsw5D5/Rnq5atdIo3bw1IVQgmBPy d66sFNxreouYCcKtdLI0FOU9ODH4e3mH4h80vApK2TW4S6dpd00arKmzPw59w+rBYv8Y W4yQi4I+Sp1b9RFWky32/cFpMMANvHlWPJtpYRjuiFIYQ9XO025Lnlc1J/NazAvsmSqn MxNEcaxpNHaZ892mQ2ZZxySk4x7TyHiVSz7J7XM6QIE5shcCpWPwTWY478bXr00VBECz nZvQ== X-Gm-Message-State: AOAM533QvUbpZ7g/CoSEr7w020WC/UeOwFWlnv3K402e26bndOWLuhAT PUIruTlEqWxCdsBBfyae7XFuNqhqgWg= X-Google-Smtp-Source: ABdhPJzyH6d4eLQxjpj9aG1W0RF0ITLhqPc+4fKYdkBq9HSr1waYAAhC4JOIibEki8lkBvOjzNQXYw== X-Received: by 2002:a17:90a:df88:: with SMTP id p8mr8308316pjv.177.1642126509479; Thu, 13 Jan 2022 18:15:09 -0800 (PST) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id p10sm3983743pfw.87.2022.01.13.18.15.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 18:15:08 -0800 (PST) From: Ihor Radchenko To: Allen Li Subject: Re: [BUG] ob-tangle overrides user customization of org-id-link-to-org-use-id [9.5.2 (9.5.2-gfbff08 @ /home/ionasal/.emacs.d/elpa/org-9.5.2/)] In-Reply-To: <80a6g09j29.fsf@felesatra.moe> References: <808rvm4jr3.fsf@felesatra.moe> <87mtk24hxm.fsf@localhost> <80v8yqkssa.fsf@felesatra.moe> <877db5ow26.fsf@localhost> <80a6g09j29.fsf@felesatra.moe> Date: Fri, 14 Jan 2022 10:19:33 +0800 Message-ID: <878rvj5aa2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642126576; 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=JWbxclYJR23gsu2jN9MBEUvQ4EB5mcw32n3o1LwjbqI=; b=W+byybLd1AUQANGD3EQWg2dfjNV9XFQH6xxTwMSRQVnt7NKPG9WCLgELVlquAnibPm1vWE q3lCb72q3K4MXRA7KmhSVHkluQjIZQs3hFI/N+ig962TUCKzrJ342QdKz72GofSpxLdxos 0crgQz6aY7/8oNw1akClUZn35ilVhUPi8opc79LCSzh3oSrgg7l6hRBAvTFYGQBrghs2p/ tE6Yf9VSOVrxhScuQe2unYriO0jx0xnOAiDCgi33n4Qiam7n01Bm+Lc0gHvj8xhUBbbvDu IjvjZT7ySde9jRLroV66JxyfQvfsadl+cUYM3RA1snkjo8XKlSzA0+j5LS+yYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642126576; a=rsa-sha256; cv=none; b=RkKnMpPeyZxIOEA/fMyMydPhAAxjQozrfgvqYWi+uI6jZ3fFpMYzRh1zg+47m5MO9KN/RL tAJ1carylkRQk2Z/nP1fO9lFaGTepgaHTVs6Gqkg9G6524E2hDNOWPsgCUKVX/Pk9Pxws6 eIpTfPO3wRFwybNT8rhIsvqRJLbb3JdGalC43sOzOccey3cbLyeSV7Ho5kd/QTzm9fGj4d GlF6FFFq01W9dCEZXu8815SauWAyN649dlXMYpWVYrH1foligtnFUj66ipIwnuIvqtZnbM Zb2VbD9I0XN7ZwdBvaEPHOOPtVRVzW8Ysub1jPAD9MvkTmzfaugh2UVjASSo/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DzGICZ07; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -8.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DzGICZ07; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: A1F7927024 X-Spam-Score: -8.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: PpkRVafAiBXq Allen Li writes: >> I agree. The question is whether changing to >> (defvar org-id-link-to-org-use-id) >> solves your problem. > > Thanks for your concern. By editing ob-tangle.el, I can confirm that > changing this does solve my problem. > > If I must, I could provide a reproducible example, but I feel like > that costs unnecessary effort on the part of everyone involved if we > agree on the above point. Let me clarify what I am worrying about. We have 132 occurrences of (defvar foo nil) in the code. I am genuinely surprised that changing defvar fixed the problem for you and at the same time nobody reported similar issues with the other 131 defvars. That's why I really want to get a reproducer and understand what is going on there. So far, I don't understand how defvar can break anything except in case of some strange compilation/mixed installation problems. Best, Ihor