From: "Jean-Léon HENRY" <rabidax@protonmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [Bug] org-version returns empty string when called uninteractively [9.4]
Date: Tue, 26 Jan 2021 11:01:40 +0000 [thread overview]
Message-ID: <lDDl5zhRHZUG_qHrsAO8lNBO8mDF2lbYCpbDpZymTATfsIT633DamkykwDvj5HD2fqp6Pmih7RVN8TgOUiSEiI9KSeuK7lqPSAnCKUhV67E=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
Hi,
I just upgraded org to 9.4.4 and org-version is returning an empty string when called unineractively. More precisely
I started emacs with : emacs -Q -l minimal-org.el
Contents of minimal-org.el :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Minimal setup to load latest `org-mode'.
;; Activate debugging.
(setq debug-on-error t
debug-on-signal nil
debug-on-quit nil)
;; Add latest Org mode to load path.
(add-to-list 'load-path (expand-file-name "/home/me/.emacs.d/elpa/org-9.4.4/"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Then did :
M-x org-version
Result :
"Org mode version ( @ /home/me/.emacs.d/elpa/org-9.4.4/)"
But when evaluated non-interactively :
(org-version)
Results :
""
In my regular set-up, this breaks version checks used in other packages : (version< (org-version) "9.0") for example is called. This gives you the following backtrace :
Debugger entered--Lisp error: (error "Invalid version syntax: ‘’ (must start with a number)")
signal(error ("Invalid version syntax: ‘’ (must start with a number)"))
error("Invalid version syntax: `%s' (must start with a number)" "")
version-to-list("")
version<("" "9.0")
[...]
Thanks for your help
[-- Attachment #2: Type: text/html, Size: 1822 bytes --]
next reply other threads:[~2021-01-26 11:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-26 11:01 Jean-Léon HENRY [this message]
2021-01-27 0:43 ` [Bug] org-version returns empty string when called uninteractively [9.4] Nick Dokos
2021-01-27 1:05 ` Kyle Meyer
2021-02-05 6:26 ` Kyle Meyer
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='lDDl5zhRHZUG_qHrsAO8lNBO8mDF2lbYCpbDpZymTATfsIT633DamkykwDvj5HD2fqp6Pmih7RVN8TgOUiSEiI9KSeuK7lqPSAnCKUhV67E=@protonmail.com' \
--to=rabidax@protonmail.com \
--cc=emacs-orgmode@gnu.org \
/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).