* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile [not found] <87a6ixzq6h.fsf.ref@yahoo.com> @ 2021-10-25 4:25 ` luangruo--- via Bug reports for GNU Emacs, the Swiss army knife of text editors 2021-10-25 8:48 ` Andrea Corallo 2021-10-27 15:13 ` Caleb Chase 0 siblings, 2 replies; 6+ messages in thread From: luangruo--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-10-25 4:25 UTC (permalink / raw) To: 51382; +Cc: wang (I'm reporting this bug on behalf of wang@tianshu.me, who doesn't find it convenient to submit a bug report right now.) Hi, I'm facing a strange problem, if my org is compiled, org-open-at-point will always open the first link, no matter which link I select via org-offer-links-in-entry. If I delete the compiled file org-d208de9c-ca5ab453.eln, this issue gone temporary. Is there any way to permanently avoid this problem, or is this a bug of native-compile? GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165)) of 2021-10-24 ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile 2021-10-25 4:25 ` bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile luangruo--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-10-25 8:48 ` Andrea Corallo 2021-10-27 15:13 ` Caleb Chase 1 sibling, 0 replies; 6+ messages in thread From: Andrea Corallo @ 2021-10-25 8:48 UTC (permalink / raw) To: 51382; +Cc: luangruo, wang luangruo--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> writes: > (I'm reporting this bug on behalf of wang@tianshu.me, who doesn't find > it convenient to submit a bug report right now.) > > Hi, I'm facing a strange problem, if my org is compiled, > org-open-at-point will always open the first link, no matter which link > I select via org-offer-links-in-entry. If I delete the compiled file > org-d208de9c-ca5ab453.eln, this issue gone temporary. Is there any way > to permanently avoid this problem, or is this a bug of native-compile? > > GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 > Version 11.6 (Build 20G165)) of 2021-10-24 Hi Wang, would you provide a step by step reproducer starting from emacs -Q? Thanks Andrea ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile 2021-10-25 4:25 ` bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile luangruo--- via Bug reports for GNU Emacs, the Swiss army knife of text editors 2021-10-25 8:48 ` Andrea Corallo @ 2021-10-27 15:13 ` Caleb Chase 2022-09-13 16:05 ` Lars Ingebrigtsen 1 sibling, 1 reply; 6+ messages in thread From: Caleb Chase @ 2021-10-27 15:13 UTC (permalink / raw) To: akrl, 51382 Here's a trivial reproduction: 1. Create an org file, e.g. /tmp/test.org. See end of this message for an example, but essentially any org file with a heading that contains multiple links somewhere within its contents. 2. Ensure that org.el is natively compiled 3. Run "emacs -Q" 4. "C-x C-f" to open the test file 5. Move point to beginning of the header 6. "C-c C-o 2" to open the second link 7. Bug occurs: first link is opened regardless of choice in the previous step Workaround: 1. Disable native comp for org.el in your early-init.el: (setq native-comp-deferred-compilation-deny-list (list (rx "org/org.el" string-end))) - Note: I think putting this early on in init.el would work too, so long as it is set before org.el is loaded? Not sure. 2. Delete the native-compiled version of org.el. Check native-comp-eln-load-path to determine the right directories, then in each one run something like: find the-eln-directory -name 'org-[0-9]*\.eln' -delete I'm not positive if both steps of the workaround are necessary or just one of them. --- Example contents for /tmp/test.org begin on the next line: * Heading - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51382 - https://www.gnu.org/software/emacs/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile 2021-10-27 15:13 ` Caleb Chase @ 2022-09-13 16:05 ` Lars Ingebrigtsen 2022-09-13 16:27 ` Caleb Chase 0 siblings, 1 reply; 6+ messages in thread From: Lars Ingebrigtsen @ 2022-09-13 16:05 UTC (permalink / raw) To: Caleb Chase; +Cc: 51382, akrl Caleb Chase <chase.caleb@gmail.com> writes: > Here's a trivial reproduction: > > 1. Create an org file, e.g. /tmp/test.org. See end of this message for > an example, but essentially any org file with a heading that contains > multiple links somewhere within its contents. > 2. Ensure that org.el is natively compiled > 3. Run "emacs -Q" > 4. "C-x C-f" to open the test file > 5. Move point to beginning of the header > 6. "C-c C-o 2" to open the second link > 7. Bug occurs: first link is opened regardless of choice in the previous step (I'm going through old bug reports that unfortunately weren't resolved at the time.) I'm unable to reproduce this problem with the current "master", but I only tested on Ubuntu. Do you still see this problem, Caleb? ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile 2022-09-13 16:05 ` Lars Ingebrigtsen @ 2022-09-13 16:27 ` Caleb Chase 2022-09-13 16:34 ` Lars Ingebrigtsen 0 siblings, 1 reply; 6+ messages in thread From: Caleb Chase @ 2022-09-13 16:27 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 51382, akrl On Tue, Sep 13, 2022 at 11:05 AM Lars Ingebrigtsen <larsi@gnus.org> wrote: > > Caleb Chase <chase.caleb@gmail.com> writes: > > > Here's a trivial reproduction: > > > > 1. Create an org file, e.g. /tmp/test.org. See end of this message for > > an example, but essentially any org file with a heading that contains > > multiple links somewhere within its contents. > > 2. Ensure that org.el is natively compiled > > 3. Run "emacs -Q" > > 4. "C-x C-f" to open the test file > > 5. Move point to beginning of the header > > 6. "C-c C-o 2" to open the second link > > 7. Bug occurs: first link is opened regardless of choice in the previous step > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > I'm unable to reproduce this problem with the current "master", but I > only tested on Ubuntu. Do you still see this problem, Caleb? Hi, sorry about that and thanks for the follow-up. I just tested and agree that it's fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile 2022-09-13 16:27 ` Caleb Chase @ 2022-09-13 16:34 ` Lars Ingebrigtsen 0 siblings, 0 replies; 6+ messages in thread From: Lars Ingebrigtsen @ 2022-09-13 16:34 UTC (permalink / raw) To: Caleb Chase; +Cc: 51382, akrl Caleb Chase <chase.caleb@gmail.com> writes: > Hi, sorry about that and thanks for the follow-up. I just tested and > agree that it's fixed. No probs. Thanks for checking; I'm closing this bug report, then. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-13 16:34 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87a6ixzq6h.fsf.ref@yahoo.com> 2021-10-25 4:25 ` bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile luangruo--- via Bug reports for GNU Emacs, the Swiss army knife of text editors 2021-10-25 8:48 ` Andrea Corallo 2021-10-27 15:13 ` Caleb Chase 2022-09-13 16:05 ` Lars Ingebrigtsen 2022-09-13 16:27 ` Caleb Chase 2022-09-13 16:34 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.