I am using org-noter and have many notes.  The property drawers were
distracting and I learned that org-fold-hide-drawer-all would collapse
them.  When I ran the command, I received an error and suggestion that I
submit a bug report.

Expectation- the many property drawers in the file would be collapsed into
one line

Result- command threw an error (and fwiw, it seems like it did properly
collapse all the drawers, so it is not clear to me why the error was thrown)


------------------------------------------------------------------------



Emacs  : GNU Emacs 30.1 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.65 Version 12.7.6 (Build 21H1320))
 of 2025-02-24
Package: Org mode version 9.7.11 (release_9.7.11 @
/Applications/Emacs.app/Contents/Resources/lisp/org/)

current state:
==============
(setq
 org-noter-highlight-selected-text t
 org-noter-get-selected-text-hook '(org-noter-djvu--get-selected-text
                                    org-noter-nov--get-selected-text
                                    org-noter-pdf--get-selected-text)
 org-yank-image-file-name-function 'org-yank-image-autogen-filename
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-html-format-headline-function
'org-html-format-headline-default-function
 org-html-format-drawer-function #[514 "\207" [] 3
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-html.elc" . 22502)]
 org-noter--get-current-view-hook '(org-noter-djvu--get-current-view
                                    org-noter-nov--get-current-view
                                    org-noter-pdf--get-current-view)
 org-default-notes-file "/Users/tcyun/Personal and Private/00.actions/
capture.org"
 org-directory "/Users/tcyun/Personal and Private/00.actions"
 org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
 org-noter--pretty-print-location-for-title-hook
'(org-noter-djvu--pretty-print-location

 org-noter-nov--pretty-print-location

 org-noter-pdf--pretty-print-location-for-title)
 org-noter--get-highlight-location-hook '(org-noter-pdf--get-highlight)
 org-roam-db-node-include-function #[0 "\300\207" [t] 1]
 org-roam-log-setup-hook '(org-roam--register-completion-functions-h)
 org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-roam-preview-function 'org-roam-preview-default-function
 org-log-done t
 org-latex-format-headline-function
'org-latex-format-headline-default-function
 org-noter--convert-to-location-cons-hook
'(org-noter-pdf--convert-to-location-cons)
 org-latex-format-drawer-function #[514 "\207" [] 3
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex.elc" .
36340)]
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function
org-imenu-get-tree] 2]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-fold-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-hide-emphasis-markers t
 org-noter--doc-approx-location-hook '(org-noter-djvu--approx-location-cons
                                       org-noter-nov--approx-location-cons
                                       org-noter-pdf--approx-location-cons)
 org-noter--pretty-print-highlight-location-hook
'(org-noter-pdf--pretty-print-highlight)
 org-noter-set-up-document-hook '(org-noter-djvu--setup-handler
                                  org-noter-nov--setup-handler
                                  org-noter-pdf--doc-view-setup-handler
                                  org-noter-pdf--pdf-view-setup-handler)
 org-confirm-shell-link-function 'yes-or-no-p
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-noter--show-arrow-hook '(org-noter-pdf--show-arrow)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-occur-hook '(org-first-headline-recenter)
 org-ellipsis "⤵"
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-roam-node-annotation-function 'org-roam-node-read--annotation
 org-ascii-format-drawer-function #[771 "\207" [] 4
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-ascii.elc" .
11828)]
 org-roam-directory "~/temp/roam-test"
 org-roam-indirect-buffer-hook '(org-roam--register-completion-functions-h)
 org-bibtex-headline-format-function 'org-bibtex-headline-format-default
 org-capture-prepare-finalize-hook '(org-roam-capture--install-finalize-h)
 org-link-parameters '(("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 :insert-description
                        org-info-description-as-command)
                       ("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)
                       ("doi" :follow org-link-doi-open :export
org-link-doi-export)
                       ("roam" :follow org-roam-link-follow-link)
                       ("attachment" :follow org-attach-follow :complete
                        org-attach-complete-link)
                       ("id" :follow org-id-open :store
org-id-store-link-maybe)
                       ("nov" :follow nov-org-link-follow :store
nov-org-link-store)
                       ("file+sys") ("file+emacs")
                       ("shell" :follow org-link--open-shell)
                       ("news" :follow
                        #[514 "\301\300\302Q\"\207" ["news" browse-url ":"]
6

("/Applications/Emacs.app/Contents/Resources/lisp/org/ol.elc"
                           . 51215)
                          ]
                        )
                       ("mailto" :follow
                        #[514 "\301\300\302Q\"\207" ["mailto" browse-url
":"] 6

("/Applications/Emacs.app/Contents/Resources/lisp/org/ol.elc"
                           . 51215)
                          ]
                        )
                       ("https" :follow
                        #[514 "\301\300\302Q\"\207" ["https" browse-url
":"] 6

