Re: [BUG] error "Invalid search bound (wrong side of point)" [9.6.15, (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-06-22 Thread Ihor Radchenko
Ihor Radchenko  writes:

> Vidianos Giannitsis  writes:
>
>> I got this error while working on an org file. It appears to be
>> something related to org-fragtog, or the creation of the latex
>> preview. Its the first time I see it and I am not sure how it happened
>> (can't reproduce it), but the error itself asked that I report this to
>> the mailing list, so here I am, in case this is helpful.
>
> Thanks for the report!
> There will be improvements to the cache in the next Org mode release. I
> hope that the inflow of cache-related problems will cease once Org 9.7
> is released.

Closing.
Canceled.

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



Re: [BUG] error "Invalid search bound (wrong side of point)" [9.6.15, (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-05-22 Thread Ihor Radchenko
Vidianos Giannitsis  writes:

> I got this error while working on an org file. It appears to be
> something related to org-fragtog, or the creation of the latex
> preview. Its the first time I see it and I am not sure how it happened
> (can't reproduce it), but the error itself asked that I report this to
> the mailing list, so here I am, in case this is helpful.

Thanks for the report!
There will be improvements to the cache in the next Org mode release. I
hope that the inflow of cache-related problems will cease once Org 9.7
is released.

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



[BUG] error "Invalid search bound (wrong side of point)" [9.6.15, (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2024-05-22 Thread Vidianos Giannitsis

I got this error while working on an org file. It appears to be
something related to org-fragtog, or the creation of the latex
preview. Its the first time I see it and I am not sure how it happened
(can't reproduce it), but the error itself asked that I report this to
the mailing list, so here I am, in case this is helpful.

Best regards,

Vidianos

Error:

Warning (org-element-cache): org-element--cache: Org parser error in 
result_analysis.org::8374. Resetting.

 The error was: (error "Invalid search bound (wrong side of point)")
 Backtrace:
"  backtrace-to-string(nil)
  org-element-at-point()
  org-element-context()
  org-fragtog--cursor-frag()
  org-fragtog--post-cmd()
"

Emacs  : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.41, cairo version 1.18.0)
Package: Org mode version 9.6.15 (release_9.6.15 @ 
/usr/share/emacs/29.3/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 nil
 org-tree-slide-modeline-display 'lighter
 org-similarity-recursive-search t
 org-after-todo-state-change-hook '((lambda nil
             (if (equal org-state "DONE")
              (progn (org-id-delete-entry)))
             )
                )
 org-tree-slide-deactivate-message "Exiting Presentation"
 org-ref-cite-onclick-function #[257 "\300 \207" 
[org-ref-citation-hydra/body] 2 "\n\n(fn _)"]

 org-hide-emphasis-markers t
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 
"\n\n(fn ENTRY)"]

 org-pdftools-get-desc-function 'org-pdftools-get-desc-default
 org-ref-insert-cite-function 'org-ref-insert-cite-link
 org-download-file-format-function 'org-download-file-format-default
 org-roam-dailies-capture-templates '(("d" "default" entry "* %?" :if-new
               (file+head "%<%Y-%m-%d>.org"
                "#+title: %<%Y-%m-%d>\n#+filetags: daily")
               :empty-lines 1)
              )
 org-babel-julia-command "~/.local/bin/julia"
 org-babel-after-execute-hook '(julia-snail/ob-julia-abel-ansi)
 org-agenda-files '("~/org_roam" "~/org_roam/daily" "~/org_roam/ref")
 org-roam-node-display-template "${title:115} ${backlinkscount:6} 
${todostate:20} ${directories:10} ${tags:15}"

 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-format-latex-options '(:foreground default :background default 
:scale 1.8

            :html-foreground "Black" :html-background
            "Transparent" :html-scale 1.0 :matchers)
 org-re-reveal-root "file:///home/vidianos/Cloned_Repositories/reveal.js"
 org-export-before-parsing-hook '(org-re-reveal-prepare-tts
              org-attach-expand-links)
 org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe
            org-babel-header-arg-expand)
 org-startup-with-latex-preview t
 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-ref-bibtex-assoc-pdf-with-entry-move-function 'rename-file
 org-remark-source-path-function 'file-relative-name
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-file-apps '(("\\.pdf\\'" . emacs) (auto-mode . emacs) (directory . 
emacs)

     ("\\.mm\\'" . default) ("\\.x?html?\\'" . default)
     ("\\.pdf\\'" . default))
 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-odt-format-inlinetask-function 
'org-odt-format-inlinetask-default-function

 org-similarity-directory "~/org_roam/"
 org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME 
CONTENTS WIDTH)"]
 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-export-with-broken-links t
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-image-actual-width nil
 org-noter--pretty-print-highlight-location-hook 
'(org-noter-pdf--pretty-print-highlight)

 org-mode-hook '(julia-snail/ob-julia-interaction-mode
     (lambda nil scimax-abbrev-mode scimax-autoformat-mode)
     org-ref-org-menu
     (lambda nil (turn-on-org-cdlatex) (org-fragtog-mode) (laas-mode))
     visual-line-mode
     (lambda nil
      (add-hook 'after-save-hook
       #'(lambda nil
      (let ((org-confirm-babel-evaluate nil)) (org-babel-tangle)))
       )
      'run-at-end 'only-in-org-mode)
     (lambda nil (org-superstar-mode)
      (org-superstar-configure-like-org-bullets))
     evil-org-mode
     #[0 "\300\301\302\303\304$\207"
       [add-hook change-maj