From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6KeXBf2I72F3YAAAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 06:22:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gFUFAv2I72EW8gAAauVa8A (envelope-from ) for ; Tue, 25 Jan 2022 06:22:05 +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 B4CBD34469 for ; Tue, 25 Jan 2022 06:22:04 +0100 (CET) Received: from localhost ([::1]:40852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCEHL-0004uX-Qx for larch@yhetil.org; Tue, 25 Jan 2022 00:22:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCEFv-0004uB-Pr for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 00:20:36 -0500 Received: from [2607:f8b0:4864:20::633] (port=37844 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 1nCEFt-00015C-Su for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 00:20:35 -0500 Received: by mail-pl1-x633.google.com with SMTP id j16so7536785plx.4 for ; Mon, 24 Jan 2022 21:20:32 -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=fdV1/WS32Oc4J8veaKCt4AaDkNxdTXcNsdFEKiFZeFQ=; b=60+iwd048Bbm0u3yZVsI6Sh7+yrb0/gWARMyz/WFzIBCkIA6Ff3FSm+uIqP9DL9utg Gw3Ev5X7BKO7GRhjth2ssRVkXBihm2OJXBm3gPPgRhWC8uNEwv2tUKQ4CXpGfheB7oHX 0f3tKKwHg4MNLghi9HnEG2Dcr7wsL5kecrsl/yRiiCj7xUz9/6wt5p+3sJU1xq540k9o ief05Q+3T/GJCiB1/BFKZs04xfhGvE5PO9M48baa212aPC6C+7feXZCBzZUiJNJNprsF cmqBrC54aDH3yzftmGGqweZgV22WTXQ8i2KFICXO29waRCKyhQVtvUVNaviGJHqffYpV kaNQ== 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=fdV1/WS32Oc4J8veaKCt4AaDkNxdTXcNsdFEKiFZeFQ=; b=FHLJIGrYNab+YcE4tVKFrFdjWl4jXnmd7YPcmP6DaGGswYxgksqk9vSVINbDPeTO7+ wqEPt3I+wOSccOs/efq+x+L6e2PtNeckySYd3VjUoVJSHZGw6x9i7cVDNIu09dJOCnDA B8pTCconIgT7pjq8lN6ZVK1GrvJ5rUt3aYL4Un54gQ+DPkT00PqammeFLT+I7v5J5FWh GzbwkZS+z3zoNEK5DvJQxXqCeSyHQBGmC6haMQqg9fYgFYvXe2oSCjtj8bGxXdq4dcgq TNYJoWbj/FQWpaqmShN1Wx0pshs2xeR/OwomYLIbrW57xVi6vRi++IdFN9MY0UhsuC97 x4bA== X-Gm-Message-State: AOAM532MpA6Nv/F0xJWKjYp8ou67KmQynw5LVnWHvSTH7/F2C2d0eUrI iUYQ8qjdd4ewuB1XgnZibSGokw== X-Google-Smtp-Source: ABdhPJyrBYjo7P8i4TTtpy5iz/jA4lYXxFncmnRGDT/5GGg/Nd8zMEghdg1xBUQAhXnR8CVlGUtaCg== X-Received: by 2002:a17:90a:34c3:: with SMTP id m3mr1867259pjf.26.1643088031686; Mon, 24 Jan 2022 21:20:31 -0800 (PST) Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id b12sm18442620pfv.148.2022.01.24.21.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 21:20:31 -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> <80a6g09j29.fsf@felesatra.moe> <878rvj5aa2.fsf@localhost> <80ilumeje9.fsf@felesatra.moe> <871r19ryxb.fsf@localhost> Date: Mon, 24 Jan 2022 21:20:30 -0800 In-Reply-To: <871r19ryxb.fsf@localhost> (Ihor Radchenko's message of "Sat, 15 Jan 2022 20:00:48 +0800") Message-ID: <80o840jsrl.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, PDS_HP_HELO_NORDNS=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=1643088124; 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=fdV1/WS32Oc4J8veaKCt4AaDkNxdTXcNsdFEKiFZeFQ=; b=ek07St6cmfyYcN+PnZG3b6rUP91lDExP9E6YXhyI4SJvdEHSgcv5bFi8Aq+HguFQgeZev4 PjOdoBdy34f3cdrNwFyMEx8VWAnvNXMATnYDwihSG/1XBrT15C8wDPRchn2UNKVMm2o9GH 8a4lifqMiBk87jPZTSLX1Uau1f7FtCZIhOXUEsxw/BXfBR/r0N8HEBdsnxiOpKYbLacWPG o5IpEXNs+BAd8rLZLEMl9f+Rq15/OStYEw7GO7QkIqa15bG8QOE5u5kN56RZOXpsBFN7z4 fI/pa3PZotorWvvYcvEyblHET0eDbfSwFaKKU9egBBZof78Rz4AXZKeQkAmEfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643088124; a=rsa-sha256; cv=none; b=B4ox3dMSNyHqjNyQ7gn4xrfnWSvRXBac/4pnVbazBkBJf0e0ibwIVxUTk/wR6a1CEA3Pk3 CKj0MGBjRCYljrTB1uXAL3frPZLeZhc3RoAHzkXrYTLXemO4qonjkonPc0mU81yv6cGRP+ hyLT8/xAloYda1227bRBdd3/DKX6Cu8VPEVu0HqQKiJQn1lCP2G0OKPL+r5B/AGIEbAnpU QRuoDPAVfNhn0nghglbGBtsNPD9AZS8RQYbSSO87lyLu4Fb8YKwUT6KNOkeDUIaOIjv2tl 1MUSIxZ4Wk/khoL0ta9I/fHiadFbX0zoereoFuVEo68EX921VIwZLp7SD6EQHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=felesatra-moe.20210112.gappssmtp.com header.s=20210112 header.b=60+iwd04; 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: -3.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=felesatra-moe.20210112.gappssmtp.com header.s=20210112 header.b=60+iwd04; 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: B4CBD34469 X-Spam-Score: -3.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: PRS1lfyDjOnl Ihor Radchenko writes: > Unfortunately, fixing the occurrences of (defvar foo nil) is not > completely straightforward. Some of them are real defvars. I see, I thought you meant those defvars were also used for dynamic scoping. > > If someone is willing to check all the occurrences of > (defvar +[^ ]+ +nil) and remove nil values where we merely put a defvar > to silence byte-compiler, please do it. My initial request was just to fix this one instance that is actively troubling me. If there are any other known cases of defvar, they should also be fixed. If not, then let's wait until someone identifies them. If any maintainers reading this could fix this one defvar, that'd be great. > > Also, I feel that my Elisp-foo is not good enough in this specific > scenario. I invite others to reply if they feel that changing > (defvar foo nil) to (defvar foo) for externally defined variables is > _not_ universally safe. > > Best, > Ihor