("/Applications/Emacs.app/Contents/Resources/lisp/org/ol.elc"
                           . 51215)
                          ]
                        )
                       ("http" :follow
                        #[514 "\301\300\302Q\"\207" ["http" browse-url ":"]
6

("/Applications/Emacs.app/Contents/Resources/lisp/org/ol.elc"
                           . 51215)
                          ]
                        )
                       ("ftp" :follow
                        #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6

("/Applications/Emacs.app/Contents/Resources/lisp/org/ol.elc"
                           . 51215)
                          ]
                        )
                       ("help" :follow org-link--open-help :store
org-link--store-help)
                       ("file" :complete org-link-complete-file)
                       ("elisp" :follow org-link--open-elisp))
 org-roam-capture-templates '(("d" "default" plain "%?" :if-new
                               (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
                                "#+title: ${title}\n")
                               :unnarrowed t)
                              ("r" "reference material (book, article,
blog)" plain
                               (file
                                "/Users/tcyun/Downloads/roam-test/
template-reference.org")
                               :if-new
                               (file+head "%<%Y%m%d%H%M%S>-ref-${slug}.org"
                                "#+title: ${title}")
                               :unnarrowed t)
                              ("i" "index" plain
                               (file
                                "/Users/tcyun/Downloads/roam-test/
template-index.org")
                               :if-new
                               (file+head "%<%Y%m%d%H%M%S>-ref-${slug}.org"
                                "#+title: ${title}")
                               :unnarrowed t)
                              ("p" "project" plain
                               (file
                                "/Users/tcyun/Downloads/roam-test/
template-project.org")
                               :if-new
                               (file+head "%<%Y%m%d%H%M%S>-ref-${slug}.org"
                                "#+title: ${title}")
                               :unnarrowed t)
                              ("n" "meeting notes" plain
                               (file
                                "/Users/tcyun/Downloads/roam-test/
template-meeting_notes.org")
                               :if-new
                               (file+head "%<%Y%m%d%H%M%S>-mtg-${slug}.org"
                                "#+title: ${title}")
                               :unnarrowed t)
                              )
 org-log-buffer-setup-hook '(org-roam-log--setup)
 org-roam-completion-everywhere t
 org-noter-create-skeleton-functions '(org-noter-djvu--create-skeleton
                                       org-noter-nov--create-skeleton-epub
                                       org-noter-pdf--create-skeleton)
 org-noter-get-buffer-file-name-hook '(org-noter-nov--get-buffer-file-name
                                       org-noter-pdf--get-buffer-file-name)
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
                            org-babel-header-arg-expand)
 org-agenda-block-separator 61
 org-noter--get-containing-element-hook '(org-noter--get-containing-heading

org-noter--get-containing-property-drawer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-sort-function 'string-collate-lessp
 org--warnings '("org-element--cache: Org parser error in Notes of The
Gulag Archipelago Vol 1- Aleksandr Solzhenitsyn.pdf::66037. Resetting.\n
The error was: (error \"Invalid search bound (wrong side of point)\")\n
Backtrace:\nnil\n Please report this to Org mode mailing list (M-x
org-submit-bug-report).")
 org-babel-pre-tangle-hook '(save-buffer)
 org-agenda-current-time-string "now - - - - - - - - - - - - - - - - - - -
- - - - - -"
 org-roam-capture-new-node-hook '(org-roam-capture--insert-captured-ref-h)
 org-noter--get-precise-info-hook '(org-noter-djvu--get-precise-info
                                    org-noter-nov--get-precise-info
                                    org-noter-pdf--doc-view-get-precise-info

org-noter-pdf--pdf-view-get-precise-info)
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-link-shell-confirm-function 'yes-or-no-p
 org-fold-core-isearch-open-function 'org-fold--isearch-reveal
 org-agenda-time-grid '((daily today require-timed) (800 1000 1200 1400
1600 1800 2000)
                        "......" "----------------")
 org-roam-capture-preface-hook '(org-roam-capture--try-capture-to-ref-h)
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-noter--doc-goto-location-hook '(org-noter-djvu--goto-location
                                     org-noter-nov--goto-location
                                     org-noter-pdf--goto-location)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h
                           org-roam--register-completion-functions-h
                           org-roam--replace-roam-links-on-save-h
                           org-roam-db-autosync--setup-update-on-save-h)
 org-roam-ref-annotation-function 'org-roam-ref-read--annotation
 org-agenda-loop-over-headlines-in-active-region nil
 org-noter-create-session-from-document-hook
'(org-noter--create-session-from-document-file-default)
 org-link-elisp-confirm-function 'yes-or-no-p
 org-noter--add-highlight-hook '(org-noter-pdf--highlight-location)
 org-odt-format-inlinetask-function
'org-odt-format-inlinetask-default-function
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-show-empty-lines
                  org-cycle-optimize-window-after-visibility-change
                  org-cycle-display-inline-images)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-noter--pretty-print-location-hook
'(org-noter-djvu--pretty-print-location

 org-noter-nov--pretty-print-location

 org-noter-pdf--pretty-print-location)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-odt-format-drawer-function #[514 "\207" [] 3
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-odt.elc" . 16819)]
 )

Reply via email to