emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: org-agenda-highlight-todo: Symbol’s function definition is void: st


From: Вячеслав Гришин
Subject: Bug: org-agenda-highlight-todo: Symbol’s function definition is void: string-empty-p [9.4.6 (9.4.6-11-g1ee52c-elpa @ /home/vmg/.emacs.d/elpa/org-20210726/)]
Date: Fri, 30 Jul 2021 18:24:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

        1.

 I updated orgmode package and trying to org-agenda-list, as usual. But failed 
with mistake  — org-agenda-list was empty.
 After investigation, I took advice to put this:

        ;; NB If you want to use this library, it's almost always correct to 
use:
        (eval-when-compile (require 'subr-x))

 in the beginning of .emacs. And it worked. Org-agenda-list was fine.

 The org-agenda-highlight-todo function (org-agenda.el file) uses the
 string-empty-p function from the emacs-lisp/subr-x.el module, but
 somewhere is not done (require ' subr-x), so when calling the
 org-agenda-highlight-todo function, string-empty-p is not defined,
 which leads to an error — org-agenda-highlight-todo: Symbol’s function
 definition is void: string-empty-p

        2.

 For checking I called the emacs -Q and put in it scratch:
        (string-empty-p "test")
        (require 'subr-x)
 Then I executed the command
        C-x C-e
 on
        (require 'subr-x)
 output was
        Debugger entered--Lisp error: (void-function string-empty-p)
        (string-empty-p "test")
        eval((string-empty-p "test") nil)
        elisp--eval-last-sexp(nil)
        eval-last-sexp(nil)
        funcall-interactively(eval-last-sexp nil)
        call-interactively(eval-last-sexp nil nil)
        command-execute(eval-last-sexp)


Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
 of 2020-03-26, modified by Debian
Package: Org mode version 9.4.6 (9.4.6-11-g1ee52c-elpa @ 
/home/vmg/.emacs.d/elpa/org-20210726/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 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-agenda-files '("~/Общедоступные/Процесс/Обеспечение.org" 
"~/Общедоступные/Процесс/Механизатор.org"
                    "~/Общедоступные/Процесс/Токарь.org")
 org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-show-all append local] 5]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-babel-show-result-all 
append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-with-inline-images t
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn 
ENTRY)"]
 org-babel-pre-tangle-hook '(save-buffer)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-log-done 'note
 org-agenda-loop-over-headlines-in-active-region nil
 org-occur-hook '(org-first-headline-recenter)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-todo-keywords '((sequence "ИСПОЛНИТЬ" "|" "ИСПОЛНЕНО" "ОТМЕНЕНО" 
"ОСТАНОВЛЕНО"))
 org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
 org-display-remote-inline-images 'download
 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 :complete 
org-attach-complete-link)
                       ("id" :follow org-id-open) ("eww" :follow org-eww-open 
:store org-eww-store-link)
                       ("rmail" :follow org-rmail-open :store 
org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store org-irc-store-link 
:export org-irc-export)
                       ("info" :follow org-info-open :export org-info-export 
:store org-info-store-link)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                       ("docview" :follow org-docview-open :export 
org-docview-export :store org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store 
org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export 
:complete org-bbdb-complete-link :store
                        org-bbdb-store-link)
                       ("w3m" :store org-w3m-store-link) ("file+sys") 
("file+emacs")
                       ("shell" :follow org-link--open-shell)
                       ("news" :follow #[514 "\301\300\302Q\"\207" ["news" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow
                        #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 
6 "\n\n(fn URL ARG)"])
                       ("https" :follow
                        #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 
6 "\n\n(fn URL ARG)"])
                       ("http" :follow #[514 "\301\300\302Q\"\207" ["http" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" 
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-link-elisp-confirm-function 'yes-or-no-p
 org-todo-keyword-faces '(("ИСПОЛНИТЬ" :background "red1" :foreground "black" 
:weight bold :box
                           (:line-width 2 :style released-button))
                          ("ИСПОЛНЕНО" :background "green" :foreground "black" 
:weight bold :box
                           (:line-width 2 :style released-button))
                          ("ОТМЕНЕНО" :background "gray" :foreground "black" 
:weight bold :box
                           (:line-width 2 :style released-button))
                          ("ОСТАНОВЛЕНО" :background "blue" :foreground "black" 
:weight bold :box
                           (:line-width 2 :style released-button))
                          )
 )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]