From mboxrd@z Thu Jan 1 00:00:00 1970 From: No Wayman Subject: Bug: org-highest-priority not defined [9.3.6 (release_9.3.6-399-ge6df03 @ /home/n/.emacs.d/straight/build/org/)] Date: Sat, 29 Feb 2020 20:09:50 -0500 Message-ID: <87imjoj2xt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46012) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8D7E-0007fG-5u for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 20:09:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8D7C-0001AT-Fu for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 20:09:56 -0500 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:32773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8D7C-0001AH-0l for emacs-orgmode@gnu.org; Sat, 29 Feb 2020 20:09:54 -0500 Received: by mail-qt1-x830.google.com with SMTP id x8so2838832qts.0 for ; Sat, 29 Feb 2020 17:09:53 -0800 (PST) Received: from arch (c-69-141-147-3.hsd1.nj.comcast.net. [69.141.147.3]) by smtp.gmail.com with ESMTPSA id b2sm7526881qkj.9.2020.02.29.17.09.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Feb 2020 17:09:51 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org After updating Org, I'm hitting errors for an undefined=20 `org-highest-priority'. I see that this is an alias for `org-priority-highest', but=20 describe-function (and I'm not sure why it's describe-function vs=20 describe-variable) dutifully reports: org-highest-priority is an alias for =E2=80=98org-priority-highest=E2=80= =99,=20 which is not defined. Please make a bug report. Not documented. My first hunch is that this is due to a mixed installation of Org,=20 but I'm having trouble diagnosing this. I've installed=20 org-plus-contrib using the straight package manager. I've ensured that Org is not loaded before/during upgrading Org. (locate-library "org") points to the correct file: "/home/n/.emacs.d/straight/build/org/org.elc" In the src elisp file,=20 /home/n/.emacs.d/straight/repos/org/lisp/org.el there defalias is=20 there as I would expect: (defalias 'org-highest-priority 'org-priority-highest) My usual technique for debugging this is evaling: (eval-after-load "org" '(debug)) prior to loading Org. However, in this case it looks like it's=20 loading the proper file: Debugger entered: nil (closure (t) nil (debug))() funcall((closure (t) nil (debug))) mapc(funcall ((closure (t) nil (debug)) (closure (t) nil=20 (add-to-list 'org-src-lang-modes '("php" . php))) (closure (t)=20 nil (add-to-list 'org-src-lang-modes '("redis" . redis))))) do-after-load-evaluation("/home/n/.emacs.d/straight/build/org/org.elc") require(org) byte-code("\300\301!\210\300\302!\210\300\303!\207" [require=20 cl-lib org org-refile] 2) autoload-do-load((autoload "org-capture" 1424805 t nil)=20 org-capture) command-execute(org-capture) I plan on reporting with the author of straight.el, too. Just=20 following through on the describe-function message here. Not sure how to proceed with debugging. Apologies if this is=20 noise. Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X=20 toolkit, cairo version 1.17.3, Xaw3d scroll bars) of 2020-02-23 Package: Org mode version 9.3.6 (release_9.3.6-399-ge6df03 @=20 /home/n/.emacs.d/straight/build/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer=20 org-src-mode-configure-edit-buffer doom-modeline-set-org-src-modeline) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-refile-targets '((org-agenda-files :maxlevel . 20)=20 (my/org-files-list :maxlevel . 20)) org-enforce-todo-dependencies t org-agenda-category-icon-alist '(("[Ww]ork" (#("=EF=80=93" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Rr]efile" (#("=EF=89=8D" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Aa]ccounting" (#("=EF=80=97" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Hh]abit" (#("=EF=80=9E" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Hh]ealth" (#("=EF=88=9E" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Ii]n" (#("=EF=84=B7" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Oo]ut" (#("=EF=84=B8" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Ll]isten" (#("=EF=8A=A2" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Pp]lay" (#("=EF=84=9B" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Rr]ead" (#("=EF=80=AD" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Ww]atch" (#("=EF=80=BD" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ("[Cc]alendar" (#("=EF=81=B3" 0 1 (rear-nonsticky t display=20 (raise -0.24) font-lock-face (:family "FontAwesome"=20 :height 1.2) face (:family "FontAwesome"=20 :height 1.2)) ) ) nil nil :ascent center) ) org-agenda-files '("~/Documents/todo") org-reveal-start-hook '(org-decrypt-entry) org-modules '(org-habit) org-blocker-hook=20 '(org-block-todo-from-children-or-siblings-or-parent) org-mode-hook '(org-indent-mode (closure (t) nil (add-hook 'after-save-hook=20 'my/org-agenda-redo-all nil t) (setq prettify-symbols-unprettify-at-point=20 'right-edge) (setq prettify-symbols-alist '(("#+begin_src" . "=CE=BB") ("#+BEGIN_SRC" . "=CE=BB")= =20 ("#+end_src" . "=CE=BB") ("#+END_SRC" . "=CE=BB") (":PROPERTIES:" . "=E2=9A=99"= )=20 (":properties:" . "=E2=9A=99") (":END:" . "=E2=88=8E") ("#+RESULTS:" . "=E2=86=92")) ) (prettify-symbols-mode 1)) org-bullets-mode org-better-repeat-mode #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all=20 append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook=20 org-babel-show-result-all append local] 5] org-babel-result-hide-spec=20 org-babel-hide-all-hashes writegood-mode org-journal-update-auto-mode-alist flyspell-mode=20 org-eldoc-load) org-outline-path-complete-in-steps nil org-archive-hook '(org-attach-archive-delete-maybe) org-journal-carryover-items nil org-confirm-elisp-link-function 'yes-or-no-p org-reverse-note-order t org-journal-mode-hook '(#[0 "\301\302\303\304$\207" [org-journal-encrypt-on add-hook=20 org-journal-encryption-hook nil t] 5] (lambda nil (add-hook org-journal-encrypt-on=20 'org-journal-encryption-hook nil t) ) ) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-log-reschedule t org-agenda-text-search-extra-files '(agenda-archives) org-babel-pre-tangle-hook '(save-buffer) org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.mp[[:digit:]]\\'" . "/usr/bin/mpv=20 --force-window=3Dyes %s") ("\\.x?html?\\'" . "/usr/bin/bash -c '$BROWSER=20 %s'") ("\\.pdf\\'" . default)) org-tab-first-hook '(org-babel-hide-result-toggle-maybe=20 org-babel-header-arg-expand) org-log-done 'time org-journal-date-format "[%Y-%m-%d %a]" org-hide-emphasis-markers t org-ellipsis "=E2=96=BF" org-habit-following-days 1 org-agenda-span 'day org-agenda-loop-over-headlines-in-active-region nil org-src-lang-modes '(("arduino" . arduino) ("redis" . redis)=20 ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" .=20 sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++)=20 ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp)=20 ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh)=20 ("sqlite" . sql)) org-src-preserve-indentation t org-habit-today-glyph 128197 org-catch-invisible-edits 'show-and-error org-habit-show-habits-only-for-today nil org-occur-hook '(org-first-headline-recenter) org-agenda-mode-hook '(org-journal-update-org-agenda-files) org-structure-template-alist '(("sj" . "src javascript") ("ss" .=20 "src shell") ("se" . "src emacs-lisp") ("a" .=20 "export ascii") ("c" . "center") ("C" . "comment")=20 ("e" . "example") ("E" . "export") ("h" . "export=20 html") ("l" . "export latex") ("q" .=20 "quote") ("s" . "src") ("v" . "verse")) org-cycle-hook '(org-cycle-hide-archived-subtrees=20 org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "NEXT(n!)"=20 "BLOCKED(b@/!)" "|" "DONE(d)") (sequence "IDEA(i)" "|" "CANCELED(c@/!)"=20 "DELEGATED(D@/!)") (sequence "RESEARCH(r)" "|")) org-speed-command-hook '(org-speed-command-activate=20 org-babel-speed-command-activate) org-better-repeat-mode t org-hierarchical-todo-statistics nil org-M-RET-may-split-line nil org-agenda-use-tag-inheritance nil org-journal-dir "~/Documents/journal" org-return-follows-link t org-refile-allow-creating-parent-nodes 'confirm org-refile-use-outline-path 'file org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow=20 :complete org-attach-complete-link) ("id" :follow org-id-open) ("region" :follow org-region-open :export=20 nil :store org-region-store-link) ("mu4e" :follow mu4e-org-open :store=20 mu4e-org-store-link) ("elfeed" :follow elfeed-link-open :store=20 elfeed-link-store-link) ("file+sys") ("file+emacs") ("shell"=20 :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302.Q.\"\207" ["news"=20 browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302.Q.\"\207" ["mailto"=20 browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302.Q.\"\207" ["https"=20 browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302.Q.\"\207" ["http"=20 browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302.Q.\"\207" ["ftp"=20 browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-bullets-bullet-list '("=E2=97=87") org-link-elisp-confirm-function 'yes-or-no-p org-habit-completed-glyph 10003 org-journal-time-format "%I:%M %p\njrn" org-journal-hook '(flyspell-mode) org-habit-preceding-days 29 org-journal-file-format "%Y.%m.%d.%A.org" org-src-window-setup 'current-window org-confirm-babel-evaluate nil org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2=20 :stepskip0 t :fileskip0 t) org-link-from-user-regexp "\\" org-agenda-sorting-strategy '((agenda time-up priority-down=20 category-keep) (todo priority-down category-keep) (tags priority-down category-keep)=20 (search category-keep)) org-agenda-inhibit-startup t )