Re: [BUG] Bug Report [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2024-03-12 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use "reply all" to keep the
  conversation public ]

Jerome  writes:

> This specific case (deleting a line and getting a bug) has only happened 
> once. Might also be worth noting that I only ever get bugs in this one org 
> file that I open, never in any others so it might be fairly niche. 

This kind of bugs is indeed fairly niche. The reason why we display the
warning and ask to report is to catch various edge cases users may
encounter. (We have hard time making the relevant code 100% reliable -
it is asynchronous and often depends on details of Org buffer structure
+ editing sequence)

In any case, if you are lucky, updating Org mode to the latest stable
version (Org 9.6.21) or to the latest main (development version Org
9.7-pre) might eliminate the bug.

May you upgrade and report back if you keep seeing problems?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [BUG] Bug Report [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2024-03-12 Thread Ihor Radchenko
Jerome Siljan  writes:

> I deleted a line in my file and I got this error and the prompt to
> report it
>
> Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
> 3.24.39, cairo version 1.18.0)
> of 2024-01-10
> Package: Org mode version 9.6.6 (release_9.6.6 @ 
> /usr/share/emacs/29.1/lisp/org/)

Thanks for the report!
Do you see the error regularly? Or did it happen just once?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



[BUG] Bug Report [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2024-03-12 Thread Jerome Siljan




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.


I deleted a line in my file and I got this error and the prompt to
report it

Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.39, cairo version 1.18.0)

of 2024-01-10
Package: Org mode version 9.6.6 (release_9.6.6 @ 
/usr/share/emacs/29.1/lisp/org/)


current state:
==
(setq
org-noter--doc-goto-location-hook '(org-noter-djvu--goto-location 
org-noter-nov--goto-location org-noter-pdf--goto-location)

org-link-elisp-confirm-function 'yes-or-no-p
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 
"\n\n(fn ENTRY)"]

org-agenda-custom-commands '(("c" "Tasks by context with Agenda"
((agenda "" ((org-agenda-span '7) (org-agenda-overriding-header 
"Agenda"))) (tags-todo "@school" ((org-agenda-overriding-header "Tasks 
@school")))
(tags-todo "@anywhere" ((org-agenda-overriding-header "Tasks 
@anywhere"))) (tags-todo "@home" ((org-agenda-overriding-header "Tasks 
@home")))
(tags-todo "@couch" ((org-agenda-overriding-header "Tasks @couch"))) 
(tags-todo "@waiting" ((org-agenda-overriding-header "Tasks @waiting"

nil nil)
)
org-agenda-files '("/home/jerome/misc/gtd/main.org")
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-format-latex-options '(:foreground default :background default 
:scale 2.0 :html-foreground "Black" :html-background "Transparent" 
:html-scale 1.0 :matchers

("begin" "$1" "$" "$$" "\\(" "\\["))
org-refile-targets '(("~/misc/gtd/main.org" :maxlevel . 1) 
("~/misc/gtd/diary.org" :maxlevel . 1) ("~/misc/gtd/phone_in.org" 
:maxlevel . 1))

org-export-before-parsing-hook '(org-attach-expand-links)
org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
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-archive-hook '(org-attach-archive-delete-maybe)
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-edit-src-content-indentation 0
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-link-from-user-regexp "\\"
org-noter--pretty-print-highlight-location-hook 
'(org-noter-pdf--pretty-print-highlight)
org-mode-hook '(er/add-org-mode-expansions #[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
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] 
org-setup-buffer)
org-babel-load-languages '((C . t) (R . t) (R . t) (emacs-lisp . t) 
(emacs-lisp . t) (plantuml . t) (python . t))

org-roam-ref-annotation-function 'org-roam-ref-read--annotation
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-roam-db-node-include-function #[0 "\300\207" [t] 1]
org-confirm-shell-link-function 'yes-or-no-p
outline-isearch-open-invisible-function 'outline-isearch-open-invisible
org-plantuml-jar-path "/usr/share/plantuml/lib/plantuml.jar"
org-roam-capture-preface-hook '(org-roam-capture--try-capture-to-ref-h)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-capture-prepare-finalize-hook '(org-roam-capture--install-finalize-h)
org-roam-preview-function 'org-roam-preview-default-function
org-babel-tangle-lang-exts '(("python" . "py") ("D" . "d") ("C++" . 
"cpp") ("emacs-lisp" . "el") ("elisp" . "el"))
org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)

org-confirm-elisp-link-function 'yes-or-no-p
org-log-buffer-setup-hook '(org-roam-log--setup)
org-deadline-warning-days 0
org-roam-capture-new-node-hook '(org-roam-capture--insert-captured-ref-h)
org-noter--show-arrow-hook '(org-noter-pdf--show-arrow)
org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)

org-noter--add-highlight-hook '(org-noter-pdf--highlight-location)
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-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)
o