emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Lisp error: (void-function org-element-keyword-parser)
@ 2021-10-22  0:54 William Denton
  2021-10-22  1:11 ` Ihor Radchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: William Denton @ 2021-10-22  0:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-10-26  8:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22  0:54 Lisp error: (void-function org-element-keyword-parser) William Denton
2021-10-22  1:11 ` 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

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).