From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#27581: 26.0.50; Error while compiling new Org code Date: Thu, 1 Oct 2020 04:59:14 -0700 Message-ID: References: <87van7hf00.fsf@users.sourceforge.net> 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="17535"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 27581-done@debbugs.gnu.org, npostavs@users.sourceforge.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 14:00:30 2020 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 1kNxG9-0004Tv-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 14:00:29 +0200 Original-Received: from localhost ([::1]:58078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNxG8-0005AT-CJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 08:00:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNxFl-00053J-V8 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:00:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNxFj-000455-Li for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNxFj-00070C-Lb for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:00:03 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 12:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27581 X-GNU-PR-Package: emacs Mail-Followup-To: 27581@debbugs.gnu.org, stefan@marxist.se, monnier@IRO.UMontreal.CA Original-Received: via spool by 27581-done@debbugs.gnu.org id=D27581.160155356526764 (code D ref 27581); Thu, 01 Oct 2020 12:00:03 +0000 Original-Received: (at 27581-done) by debbugs.gnu.org; 1 Oct 2020 11:59:25 +0000 Original-Received: from localhost ([127.0.0.1]:34297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxF7-0006xc-2G for submit@debbugs.gnu.org; Thu, 01 Oct 2020 07:59:25 -0400 Original-Received: from mail-ej1-f65.google.com ([209.85.218.65]:41785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxF3-0006xK-Dd for 27581-done@debbugs.gnu.org; Thu, 01 Oct 2020 07:59:24 -0400 Original-Received: by mail-ej1-f65.google.com with SMTP id lo4so7620434ejb.8 for <27581-done@debbugs.gnu.org>; Thu, 01 Oct 2020 04:59:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=YKWPPMkD2150oGkAMT4p8Ln16BolsU3x2861XZK0N1A=; b=lpfy/xGTH8nPFaVX+r5iOtVbImWhkc3OM1pTh4MwrASiexhs6lGuz2AUi8eoXWtx4X wyq5OpiQHkiMijQNBEcsUllA35nJHmkEWuhjr0oBbikOeus0HGmGb80+pHsmAGOEOPw+ FFoHQMIE48Sa4/yhWeP7hzZnY3IyD+cJYdKX/5H3L7Irxc+yjStVoKAfoJRuAu0DPLoK HNFRiWDH+VQeTH+EVknBnvK77fOyXe+J2PrI0p5j5+3Eg1OK0N/Q0wvZXLIapD0bTJlS kqNpGHrS78eC8rKl5iI9jE3IE25z2X81Ul7MD0saWKqetfqSqWL22l5z0xnsH65OLPhe N+Kw== X-Gm-Message-State: AOAM530PWgS14P944YTSi8IyUAxwtMZ9pR1B26qdLMkiTkYROpPZYaiq KgaS8gqr9Y3i+8SWOBNGML0o0tHkvPwY0FoY67g= X-Google-Smtp-Source: ABdhPJyQLnE7BvrEQbOKizikxrj4A5QaIBDiO5PKPcimvWjffIlbFrmjNpwAZgvd66rY4xX2TCYlNB8QgL8mP134WRY= X-Received: by 2002:a17:907:70cb:: with SMTP id yk11mr7585944ejb.312.1601553555537; Thu, 01 Oct 2020 04:59:15 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Oct 2020 04:59:14 -0700 In-Reply-To: (Stefan Kangas's message of "Mon, 10 Aug 2020 10:09:36 -0700") 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:189484 Archived-At: Stefan Kangas writes: > Stefan Monnier writes: > >>> I think I hit this, and doing 'make autoloads' fixed it. >> >> Duh, indeed, so the `declare-function` should be removed. >> Remains my question about the use of eval-after-load. > > Stefan Monnier writes: > >> So it's triggered during the evaluation of org-compat.el's after-load: >> >> (eval-after-load 'org >> '(progn >> (org-link-set-parameters "file+emacs") ;since Org 9.0 >> (org-link-set-parameters "file+sys"))) ;since Org 9.0 >> >> There's a (declare-function org-element-update-syntax ...) in org.el but >> it looks like org-element is not loaded in this case. >> >> Not sure which is the right fix, but I do wonder why have this >> eval-after-load in org-compat.el instead of simply moving the code to >> org.el: eval-after-load is normally only used when we need to add code >> to a file that's not under our control. > > I can't find that eval-after-load in org-compat.el, so I guess this has > been fixed in the three years since this was reported. > > I guess this should be closed then? More information was requested, but none was given within 7 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas