emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Richard Stanton <rhstanton@berkeley.edu>
Cc: Tim Cross <theophilusx@gmail.com>, orgmode <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: Sat, 29 May 2021 14:41:01 +0800	[thread overview]
Message-ID: <877djiyrcy.fsf@localhost> (raw)
In-Reply-To: <EDD00BE9-264B-4F86-9D86-2789224927E7@berkeley.edu>

Richard Stanton <rhstanton@berkeley.edu> writes:
> I currently load org using straight.el as follows:
> ...
> (use-package org-contrib
>   :after org
> ...
> (use-package org
>   :after (jupyter)

I suspect that something else is pulling built-in org version before
jupyter gets loaded. To make sure that the straight version of Org mode
is loaded, I recommend putting the following at the beginning of your
init.el:

(straight-use-package '(org :type git :repo "https://code.orgmode.org/bzg/org-mode.git"))
(straight-use-package '(org-contrib :type git :repo "https://git.sr.ht/~bzg/org-contrib"))

To debug similar issues, you might set use-package-verbose to t at the
beginning of your init.el and examine the *Messages* buffer after
startup.

Best,
Ihor


  parent reply	other threads:[~2021-05-29  6:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.45.1622131210.31880.emacs-orgmode@gnu.org>
2021-05-27 17:12 ` [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/)] Richard Stanton
2021-05-28  0:00   ` Tim Cross
2021-05-29  6:41   ` Ihor Radchenko [this message]
2021-05-29  7:18     ` Richard Stanton
2021-05-26 22:53 Richard Stanton
2021-05-27  6:56 ` Tim Cross
2021-05-27  7:19 ` Tim Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877djiyrcy.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rhstanton@berkeley.edu \
    --cc=theophilusx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).