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/)]

2022-01-30 Thread Ihor Radchenko
Allen Li writes: >> 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

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/)]

2022-01-24 Thread Allen Li
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

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/)]

2022-01-15 Thread Ihor Radchenko
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

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/)]

2022-01-14 Thread Allen Li
Ihor Radchenko writes: > 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

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/)]

2022-01-13 Thread Ihor Radchenko
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,

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/)]

2022-01-12 Thread Allen Li
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

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/)]

2022-01-12 Thread Ihor Radchenko
Allen Li writes: >> Allen Li writes: >> >>> In ob-tangle.el, the line >>> >>> (defvar org-id-link-to-org-use-id nil) ; Dynamically scoped >>> >>> appears to override the user's customization of >>> org-id-link-to-org-use-id. >> >> Have you seen this happening? > > Yes, that's why I filed the

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/)]

2022-01-11 Thread Allen Li
Ihor Radchenko writes: > Allen Li writes: > >> In ob-tangle.el, the line >> >> (defvar org-id-link-to-org-use-id nil) ; Dynamically scoped >> >> appears to override the user's customization of >> org-id-link-to-org-use-id. > > Have you seen this happening? Yes, that's why I filed the bug. >

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/)]

2022-01-11 Thread Ihor Radchenko
Allen Li writes: > In ob-tangle.el, the line > > (defvar org-id-link-to-org-use-id nil) ; Dynamically scoped > > appears to override the user's customization of > org-id-link-to-org-use-id. Have you seen this happening? FYI, defvar does not overwrite variable value that is already set. Try the

[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/)]

2022-01-11 Thread Allen Li
In ob-tangle.el, the line (defvar org-id-link-to-org-use-id nil) ; Dynamically scoped appears to override the user's customization of org-id-link-to-org-use-id. Specifically, this happens if the user has python in org-babel-do-load-languages, which leads to the require chain: require