From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SJVRMNfa32EC5gAAgWs5BA (envelope-from ) for ; Thu, 13 Jan 2022 08:55:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0AcEKdfa32GAVQEAG6o9tA (envelope-from ) for ; Thu, 13 Jan 2022 08:55:03 +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 5C8DD2EF06 for ; Thu, 13 Jan 2022 08:55:03 +0100 (CET) Received: from localhost ([::1]:59796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7uwo-0007x5-Ci for larch@yhetil.org; Thu, 13 Jan 2022 02:55:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7umL-00083P-8f for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 02:44:14 -0500 Received: from [2607:f8b0:4864:20::633] (port=41745 helo=mail-pl1-x633.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7umJ-0007fQ-5M for emacs-orgmode@gnu.org; Thu, 13 Jan 2022 02:44:12 -0500 Received: by mail-pl1-x633.google.com with SMTP id z3so8394876plg.8 for ; Wed, 12 Jan 2022 23:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=uRSF+Ej6UUbvfHS63MCtGBzULIeaTMh+nXpf/Vw8t4g=; b=Wrum9r85XJzUoXAuS1ZazR8zI2IQWmVd6dnDmQJf6fTs0L6oo+3/cnRvQidqc1ga2R fip0VZbQODJygHBAZtp4bqIjkBqGP70xr5No+/02rxUGj8bk0oGjZMto/Es0yYMfGXdK nmpcJVm12HJPBMYjysAFaqlU1Ryx8B/oS1lRblu4rZGfj/r82Lco0p4hWjIq9CzXAWvK 5qMXieMDH+WAf9n4NEzkwa6js6mtVTbKuqa1NbXSQTd22N1Uf5SQ3l88UZnhVtt1gJvf q7yPuDIBqDq2XAIuLyJXJHAqoeLWGTmvEPPnSeV5ePrI5AcV9MgdQ2r9Aahl+8CUedtw WHnQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=uRSF+Ej6UUbvfHS63MCtGBzULIeaTMh+nXpf/Vw8t4g=; b=eF/SVslfjB+tNFECpggcqAyK1oEgOCaFJwcYCLvQYVU/mJc4rgN8qP92pXhfUu/5Ox UdyR7dtWCDkQXFW9/ksL+Nk5tNklr23f2vGw+7vRIbtZNgm7R0LjmTi3jTNOKfx/oSC0 eUycOLHJVp5ZLENGHq78t8kR97+Df7prqx0rKlG857D8gNwX3E9ZMC/ipyB6WxF1DdTO Vd1m091C5F9sFDRFgQxKranLZAnG3nyPw3gXfi1PRSilXAX2o2zl3mvOWj2LS4Td+6E3 rDOo9IX1r8XrghGeMUWFj1OcmcbLpqFOzqIFgUZB0hzvSCD9tTvKvYocKWY0Mt2cynjQ SmXw== X-Gm-Message-State: AOAM531AVCvUr5Odca8+fc2NBbY0mQHPsV3hNBUKeTMbffsatOkFY65n lCWAm/sSd9C4A8Oq2solr0gsUw== X-Google-Smtp-Source: ABdhPJz8T9LNwusXsZT72hvfYrt8s5lbhrWxgCWiK1PwLXDU5b3NB++ukZGUbNnr6ZPneQMZIuKTIQ== X-Received: by 2002:a63:bf0d:: with SMTP id v13mr2878847pgf.500.1642059839614; Wed, 12 Jan 2022 23:43:59 -0800 (PST) Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id q9sm1553822pgv.71.2022.01.12.23.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 23:43:59 -0800 (PST) From: Allen Li To: Ihor Radchenko 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/)] References: <808rvm4jr3.fsf@felesatra.moe> <87mtk24hxm.fsf@localhost> <80v8yqkssa.fsf@felesatra.moe> <877db5ow26.fsf@localhost> Date: Wed, 12 Jan 2022 23:43:58 -0800 In-Reply-To: <877db5ow26.fsf@localhost> (Ihor Radchenko's message of "Wed, 12 Jan 2022 22:41:53 +0800") Message-ID: <80a6g09j29.fsf@felesatra.moe> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::633 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=darkfeline@felesatra.moe; helo=mail-pl1-x633.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, 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=1642060503; 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=uRSF+Ej6UUbvfHS63MCtGBzULIeaTMh+nXpf/Vw8t4g=; b=LkCyexOCSJE0cq6zkgpjp8+i6NypUJKMuAxQlL7qfuFgXhUeb6/Khhd8bFRbHYY3v2DFI4 FOogYO+B3taT0+ggQY4D1pe4wFj1XIveMh0Zqu6GJomrk6oq9X0qSilrpjxA2SIkucNMXJ UsaDZbSmQvNl2fp1OAShgt1qiQbYwz78ufZQOC9bFdIS0XeKO4nUzF6XMb8ZzyuVitEDHN o+4BlJ5lKj++C2aVXYfidWcxn42FXJO1MoQoPmUAaMeTH2DYSrpBpxc7Mwh6aT9uskGN0O 58i9r+ZJuW/cPPO4rH8c0cUt1tfNxuq0bhHsnw1zxKwlHeSQ0e4S7hLYoZ58cQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642060503; a=rsa-sha256; cv=none; b=AdfVy1ixNTt3J0LxQUKzGjaSF3Gs7c5Z7k6yQ7UP3IyrSvYk90ljtK799O9Vy1QtTwnwAm nuz6xk4oVT3dFo5hw43KQTvBStW0kH+6CX+85KYL3lM0ngEs/5gfevm8EH6yCAnFLkW2bl mbMK3k2HBGVoPGuxavYeTrUyrefpaihKrFiS37LCjsAFQEJ5VSV7hreJK3wImpuUTuD42e uHbxLdFipmG0Z4Mdbuwhk+Rm8wq74jTOk2rsiNcQeGtxY0+xVsHG35YEtSCmpJFQgkccLi u0wb3dfyCKnWB7WDNZTncR9Bs0l4zfl0lzRet6BE61Ds1wDfjKTaapbXmQlybg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=felesatra-moe.20210112.gappssmtp.com header.s=20210112 header.b=Wrum9r85; dmarc=none; 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: -5.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=felesatra-moe.20210112.gappssmtp.com header.s=20210112 header.b=Wrum9r85; dmarc=none; 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: 5C8DD2EF06 X-Spam-Score: -5.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: Io4Wh9tjPcqc Ihor Radchenko writes: > Allen Li writes: >> Even if org-id-link-to-org-use-id were always set at this point, there >> would be no reason to use >> >> (defvar org-id-link-to-org-use-id nil) >> >> instead of >> >> (defvar org-id-link-to-org-use-id) > > 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. (Similarly, I could provide a patch, but I feel like it would be less effort for everyone if a maintainer who agrees with the above point just edits that one line.) > > Best, > Ihor