From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: Lisp error: (void-function org-element-keyword-parser)
Date: Thu, 21 Oct 2021 20:54:17 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2110212031001.19722@shell3.miskatonic.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]
I've had something strange going on for days that I haven't been able to figure
out. With my usual set up, I can get things working except that any Org files
initially loaded up aren't recognized as Org, but if I run =M-x org-mode= it all
kicks in. There were also transient errors about avl-tree-something showing.
(Whether this is connected to the R problem I mentioned a few days ago, I don't
know, but this was worse so I'm trying to figure it out first.)
I spent a while trying it out with various methods that just confused me more
(and made me consider declaring init backruptcy), but eventually I got it down
to something that I think is reproducible but doesn't make sense to me.
I run Org from source and Emacs from source. I've kept both up to date and
remade them over the past few days as I've been working on this.
I used the minimal-org.el file from https://orgmode.org/org.html#Feedback .
I have a problem.org file that is just:
#+begin_src org
,#+TITLE: Problem?
,#+STARTUP: showall
#+end_src
These are both in /tmp/.
I run:
$ cd /usr/local/src/org-mode
$ git pull
$ git rev-parse HEAD
5315773e8a0838268592617174b221ec7bf1c87a
$ make autoloads
$ cd /tmp/
$ emacs -Q -l minimal-org.el
Emacs starts, I hit =C-x C-f problem.org= ... and I get this error
(also attached; I deleted a list of file modes to make it more readable):
Debugger entered--Lisp error: (void-function org-element-keyword-parser)
org-element-keyword-parser(39 (19))
org--collect-keywords-1(("SETUPFILE" "FILETAGS" "TAGS" "ARCHIVE" "CATEGORY"
"COLUMNS" "CONSTANTS" "LINK" "OPTIONS" "PRIORITIES" "PROPERTY" "SEQ_TODO"
"STARTUP" "TODO" "T YP_TODO") ("ARCHIVE" "CATEGORY" "COLUMNS" "PRIORITIES") nil
("/tmp/problem.org") nil)
org-collect-keywords(("FILETAGS" "TAGS" "ARCHIVE" "CATEGORY" "COLUMNS"
"CONSTANTS" "LINK" "OPTIONS" "PRIORITIES" "PROPERTY" "SEQ_TODO" "STARTUP" "TODO"
"TYP_TODO") ("ARC HIVE" "CATEGORY" "COLUMNS" "PRIORITIES"))
org-set-regexps-and-options()
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode--apply-alist((("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file) MUCH DELETED nil nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer problem.org> "/tmp/problem.org" nil nil "/tmp/problem.org" (933773 2052))
find-file-noselect("/tmp/problem.org" nil nil t)
find-file("/tmp/problem.org" t)
funcall-interactively(find-file "/tmp/problem.org" t)
call-interactively(find-file nil nil)
command-execute(find-file)
I have no idea what's causing that. Is this reproducible? Does anyone know
what's going on? Surely if other people were seeing it they'd have reported it,
but if this isn't reproducible I don't know why.
Thanks for any help!
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
[-- Attachment #2: Type: text/plain, Size: 2691 bytes --]
Debugger entered--Lisp error: (void-function org-element-keyword-parser)
org-element-keyword-parser(39 (19))
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 ("/tmp/problem.org") 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()
set-auto-mode-0(org-mode nil)
set-auto-mode--apply-alist((("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file) ("\\.elc\\'" . elisp-byte-code-mode) ("\\.zst\\'" nil jka-compr) ("\\.dz\\'" nil jka-compr) ("\\.xz\\'" nil jka-compr) ("\\.lzma\\'" nil jka-compr) ("\\.lz\\'" nil jka-compr) ("\\.g?z\\'" nil jka-compr) ("\\.bz2\\'" nil jka-compr) ("\\.Z\\'" nil jka-compr) ("\\.vr[hi]?\\'" . vera-mode) ("\\(?:\\.\\(?:rbw?\\|ru\\|rake\\|thor\\|jbuilder\\|rabl\\|ge..." . ruby-mode) ("\\.re?st\\'" . rst-mode) ("\\.py[iw]?\\'" . python-mode) ("\\.m\\'" . octave-maybe-mode) ("\\.less\\'" . less-css-mode) ("\\.scss\\'" . scss-mode) ("\\.awk\\'" . awk-mode) ("\\.\\(u?lpc\\|pike\\|pmod\\(\\.in\\)?\\)\\'" . pike-mode) ("\\.idl\\'" . idl-mode) ("\\.java\\'" . java-mode) ("\\.m\\'" . objc-mode) ("\\.ii\\'" . c++-mode) ("\\.i\\'" . c-mode) ("\\.lex\\'" . c-mode) ("\\.y\\(acc\\)?\\'" . c-mode) ("\\.h\\'" . c-or-c++-mode) ("\\.c\\'" . c-mode) ("\\.\\(CC?\\|HH?\\)\\'" . c++-mode) ("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode) ("\\.\\(cc\\|hh\\)\\'" . c++-mode) ("\\.\\(bat\\|cmd\\)\\'" . bat-mode) ("\\.[sx]?html?\\(\\.[a-zA-Z_]+\\)?\\'" . mhtml-mode) ("\\.svgz?\\'" . image-mode) ("\\.svgz?\\'" . xml-mode) ("\\.x[bp]m\\'" . image-mode) ("\\.x[bp]m\\'" . c-mode) ("\\.p[bpgn]m\\'" . image-mode) ("\\.tiff?\\'" . image-mode) ("\\.gif\\'" . image-mode) ("\\.png\\'" . image-mode) ("\\.jpe?g\\'" . image-mode) ("\\.te?xt\\'" . text-mode) ("\\.[tT]e[xX]\\'" . tex-mode) ("\\.ins\\'" . tex-mode) ("\\.ltx\\'" . latex-mode) ("\\.dtx\\'" . doctex-mode) ("\\.org\\'" . org-mode) ("\\.dir-locals\\(?:-2\\)?\\.el\\'" . lisp-data-mode) ("eww-bookmarks\\'" . lisp-data-mode) ...) nil nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer problem.org> "/tmp/problem.org" nil nil "/tmp/problem.org" (933773 2052))
find-file-noselect("/tmp/problem.org" nil nil t)
find-file("/tmp/problem.org" t)
funcall-interactively(find-file "/tmp/problem.org" t)
call-interactively(find-file nil nil)
command-execute(find-file)
next reply other threads:[~2021-10-22 0:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 0:54 William Denton [this message]
2021-10-22 1:11 ` Lisp error: (void-function org-element-keyword-parser) Ihor Radchenko
2021-10-22 1:39 ` Ihor Radchenko
2021-10-22 22:16 ` Jonas Bernoulli
2021-10-23 3:28 ` Ihor Radchenko
2021-10-23 16:59 ` William Denton
2021-10-24 5:00 ` Ihor Radchenko
2021-10-25 1:55 ` William Denton
2021-10-25 2:28 ` Ihor Radchenko
2021-10-22 6:47 ` Eric S Fraga
2021-10-25 19:00 ` Nick Dokos
2021-10-26 8:54 ` Eric S Fraga
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=alpine.DEB.2.22.394.2110212031001.19722@shell3.miskatonic.org \
--to=wtd@pobox.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).