From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cCVyOYxLr2C26wAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 09:34:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QLwKNYxLr2DLLQAAbx9fmQ (envelope-from ) for ; Thu, 27 May 2021 07:34:36 +0000 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 27A071A55C for ; Thu, 27 May 2021 09:34:36 +0200 (CEST) Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmAXJ-000304-MR for larch@yhetil.org; Thu, 27 May 2021 03:34:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmAWi-0002zW-2p for emacs-orgmode@gnu.org; Thu, 27 May 2021 03:33:57 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:34631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmAWe-0003DW-32 for emacs-orgmode@gnu.org; Thu, 27 May 2021 03:33:55 -0400 Received: by mail-pf1-x42c.google.com with SMTP id q25so3000348pfn.1 for ; Thu, 27 May 2021 00:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=rchhdCBUBVG6JquI9Rw5BV3GKBViX3uPWQTn74HPpKY=; b=ooyPhA+oU69OdNdHJopEJSP0tj9/ssmbO5QJQ6hPUEVnInpiS0VmIIoWchWdvCCMAb 7scC2fhhybZ3daOaIa5QoDZ0jUhKCfSnI9pvWJuNILMk2oeKHQXQBsBjj2FQo1fg5CnB o/xGjLxDpad9X7Aj8DOVfYz19Fvskim5fITSYKklH3HP+m5ZBdweet1VfICxZE76QqcF VPgU3HxzFcLfJlAng9cMHySF8UlFAT+aJErm1uyUgqCRllGlMqPxn4RP1KHdYx8D6iv8 To//cEnILhTiY8Cxe1iQujVKojJ8vr3Us3TzoFBh8jpH+oYTv8WNQYKDSB/jIgZW5/Ue brdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=rchhdCBUBVG6JquI9Rw5BV3GKBViX3uPWQTn74HPpKY=; b=T1p103ll0ykxav66KEADtWuvuLi3BGnrHXFkKAbS4/1Ph249qNNlT06hxZ1nqi8fhv 67v3kVAmmFVvEYVveoLxOwxexI8bJ1gDT8gy7S1XoG80ARmwVV2nf0tSRcPrUflIjmZi Z2WrBwXHKmjwtyIfSUtfMqVKFdDsY2rdpbvsXt4nUmydjkea6NoOYRI3lJFYjnu3SQ9S FfGrqIRyOmRfPvtzwQNE/oZCdfo8JFJg0TxV51AT5dchy1XZaYzOavw925AJmOeFK0vu fVvVPwfqDFmduEFf00UJAI/uciyUQdsQKTkSp6oX/fOawUonAVjSOKo1Mpl51zWt/Aau aHLA== X-Gm-Message-State: AOAM533tWfcMa2rrxB1t4wiMNYiwS1j7weBrEivmX65OZO1Qq8M3SAYt 8atTPkvM3Ej0d/sleqWfH4a0hKpjTb8= X-Google-Smtp-Source: ABdhPJw08pK+R1/zFhIJRN3UL+GZk7vePWs7sR1SMKYuUWxqdvUyBMFkn6GLsh204gh+kAXocoPenQ== X-Received: by 2002:aa7:842c:0:b029:2b4:61be:7156 with SMTP id q12-20020aa7842c0000b02902b461be7156mr2387736pfn.67.1622100830624; Thu, 27 May 2021 00:33:50 -0700 (PDT) Received: from tim-desktop (106-69-64-54.dyn.iinet.net.au. [106.69.64.54]) by smtp.gmail.com with ESMTPSA id p14sm1201342pgb.2.2021.05.27.00.33.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 00:33:50 -0700 (PDT) References: User-agent: mu4e 1.5.13; emacs 27.2.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)] Date: Thu, 27 May 2021 17:19:34 +1000 In-reply-to: Message-ID: <87tumomy05.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622100876; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=rchhdCBUBVG6JquI9Rw5BV3GKBViX3uPWQTn74HPpKY=; b=Eb38sRe94btcbBp5rLXS9d9GaovmKAc5SJNE27oFBC8V+kRD8Nv3CvTk+qOb3VcRhN8yR+ SOKTxFrpB1oRruAXJCzJ05WFVfQp0mOHHAh9bJMujRBFzFzdEk1U5TyH77Ht07+TRcBGs/ IKVOjAracN8wnq/zwlkaSg+im+17w3V4VxihGO+p2YSG+66kS3DUpih/55AhL70xKW1EJy aIAST46VBiqjtonXWGhyzpZhR5YMA8et3mFyxPKdrS7AdFaPy1ry40md6tKFY6WYYIzZXZ fYPTq+MGeNyUp38CF3zpWSOwxYA1CLuy9QMedpsbt3BUb7OaP1cGPP7jHO4EZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622100876; a=rsa-sha256; cv=none; b=IVgLFm5QGn3Miu6NrO/rV7A/1CJ5hqWiV6Mz0Tg9O0XTUsGOW+M4MHbZ8vaONJcalsW1lR Nof1KeKMN91+WNgB9SwhQLx2OaE+pER2IQpCwB75zj72z1Bwl4ZoEmtmd2WVeZBUUrCENu 56loCsSq6zRTbNMmXL3liGkXBe0PmjTSJiQU0zAnsXbcEPpaUh1Z9Wzvl9rSBkOBYHmOLj XZJw84EEv+46LXeyrHAsrtdiG8YNbK3QT6T7TymyEsAqOSKtKh0jA/Zr5GmepK0o4ZFWhu 2rqg0uIQ0fsn72CRhCQTsCjQ4TOXjBdZJI3T0gwtR1Y+Q7ei8rgQ/kitrMxogA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ooyPhA+o; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ooyPhA+o; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 27A071A55C X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3wms5oLd7j8I OK, think I've worked out what the problem is. The function org-url-p is defined in org 9.5, but not org 9.4. Your running org 9.4.6, which does not have that function. The fact something in your install is trying to call org-url-p would indicate you have a mixed or messed up installation of org (i.e. your setup is loading code from 2 different versions). It is very important when upgrading or installing org that no org functionality is yet loaded to avoid this type of issue. Your best bet is to remove all org related packages and then try installing org again. If your using package.el to install org, make sure the call to install it is early in your init file (before any functionality is loaded which depends on org). I also find the use-pacakge macro very useful in this regard as you can also setup things so that no org functionality is loaded until you try to use something which depends on org. This means you can typically start Emacs and immediately install/upgrade org without any issues. Where people tend to come undone is when they have been running Emacs for a while, have been using org and then to a package update and the system tries to install a new version of org (usually only an issue with new major versions rather than patch fix version updates). Richard Stanton writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > https://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org mailing list. > ------------------------------------------------------------------------ > > Everything worked fine until yesterday, but today when I try to export an org file that contains the line > > #+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup > > I get the following error: > > Debugger entered--Lisp error: (void-function org-url-p) > org-url-p("https://fniessen.github.io/org-html-themes/org/the...") > org--collect-keywords-1(("SETUPFILE" "FILETAGS" "TAGS" "ARCHIVE" "CATEGORY" "COLUMNS" "CONSTANTS" "LINK" "OPTIONS" "PRIORITIES" > "PROPERTY" "SEQ_TODO" "STARTUP" "TODO" "TYP_TODO") ("ARCHIVE" "CATEGORY" "COLUMNS" "PRIORITIES") nil nil nil) > org-collect-keywords(("FILETAGS" "TAGS" "ARCHIVE" "CATEGORY" "COLUMNS" "CONSTANTS" "LINK" "OPTIONS" "PRIORITIES" "PROPERTY" "SEQ_TODO" > "STARTUP" "TODO" "TYP_TODO") ("ARCHIVE" "CATEGORY" "COLUMNS" "PRIORITIES")) > org-set-regexps-and-options() > org-mode() > org-export--prepare-file-contents("/Users/stanton/.org/setup" nil 0 1 1 # > "/Users/stanton/teaching/MFE230I/mfe230i.org") > org-export-expand-include-keyword() > org-export-as(latex nil nil nil (:output-file "mfe230i.tex")) > org-export-to-file(latex "mfe230i.tex" nil nil nil nil nil #f(compiled-function (file) #)) > org-latex-export-to-pdf(nil nil nil nil) > org-export-dispatch(nil) > funcall-interactively(org-export-dispatch nil) > call-interactively(org-export-dispatch nil nil) > command-execute(org-export-dispatch) > > Thanks for any suggestions. > > Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.3.0, Carbon Version 164 AppKit 2022.3) > of 2021-04-06 > Package: Org mode version 9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/) -- Tim Cross