From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Caleb Chase Newsgroups: gmane.emacs.bugs Subject: bug#51382: 29.0.50; org-offer-links-in-entry is incompatible with native-compile Date: Wed, 27 Oct 2021 10:13:49 -0500 Message-ID: References: <87a6ixzq6h.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20845"; mail-complaints-to="usenet@ciao.gmane.io" To: akrl@sdf.org, 51382@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 27 18:14:24 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mflZI-0005GI-5C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 18:14:24 +0200 Original-Received: from localhost ([::1]:34396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mflZF-0005f2-NR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 12:14:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfl30-0006Nw-C6 for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 11:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfl30-0000yn-2b for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfl2z-0001M6-Sh for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 11:41:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a6ixzq6h.fsf@yahoo.com> Resent-From: Caleb Chase Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2021 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51382 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51382-submit@debbugs.gnu.org id=B51382.16353492475179 (code B ref 51382); Wed, 27 Oct 2021 15:41:01 +0000 Original-Received: (at 51382) by debbugs.gnu.org; 27 Oct 2021 15:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:50264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfl2l-0001LS-8v for submit@debbugs.gnu.org; Wed, 27 Oct 2021 11:40:47 -0400 Original-Received: from mail-vk1-f176.google.com ([209.85.221.176]:34477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfkcv-0000WG-Mi for 51382@debbugs.gnu.org; Wed, 27 Oct 2021 11:14:19 -0400 Original-Received: by mail-vk1-f176.google.com with SMTP id bc10so1515041vkb.1 for <51382@debbugs.gnu.org>; Wed, 27 Oct 2021 08:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=4Y/tJYBpKffrExQzsp7gRQQUciPo8HIgqBOxwVPMKSs=; b=U3xNIA0idXVYXXzHhqUH3bGvo3CLFEnaU6PhEg0zx9ZGT78A+OQbxogINxJiiTjbw2 hnA2zdNERCVEkcP84iB24SDH7tyK94L6xzoTT0e3Lg1qxEkf4TlSlP1m2UmJS82PqngE Dupec7hPnguD69rREvNndM/LZ1ba2peF+MqCL/EC6lScb7MS27elX9Un2jwD9KnZlP1p CHk0Nv8tAowCsREP2hH3I9Bf4wtZvm4zeIlrfIWCrE5l8fFeD62+jrU+jyow1y8vmlqa 47AkCXE0z7IW014Nb+eo8phUuaCnA9a4FBRuMnOSGcgDN5qtZLK7NOxSD5esOLYPlhnZ nZNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4Y/tJYBpKffrExQzsp7gRQQUciPo8HIgqBOxwVPMKSs=; b=tKs2cNvd9up1JdE5Gg3bXcsXZHGRV9ugPNZ715IZYXurtN61qkHV1xOSPi64m95ygs SMrhkWA5d22qBIo+8OKbKH0nTDZTKplG2FCSSSQy3F+y9pmhZ83mMI06GSCJMwfAbE0e zPWLO+W9McHSv72JZ2FL2qj531Mha+2tuc1+q/zNO194U2ws58OD3CestlcZ7UMXlL8f g8ETSZUz4EWDQ8wKpKSpfid+vfuyaUHC7J+vQTvzeMtvhRfYuBM+eW6OKELHlHaHpc8M l00XEShGm5eZUp4hH26u+Zg0InCfH6Bs9KF2BhUiYvjxDwmdqfR9aSTdaKvqfjHYYSmW 8E9w== X-Gm-Message-State: AOAM532USzNoa00wsUs8t1soakQLgq4EVfbKDaLVGMjI6obEzLEqcLWw q7SKEE5VkU6R0JMH+PlVcdrmBe9CyKfw0ccOhu5SazzWmj/VzQ== X-Google-Smtp-Source: ABdhPJyI3L+hc8T8WL5Ooocz51UwZcywFQwIZdMbr5Epam/+AEr5olAb8QN7D9We8lcphPIMNyOnpVrwE8V4OnnvFcY= X-Received: by 2002:ac5:cff1:: with SMTP id m49mr17709866vkf.11.1635347639959; Wed, 27 Oct 2021 08:13:59 -0700 (PDT) X-Mailman-Approved-At: Wed, 27 Oct 2021 11:40:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218458 Archived-At: 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/