* Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)]
@ 2020-09-23 1:42 David Masterson
2020-09-23 23:41 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: David Masterson @ 2020-09-23 1:42 UTC (permalink / raw)
To: emacs-orgmode
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.
------------------------------------------------------------------------
When adding org-agenda-property-list to .emacs, the agenda now includes
the value of the properties on the next line. When later using ':' in
the agenda view to remove a tag, Emacs goes into an infinite loop trying
to redraw the agenda. It eventually brings up a *Warnings* buffer with
messages about exceeding the limit. If I drop org-agenda-property-list,
everything works again. My guess is that the agenda code is not
handling two-line agenda items very well for redrawing the agenda.
Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2020-08-27
Package: Org mode version 9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)
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-blank-before-new-entry '((heading) (plain-list-item . auto))
org-texinfo-format-headline-function 'org-texinfo-format-headline-default-function
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 2)
(org-agenda-files :tag . "RFL"))
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-use-property-inheritance '("DOCTOR")
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-agenda-files '("/home/dsmasterson/DSM/MyOrg/BigPicture.org"
"/home/dsmasterson/DSM/MyOrg/Cars.org"
"/home/dsmasterson/DSM/MyOrg/Chiffon.org"
"/home/dsmasterson/DSM/MyOrg/Computers.org"
"/home/dsmasterson/DSM/MyOrg/DavidMasterson.org"
"/home/dsmasterson/DSM/MyOrg/Family.org"
"/home/dsmasterson/DSM/MyOrg/Finances.org"
"/home/dsmasterson/DSM/MyOrg/HouseIssues.org"
"/home/dsmasterson/DSM/MyOrg/IssuesList.org"
"/home/dsmasterson/DSM/MyOrg/ListOfDoctors.org"
"/home/dsmasterson/DSM/MyOrg/SanahMasterson.org"
"/home/dsmasterson/DSM/MyOrg/SetupMyOrg.org"
"/home/dsmasterson/DSM/MyOrg/SusanMasterson.org"
"/home/dsmasterson/DSM/MyOrg/TODOs.org"
"/home/dsmasterson/DSM/MyOrg/Travel.org"
"/home/dsmasterson/DSM/MyOrg/VistaWayPlan.org"
"/home/dsmasterson/DSM/MyOrg/WhatIBelieve.org"
"/home/dsmasterson/DSM/MyOrg/contacts.org"
"/home/dsmasterson/DSM/MyOrg/csf_leak_plan.org"
"/home/dsmasterson/DSM/MyOrg/inbox.org"
"/home/dsmasterson/DSM/MyOrg/init.org"
"/home/dsmasterson/DSM/MyOrg/journal.org"
"/home/dsmasterson/DSM/MyOrg/notes.org"
"/home/dsmasterson/DSM/MyOrg/sitemap.org"
"/home/dsmasterson/DSM/MyOrg/tasks.org"
"/home/dsmasterson/DSM/MyOrg/theindex.org")
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-tag-alist '(("RFL") ("TBD") ("NEXT") ("CONSIDER") (:startgroup) ("Context")
(:grouptags) ("@Bank") ("@Car") ("@Computer") ("@Dentist") ("@Doctor")
("@EyeDoc") ("@Grocery") ("@Hardware") ("@Home") ("@Internet")
("@Lawyer") ("@Library") ("@MedLab") ("@Meeting") ("@PetStore")
("@Pharmacy") ("@Phone") ("@Retail") ("@School") ("@Transit") ("@TV")
("@Work") (:endgroup) (:startgrouptag) ("People") (:grouptags) ("DAVID")
("SUSAN") ("SANAH") ("FAMILY") ("David") ("Susan") ("Sanah") ("Chiffon")
("Mom") ("Rob") ("Val") ("Brenda") ("Behrouz") ("Ashi") ("Nayer")
(:endgrouptag))
org-reveal-start-hook '(org-decrypt-entry)
org-modules '(org-bbdb org-bibtex org-crypt org-docview org-eww org-gnus org-habit org-id
org-info org-inlinetask org-irc org-mhe org-mouse org-protocol org-rmail
org-tempo org-w3m org-eshell)
org-super-agenda-mode t
org-mode-hook '(org-tempo-setup
#[0
"\305\306 >\203\0\307\n\310\311#\210\307\v\312\313#\210\307\v\314\315#\210\306 >\203,\307\n\316\317#\210\307\n\320\321#\210\322 >\203>\307\v\323\324#\210\307\v\325\324#\210\326 >\203P\307\n\327\317#\210\307\n\330\321#\210\331 >\203_\332\311\f\333BC\334#\210\335 >\203k\332\311\336\334#\210\337 >\203w\332\311\340\334#\210\341\342\343\344\311$\210\345\342\311\"\210\342\207"
[org-mouse-context-menu-function
org-mouse-features
org-mouse-map
org-mode-map
org-outline-regexp
org-mouse-context-menu
context-menu
org-defkey
[mouse-3]
nil
[mouse-3]
org-mouse-show-context-menu
[down-mouse-1]
org-mouse-down-mouse
[C-drag-mouse-1]
org-mouse-move-tree
[C-down-mouse-1]
org-mouse-move-tree-start
yank-link
[S-mouse-2]
org-mouse-yank-link
[drag-mouse-3]
move-tree
[drag-mouse-3]
[down-mouse-3]
activate-stars
font-lock-add-keywords
(0
(\`
(face
org-link
mouse-face
highlight
keymap
(\, org-mouse-map)
)
)
(quote prepend)
)
t
activate-bullets
(("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +"
(1
(\`
(face
org-link
keymap
(\, org-mouse-map)
mouse-face highlight)
)
(quote prepend)
)
)
)
activate-checkboxes
(("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +\\(\\[[ X]\\]\\)"
(2
(\`
(face
bold
keymap
(\, org-mouse-map)
mouse-face highlight)
)
t)
)
)
ad-add-advice
org-open-at-point
(org-mouse-open-at-point
nil
t
(advice
lambda
nil
(let
((context
(org-context)
)
)
(cond
((assq :headline-stars context)
(org-cycle)
)
((assq :checkbox context)
(org-toggle-checkbox)
)
((assq :item-bullet context)
(let
((org-cycle-include-plain-lists t)
)
(org-cycle)
)
)
((org-footnote-at-reference-p)
nil)
(t ad-do-it)
)
)
)
)
around ad-activate]
5]
#[0 "\300\301\302\303\304$\207"
[add-hook before-save-hook org-encrypt-entries nil t] 5]
#[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-ac/setup-current-buffer
(lambda nil (org-defkey org-mode-map "[" (quote undefined))
(org-defkey org-mode-map "]" (quote undefined))
(org-defkey org-mode-map ";" (quote undefined))
(org-defkey org-mode-map "\x18" (quote undefined)))
)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-outline-path-complete-in-steps nil
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-agenda-finalize-hook '(org-agenda-property-add-properties)
org-journal-mode-hook '((lambda nil
(add-hook org-journal-encrypt-on
(quote 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-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-crypt-key nil
org-export-with-planning t
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-agenda-timegrid-use-ampm t
org-export-backends '(texinfo org odt latex icalendar html ascii)
org-font-lock-hook '(org-inlinetask-fontify)
org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
org-agenda-add-entry-text-maxlines 5
org-priority-lowest 69
org-agenda-loop-over-headlines-in-active-region nil
org-occur-hook '(org-first-headline-recenter)
org-agenda-mode-hook '(#[0
"\302\303 \304\305#\210\303 \306\307#\210\303 \310\311#\210\303 \312\313#\210\303 \314\315#\207"
[org-mouse-context-menu-function
org-agenda-mode-map
org-mouse-agenda-context-menu
org-defkey
[mouse-3]
org-mouse-show-context-menu
[down-mouse-3]
org-mouse-move-tree-start
[C-mouse-4]
org-agenda-earlier
[C-mouse-5]
org-agenda-later
[drag-mouse-3]
#[257
"\300!\301\302\"\203\0\303\304!\202\0\301\305\"\205\0\306\304!\207"
[org-mouse-get-gesture eql :left org-agenda-earlier 1 :right org-agenda-later]
5 "\n\n(fn EVENT)" "e"]
]
4]
)
outline-minor-mode-hook '((lambda nil (make-local-variable (quote smart-outline-cut))
(setq smart-outline-cut nil))
)
org-agenda-include-diary t
org-indirect-buffer-display 'current-window
org-cycle-hook '(org-inlinetask-hide-tasks org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO(t)" "TODAY(y)" "NEXT(n)" "PHONE(p!)" "MEETING(m!)"
"|" "CANCELLED(c@/!)")
(sequence "WAITING(w@/!)" "HOLD(h@/!)" "SOMEDAY(s)" "|" "DONE(d!)"))
org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-return-follows-link t
org-metareturn-hook '(hsys-org-hbut-activate-p)
org-refile-allow-creating-parent-nodes 'confirm
org-refile-use-outline-path t
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)
("eshell" :follow org-eshell-open :store org-eshell-store-link)
("w3m" :store org-w3m-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)
("info" :follow org-info-open :export org-info-export :store
org-info-store-link)
("id" :follow org-id-open)
("gnus" :follow org-gnus-open :store org-gnus-store-link)
("eww" :follow eww :store org-eww-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)
("tel") ("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-agenda-skip-scheduled-if-done t
org-agenda-property-list '("DOCTOR")
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-capture-templates '(("t" "Todo" entry (file+headline org-default-tasks-file "Tasks")
"* TODO %?\n%i\n%a\n")
("f" "Fast" entry (file+headline org-default-tasks-file "Tasks")
"* TODO %?\n%i\n")
("i" "Inbox" entry (file org-default-inbox-file)
"* TODO %?\n%i\n")
("n" "Note" entry (file org-default-notes-file)
"* Note\nEntered on %U\n%i\n%a\n")
("j" "Journal" entry (file+olp+datetree org-default-journal-file)
"* %?\nEntered on %U\n%i\n%a\n")
("c" "Contacts" entry (file org-default-contacts-file)
"* %(org-contacts-template-name)\n:PROPERTIES:\n:PHONE: %(org-contacts-template-phone)\n:END:")
)
org-link-elisp-confirm-function 'yes-or-no-p
org-texinfo-format-inlinetask-function 'org-texinfo-format-inlinetask-default-function
org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold)
("TODAY" :foreground "purple" :weight bold)
("NEXT" :foreground "skyblue" :weight bold)
("DONE" :foreground "green" :weight bold)
("WAITING" :foreground "orange" :weight bold)
("HOLD" :foreground "green" :weight bold)
("CANCELLED" :foreground "green" :weight bold)
("SOMEDAY" :foreground "orange" :weight bold)
("MEETING" :foreground "green" :weight bold)
("PHONE" :foreground "green" :weight bold))
org-export-with-properties '("DOCTOR")
org-texinfo-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
outline-mode-hook '((lambda nil (make-local-variable (quote smart-outline-cut))
(setq smart-outline-cut nil))
)
org-agenda-compact-blocks t
org-priority-default 69
org-html-format-headline-function 'org-html-format-headline-default-function
org-agenda-custom-commands '(("y" tags "+CONSIDER"
((org-agenda-sorting-strategy
(quote (category-up priority-down)))
(org-agenda-with-colors nil) (org-agenda-remove-tags t))
("consider.txt"))
("z" "Super View"
((agenda "a"
((org-agenda-span (quote week))
(org-super-agenda-groups
(quote
((:name "" :time-grid t :order 1)
(:name "Trivial" :discard (:anything t) :order 90))
)
)
)
)
(alltodo "b"
((org-agenda-overriding-header "\nGroupings")
(org-super-agenda-groups
(quote
((:name "Next to do" :todo "NEXT" :tag "NEXT" :order 1)
(:name "Important" :tag "IMPORTANT" :priority "A"
:order 5)
(:name "Due Today" :todo "TODAY" :scheduled today
:deadline today :order 6)
(:name "Consider" :tag "CONSIDER" :order 7)
(:name "Overdue" :deadline past :order 8)
(:name "Due Soon" :deadline future :order 10)
(:name "Trivial" :discard (:anything t) :order 90))
)
)
)
)
(alltodo "x"
((org-agenda-overriding-header "\nSpecial")
(org-super-agenda-groups
(quote
((:name "Phone" :todo "PHONE" :order 13)
(:name "Meetings" :todo "MEETING" :order 15)
(:name "Hold" :todo "HOLD" :order 17)
(:name "Waiting" :todo "WAITING" :order 20)
(:name "Trivial" :discard (:anything t) :order 90))
)
)
)
)
(alltodo "c"
((org-agenda-overriding-header "\nCategories")
(org-super-agenda-groups
(quote ((:name "Others" :auto-category 1 :order 25))))
)
)
)
)
)
org-directory "~/DSM/MyOrg/"
org-link-from-user-regexp "\\<dsmasterson@penguin\\>\\|\\<dsmasterson\\>"
org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep)
(todo priority-down deadline-up category-up)
(tags priority-down category-keep) (search category-keep))
org-publish-project-alist '(("orgfiles" :base-directory "~/DSM/MyOrg/" :base-extension
"org" :publishing-directory "~/Publish/html/"
:publishing-function org-html-publish-to-html
:headline-levels 6 :section-numbers t :makeindex t
:auto-sitemap t :exclude "init.org" :with-toc nil)
("beamers" :base-directory "~/DSM/MyOrg/" :base-extension
"org" :exclude ".*" :include "TBD" :publishing-directory
"~/Publish/pdfDrop" :publishing-function
org-beamer-export-to-pdf)
("orgDrop" :base-directory "~/DSM/MyOrg/" :base-extension
"org" :htmlized-source t :exclude "init.org"
:publishing-directory "~/Publish/orgDrop/"
:publishing-function org-org-publish-to-org)
("pdfDrop" :base-directory "~/DSM/MyOrg/" :base-extension
"org" :exclude "init.org" :publishing-directory
"~/Publish/pdfDrop/" :publishing-function
org-latex-publish-to-pdf)
("images" :base-directory "~/DSM/images/" :base-extension
"jpg\\|gif\\|png" :publishing-directory "~/Publish/images/"
:publishing-function org-publish-attachment)
("other" :base-directory "~/DSM/other/" :base-extension
"css\\|el" :publishing-directory "~/Publish/other/"
:publishing-function org-publish-attachment)
("website" :components
("orgfiles" "images" "orgDrop" "pdfDrop" "other"))
)
org-link-search-must-match-exact-headline nil
org-tags-exclude-from-inheritance '("RFL")
org-agenda-skip-deadline-if-done t
org-default-notes-file "~/DSM/MyOrg/notes.org"
)
--
David Masterson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)]
2020-09-23 1:42 Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)] David Masterson
@ 2020-09-23 23:41 ` Nick Dokos
2020-09-25 6:04 ` David Masterson
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2020-09-23 23:41 UTC (permalink / raw)
To: emacs-orgmode
From what I can gather, this does not have much to do with Org mode
proper, which has no org-agenda-property-list at all. I presume that
you have
https://github.com/Malabarba/org-agenda-property/blob/master/org-agenda-property.el
installed, which does provide such a variable, but all that one can
say atm is that that library has a bug *or* is incompatible with
(current?) Org mode. In either case, I think you should report it as
an issue to the above site. Once they have figured out what is wrong,
then maybe an RFE against Org mode *might* be indicated.
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)]
2020-09-23 23:41 ` Nick Dokos
@ 2020-09-25 6:04 ` David Masterson
2020-09-25 20:55 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: David Masterson @ 2020-09-25 6:04 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> From what I can gather, this does not have much to do with Org mode
> proper, which has no org-agenda-property-list at all. I presume that
> you have
>
> https://github.com/Malabarba/org-agenda-property/blob/master/org-agenda-property.el
>
> installed, which does provide such a variable, but all that one can
> say atm is that that library has a bug *or* is incompatible with
> (current?) Org mode. In either case, I think you should report it as
> an issue to the above site. Once they have figured out what is wrong,
> then maybe an RFE against Org mode *might* be indicated.
Ah! That makes sense. I'll look into it.
Thanks
--
David Masterson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)]
2020-09-25 6:04 ` David Masterson
@ 2020-09-25 20:55 ` Nick Dokos
0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2020-09-25 20:55 UTC (permalink / raw)
To: emacs-orgmode
David Masterson <dsmasterson92630@outlook.com> writes:
> Nick Dokos <ndokos@gmail.com> writes:
>
>> From what I can gather, this does not have much to do with Org mode
>> proper, which has no org-agenda-property-list at all. I presume that
>> you have
>>
>> https://github.com/Malabarba/org-agenda-property/blob/master/org-agenda-property.el
>>
>> installed, which does provide such a variable, but all that one can
>> say atm is that that library has a bug *or* is incompatible with
>> (current?) Org mode. In either case, I think you should report it as
>> an issue to the above site. Once they have figured out what is wrong,
>> then maybe an RFE against Org mode *might* be indicated.
>
> Ah! That makes sense. I'll look into it.
>
You might be able to work around the problem by having org-agenda-property put the
property on the same line:
(setq org-agenda-property-position 'same-line)
and adjusting the position on the line with
(setq org-agenda-property-column 100)
if necessary.
If the infinite loop goes away in that case, then you have some confirmation of your
theory about two-line agenda entries.
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-25 20:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-23 1:42 Bug: Infinite loop caused by org-agenda-property-list [9.4 (9.4-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.4/)] David Masterson
2020-09-23 23:41 ` Nick Dokos
2020-09-25 6:04 ` David Masterson
2020-09-25 20:55 ` Nick Dokos
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).