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 aFuXNrW24mGcMgAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 12:57:41 +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 WHydM7W24mGtSQAAauVa8A (envelope-from ) for ; Sat, 15 Jan 2022 12:57:41 +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 851F83B6A5 for ; Sat, 15 Jan 2022 12:57:41 +0100 (CET) Received: from localhost ([::1]:43874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8hgi-0003aF-N7 for larch@yhetil.org; Sat, 15 Jan 2022 06:57:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8hfZ-0003Z3-1W for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 06:56:29 -0500 Received: from [2a00:1450:4864:20::12f] (port=41609 helo=mail-lf1-x12f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8hfX-0006dm-Br for emacs-orgmode@gnu.org; Sat, 15 Jan 2022 06:56:28 -0500 Received: by mail-lf1-x12f.google.com with SMTP id x7so39170784lfu.8 for ; Sat, 15 Jan 2022 03:56:27 -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=i8S7C08ZIGpdli6I/OCgGUb4hVZAGaonPPRsOnLBOsI=; b=auKmMA/qEWB8htZtvZB197+ZC9LkDNOnEtxj2j0QbkTcG6MTElxQherOnWVZ3tS+3O Nljo1/4xl10lbf/9Ya/Ec6JNJkRtozGDjH65LLmdBc878Gl9g6rA75QnmWDfiUMC3jq8 p3OXSuPjNFlCzdrEMnNNJN/UfZG8luQkct+mha7ZH3kyaQAdmGCHkLIiiNl+L/M3X3S/ ACEIm4cyMj/E+j7qMS9EwyfyFKaGz2vUSLA01GqIBmbGkSKbIlnRKC6kPyvp3iXfiEkK eYRMtplkjBY4cfC2KnnCq9JonXo11HVK3wEPm5NAQP4qmboGjs0xz2nDZw2lg59HZuvG 69pA== 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=i8S7C08ZIGpdli6I/OCgGUb4hVZAGaonPPRsOnLBOsI=; b=fYq1dvX14q2VR6RTSvzTT3dD93u19Lzar6+0PjKDSPS8hFaL6A1gzRPxFA9S4wRFms RsOhJ8NStlUA7qdxk3cTtpWhAOenmkrMEr9dSbR8yIpeRt111vivemUW5RLB6xoSMSJA picTiM5wBH5H1vXIDCad/d5Y1JYHwsjl/gv4VrXGIClQBAsdDLM2GuXJ5XVvkvNz1dTx MwX7RkfqHY2kRUzKsP0DMEIvSAsYQbKvyBBaFquxeo9AQmStTXEn8/p03+YwlNDM42wi 9IW7g2LHsMob1bFu+5pPH2GxzUgXKNVr8Y8NNSEewmwVTe2uQ67V8Q0RkuJFdyAfGNN8 aLjQ== X-Gm-Message-State: AOAM533zD+bLxEU7PKRtRxJsTnk6F8KLajWzLx15Qxla5gv63gdQW7YT cNPNdymYdtZeSrsywuj+PHA= X-Google-Smtp-Source: ABdhPJwLRH+VeSpWMSGpU0xJXFFvQHOT6gC0jVLBW1/7Ipll1wa79H0LpXnYIXbYUyR3BV8hRKHCxg== X-Received: by 2002:a19:5e41:: with SMTP id z1mr9877151lfi.657.1642247785642; Sat, 15 Jan 2022 03:56:25 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id z18sm854408lfu.61.2022.01.15.03.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jan 2022 03:56:25 -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: <80ilumeje9.fsf@felesatra.moe> 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> Date: Sat, 15 Jan 2022 20:00:48 +0800 Message-ID: <871r19ryxb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=yantar92@gmail.com; helo=mail-lf1-x12f.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, 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=1642247861; 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=i8S7C08ZIGpdli6I/OCgGUb4hVZAGaonPPRsOnLBOsI=; b=JzFIjbsM29/N9lay4jaobRKg5PKYD/B8LVlcvupLTpxEONm1lwxIPURunFrTzBG5m5tTqW 9niQzYiSbZ7BGngvRGYgOpsbRWiC8LgTE7MdWFXL8swtpS+eybmYcaUqiX0p5ddOY69Y9G NE5UdKM11HtKxzvLN9cinnf2DOZNa5Q07Kz5JhxX9xXKtc6jFXCYM81hhBM7ZH//gHzhaI U7ewJ/yX9tWxFOfy8Xeckr0PEr5qG5VNNZJfXOlYDw+rSaXf3IE1autksC/PR6q7AfmWnI otQpmu3GrZkne60yPrJSIxJ7iFOPdLQ65BKAK0677ycr5/Wcej0LRAgq+23x6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642247861; a=rsa-sha256; cv=none; b=Ofhyz1FcitaUyQgNDiH6NpNULea3ctZC4NlEPp1sUyWqhsxK8hkW1Y4TWM3Gj33GPIlBmb QRLhdvB3k/bItgqkF8Jrvf4gUU4GpYPWrCO7fFCXfa4rF+bDlLX4dg60zlpydmflZeynrt txNA2Hyyb+kZ/qm27CXVVAF9cJ6A9PaNCKcPDD9inJpkvcAW4pOgiEvrzbhAgfA2skHczO XtH/xtwDJcwTzlC59vFEP5caK2LjBvC2ceXX5sRlYjDSvdQbHKA6KMW6IbYosjv978pf3r vB8dErWqUit6lxsJtTON2XoQWkPrKj3JWy9I3AUuZEEgmOjv9bteWktRBf8/Iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="auKmMA/q"; 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: -9.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="auKmMA/q"; 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: 851F83B6A5 X-Spam-Score: -9.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: pY0RQtTSWwEb Allen Li writes: > I see. In my opinion those occurrences should be fixed even if no one > is reporting issues because it is bad/improper code, and it is not > especially surprising that no one has reported it yet; there is always a > first person who reports a bug, and there are always more old bugs to be > found in a big project like Emacs/Org mode. > > This is annoying to reproduce because it relies on the normal Emacs > startup process, which loads packages. Anyway, I have found a reproduction. > > ... > 3. Press RET on the customize link. > > Note that the Customize UI says "CHANGED outside Customize." I was also able to reproduce the problem following your steps. Thank you! Unfortunately, fixing the occurrences of (defvar foo nil) is not completely straightforward. Some of them are real defvars. 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. 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