From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aEeLAWvTr2AxdwAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 19:14:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sATWOGrTr2CPOgAAbx9fmQ (envelope-from ) for ; Thu, 27 May 2021 17:14:18 +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 D7701AD7B for ; Thu, 27 May 2021 19:14:17 +0200 (CEST) Received: from localhost ([::1]:43582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmJaK-0002w6-Od for larch@yhetil.org; Thu, 27 May 2021 13:14:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmJYq-0002vw-E7 for emacs-orgmode@gnu.org; Thu, 27 May 2021 13:12:44 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:35821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmJYn-0000Q8-97 for emacs-orgmode@gnu.org; Thu, 27 May 2021 13:12:44 -0400 Received: by mail-pf1-x434.google.com with SMTP id g18so1088040pfr.2 for ; Thu, 27 May 2021 10:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=RRyErVBRTKUEiLftRhO5M9hgSQwztDEYJeCB0RwSswQ=; b=XbpHNW+x/PAPXQlfii9AjZ8H8PBhWLGGhUWcVJW6UbbRh+3d0ORgRUidyHrf1azza9 9oCEzSqUKSZuC4p+tOmj3BDfXNJX1T13VvzvklpWW3JK4n2NSOGZfqF7U9SqSk0MMrWx E9Wx+2Qj7KFdV53GzIp5alhZl+eziQTVFqErCXCCrKQ7SCnWjb1kKYha/xzn+UvOCwBd etw595FTlvqjIXxpxsOfK1DgMlypITFDf9D+4R/nrXUfQIy8ELW1gyaEgGdpNLLF/XaQ Di3vEBnf6PPNo5NgwKXwmUYk9/D8/GCEeF3Xfu1dEwsqAWhgylcxwTPcf+LM6uFEmTGM bboQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=RRyErVBRTKUEiLftRhO5M9hgSQwztDEYJeCB0RwSswQ=; b=VwrHRfpz0zjdOTp7e4vtHs/fZ6iw/nyVy293UFstmmbmttUZSOk0JA06/ZR81zaxXF UKzNztipGzDDxBRUaovET8eXX5mEbfrBbN4Ww40X/DooX7Rx9PIVmh+yubKmVzfJ7meS AOIi62aN70HyyvL4qsHloX11VIqPTU00FuwnJAkDoXdu46fnE5QgfciC2kvVXKEPuCJU 3F49ILvQ+lXCezmDjx3GWb7QHokH+BbNa3GPLZnH4blxVY5ObKRtxY6CPvsr8Z1OSpoX Jb9y9SiA+pky0JEB0lSmVKXOGnQE0l85Xk1sveVmRn8Jr3RaJYQyseCQdjXu6Sel5N4n 425A== X-Gm-Message-State: AOAM532rlGTFinHlWuVcQVv7ntK/gRXbGCe1Kyqmc7/mA74uZOkGkFyf xPNchn4ygxm3T+auM1kof8o0cWJtNufSS+4b X-Google-Smtp-Source: ABdhPJw8yDxksy+EVqkc9bM1yg8AMcc+/TKVBtnJjVfTRCvb9BscSZZ3epxYCG+ZeoB7VQnkhRdC+w== X-Received: by 2002:a63:707:: with SMTP id 7mr4635321pgh.441.1622135558181; Thu, 27 May 2021 10:12:38 -0700 (PDT) Received: from smtpclient.apple (198-27-189-67.fiber.dynamic.sonic.net. [198.27.189.67]) by smtp.gmail.com with ESMTPSA id h66sm2339989pfe.53.2021.05.27.10.12.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 May 2021 10:12:36 -0700 (PDT) From: Richard Stanton Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_01A78C35-363F-43F9-B51D-76BEEC7EE682" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) 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 10:12:35 -0700 In-Reply-To: To: orgmode References: X-Mailer: Apple Mail (2.3654.100.0.2.22) Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=rhstanton@berkeley.edu; helo=mail-pf1-x434.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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: , Cc: Tim Cross 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=1622135658; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=RRyErVBRTKUEiLftRhO5M9hgSQwztDEYJeCB0RwSswQ=; b=SF9VuUezvwQS7J4W4Hx1Q4i3zNDf27Sda2A6bDtj2nQkhQg6SrWrhVqOit4uqdLM04Jasi 3MDE+F0uCca6HJAg2bGp09bJFMsArVGg+X7ydf4odbR3yAVP9YBxDyVcDq7W/sZ0+w1w90 OX25QCdeIs525IolAEynkEIvdV/7MBdXcOQ4rnLKutl0ro+GLq9I+ucEOz7GmPx9/O9opt uT463pP27oiRnlfA1K/VcA8Eer9MPQI1GejJjfjPsIdFmiI+E1Iff9/qYl7mFPM9b11Wlc zF4aoHR14WT8ENZdu59aVcUl1e/koXsGAvZ8Kfm1i1NDvC8wUyQJ7VIr+KV6jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622135658; a=rsa-sha256; cv=none; b=ZZFbofY/wlDiJ0lTp/ei6/xdBqWwAOSevyxDMIWEvCqA0oHaik3sX5GLvy7eDK/Z54QKOo Ch73c3+8Pfa2EuGpSX+I8FyALbGHPBMDBqKB4SeGN2+3WfzBaMf5oZ/eDFSY0iVAitn7St 75pHU/UUd7diHn1JFrz9qnXS8NFRuIu3tMXfqPfdFreKpOh/xrjsY47VeYVsptihuAFnll 2gkDn+S4Hj/k7RhXSJ8w7/aQLYqZbFG5XaKDDbuVswn5lmtEsc6fh+iQbFPta+korF6FoB GZxyyYk8l1OdmhByEi5JMScQcqwPTE7sI6qLTM1Dtrf9yiVu6NGxPnEkicyiqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=XbpHNW+x; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=XbpHNW+x; dmarc=none; 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: D7701AD7B X-Spam-Score: -2.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: LFhaOdRr7D0l --Apple-Mail=_01A78C35-363F-43F9-B51D-76BEEC7EE682 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Thanks, Tim.=20 I deleted all org-related files and started again, with the same result.=20= Oddly, I do find reference to org-url-p in my basic org setup: Richards-Mac-Pro:~/.emacs.d/straight/repos/org/lisp stanton$ grep -i = org-url-p *.el =20 org-compat.el:(define-obsolete-function-alias 'org-file-url-p 'org-url-p = "9.5") org-lint.el: (and (not (org-url-p file)) org-macs.el:(defun org-url-p (s) org.el: (uri-is-url (org-url-p uri)) org.el: (let* ((is-url (org-url-p file)) org.el: (when (org-url-p file) Richards-Mac-Pro:~/.emacs.d/straight/repos/org/lisp stanton$=20 I currently load org using straight.el as follows: (setq package-archives '(("melpa" . "http://melpa.org/packages/") ("gnu" . "http://elpa.gnu.org/packages/") ("nongnu" . "http://elpa.gnu.org/nongnu/"))) ;;; ("org" . "http://orgmode.org/elpa/"))) (use-package org-contrib :after org :config (require 'ox-extra) (ox-extras-activate '(ignore-headlines)) ) (use-package org :after (jupyter) :straight t :mode (("\\.org$" . org-mode)) ; :ensure org-plus-contrib :config (org-babel-do-load-languages 'org-babel-load-languages '((jupyter . t))) :bind ("C-c l" . org-store-link) ("C-c a" . org-agenda) :init (add-hook 'org-mode-hook (lambda () (setq-local = company-minimum-prefix-length 0))) Best, Richard > 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/)] > Message-ID: <87tumomy05.fsf@gmail.com> > Content-Type: text/plain >=20 >=20 > OK, think I've worked out what the problem is. >=20 > 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). >=20 > 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).=20 >=20 > Richard Stanton writes: >=20 >> 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 >>=20 >> https://orgmode.org/manual/Feedback.html#Feedback >>=20 >> Your bug report will be posted to the Org mailing list. >> = ------------------------------------------------------------------------ >>=20 >> Everything worked fine until yesterday, but today when I try to = export an org file that contains the line >>=20 >> #+SETUPFILE: = https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup >>=20 >> I get the following error: >>=20 >> 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) >>=20 >> Thanks for any suggestions. >>=20 >> 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/) >=20 >=20 > --=20 > Tim Cross --Apple-Mail=_01A78C35-363F-43F9-B51D-76BEEC7EE682 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Thanks, Tim. 

I = deleted all org-related files and started again, with the same = result. 

Oddly, I do find = reference to org-url-p in my basic org setup:

Richards-Mac-Pro:~/.emacs.d/straight/repos/org/lisp stanton$ = grep -i org-url-p *.el  
org-compat.el:(define-obsolete-function-alias 'org-file-url-p = 'org-url-p "9.5")
org-lint.el:   (and (not (org-url-p = file))
org-macs.el:(defun org-url-p (s)
org.el:   = (uri-is-url (org-url-p uri))
org.el:  (let* ((is-url (org-url-p = file))
org.el:   (when (org-url-p = file)
Richards-Mac-Pro:~/.emacs.d/straight/repos/org/lisp = stanton$ 

I currently load org using straight.el as = follows:

(setq = package-archives
    '(("melpa" . "http://melpa.org/packages/")
    =   ("gnu" . "http://elpa.gnu.org/packages/")
    =   ("nongnu" . "http://elpa.gnu.org/nongnu/")))
;;;   =    ("org" . "http://orgmode.org/elpa/")))

(use-package = org-contrib
  :after org
  = :config
  (require 'ox-extra)
  = (ox-extras-activate '(ignore-headlines))
)

(use-package org
  :after = (jupyter)
  :straight t
  :mode (("\\.org$" . org-mode))
; =  :ensure org-plus-contrib
  = :config
  = (org-babel-do-load-languages
  =  'org-babel-load-languages
  =  '((jupyter . t)))
  :bind
  ("C-c l" . org-store-link)
  = ("C-c a" . org-agenda)
  :init
  (add-hook 'org-mode-hook (lambda () (setq-local = company-minimum-prefix-length 0)))

Best,

Richard



From: Tim = Cross <theophilusx@gmail.com>
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/)]
Message-ID: <87tumomy05.fsf@gmail.com>
Content-Type: = text/plain


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 <rhstanton@berkeley.edu> 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 #<hash-table equal 0/65 0x1fe65e6c9285>
"/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) #<bytecode 0x1fe65e28d06d>))
 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

= --Apple-Mail=_01A78C35-363F-43F9-B51D-76BEEC7EE682--