emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
@ 2024-09-04  6:48 Lourens van der Vliet
  2024-09-09 18:01 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Lourens van der Vliet @ 2024-09-04  6:48 UTC (permalink / raw)
  To: emacs-orgmode

Emacs freezes upon opening the hours,org file.
This version comes up with a parser error, however this file has been
used and worked on at 7 july 2024. This file has been used after the
holidays up to 26 august 2024. Then at 28 august the file could not be
opened anymore. This was probably after an update, however I don't
remember that anymore, but most likely on 26 august. Then on 27 august I
didn't open the file. At 28 august the trouble started.

Expected behavior: File can be opened and worked on.

Emacs  : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.42, cairo version 1.18.0)
  of 2024-06-30, modified by Debian
Package: Org mode version 9.6.15 (release_9.6.15 @ 
/usr/share/emacs/29.4/lisp/org/)

current state:
==============
(setq
  org-archive-location "%s_archive::* Archived Tasks"
  org-link-elisp-confirm-function 'yes-or-no-p
  org-agenda-diary-file "~/org/diary.org"
  org-directory "~/org/"
  org-after-todo-state-change-hook '(bh/mark-next-parent-tasks-todo)
  org-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 
"\n\n(fn ENTRY)"]
  org-agenda-custom-commands '(("N" "Notes" tags "NOTITIE"
                                ((org-agenda-overriding-header "Notes") 
(org-tags-match-list-sublevels t)))
                               ("h" "Habits" tags-todo "STYLE=\"habit\""
                                ((org-agenda-overriding-header "Habits")
                                 (org-agenda-sorting-strategy 
'(todo-state-down effort-up category-keep)))
                                )
                               ("z" "Agenda"
                                ((agenda "" nil)
                                 (tags "REFILE"
                                  ((org-agenda-overriding-header "Taken 
verplaatsen")
                                   (org-tags-match-list-sublevels nil))
                                  )
                                 (tags-todo "-STAKEN/!"
                                  ((org-agenda-overriding-header 
"Vastgelopen projecten")
                                   (org-agenda-skip-function 
'bh/skip-non-stuck-projects)
                                   (org-agenda-sorting-strategy 
'(category-keep)))
                                  )
                                 (tags-todo "-WACHTEN-STAKEN/!"
                                  ((org-agenda-overriding-header 
"Projecten")
                                   (org-agenda-skip-function 
'bh/skip-non-projects)
                                   (org-agenda-sorting-strategy 
'(category-keep)))
                                  )
                                 (tags-todo "-STAKEN/!HIERNA"
                                  ((org-agenda-overriding-header
                                    (concat "Taken in uitvoering"
                                     (if 
bh/hide-scheduled-and-waiting-next-tasks ""
                                      " (inclusief wachtende en geplande 
taken)")
                                     )
                                    )
                                   (org-agenda-skip-function 
'bh/skip-projects-and-habits-and-single-tasks)
                                   (org-tags-match-list-sublevels t)
(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks)
                                   (org-agenda-sorting-strategy 
'(todo-state-down effort-up category-keep)))
                                  )
                                 (tags-todo "-REFILE-STAKEN-WACHTEN/!"
                                  ((org-agenda-overriding-header
                                    (concat "Subtaken van projecten"
                                     (if 
bh/hide-scheduled-and-waiting-next-tasks ""
                                      " (inclusief wachtende en geplande 
taken)")
                                     )
                                    )
                                   (org-agenda-skip-function 
'bh/skip-non-project-tasks)
(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks)
                                   (org-agenda-sorting-strategy 
'(category-keep)))
                                  )
                                 (tags-todo "-REFILE-STAKEN-WACHTEN/!"
                                  ((org-agenda-overriding-header
                                    (concat "Zelfstandige taken"
                                     (if 
bh/hide-scheduled-and-waiting-next-tasks ""
                                      " (inclusief wachtende en geplande 
taken)")
                                     )
                                    )
                                   (org-agenda-skip-function 
'bh/skip-project-tasks)
(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks)
                                   (org-agenda-sorting-strategy 
'(category-keep)))
                                  )
                                 (tags-todo "-STAKEN+WACHTEN|STAKEN/!"
                                  ((org-agenda-overriding-header
                                    (concat "Wachtende en uitgestelde taken"
                                     (if 
bh/hide-scheduled-and-waiting-next-tasks ""
                                      " (inclusief wachtende en geplande 
taken)")
                                     )
                                    )
                                   (org-agenda-skip-function 
'bh/skip-non-tasks)
                                   (org-tags-match-list-sublevels nil)
(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks)
(org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks))
                                  )
                                 (tags "-REFILE/"
                                  ((org-agenda-overriding-header "Taken 
om te archiveren")
                                   (org-agenda-skip-function 
'bh/skip-non-archivable-tasks)
                                   (org-tags-match-list-sublevels nil))
                                  )
                                 )
                                nil s)
                               )
  org-log-into-drawer t
  org-startup-folded t
  org-babel-after-execute-hook '(bh/display-inline-images)
  org-agenda-skip-scheduled-if-done t
  org-agenda-files '("~/org" "~/org/projects" "~/org/prive" 
"~/org/agenda/2024")
  org-persist-after-read-hook '(org-element--cache-persist-after-read)
  org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9))
  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-default-notes-file "~/org/refile.org"
  org-finalize-agenda-hook '(place-agenda-tags bh/org-agenda-to-appt)
  org-archive-hook '(org-attach-archive-delete-maybe)
  org-clock-in-hook '(bh/mark-next-parent-tasks-todo)
  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-agenda-text-search-extra-files '(agenda-archives)
  org-persist-before-read-hook '(org-element--cache-persist-before-read)
  org-agenda-sticky t
  org-link-from-user-regexp "\\<lourens@flaptop\\>\\|\\<Lourens van der 
Vliet\\>"
  org-mode-hook '(org-appear-mode #[0 "\301\211.\207" 
[imenu-create-index-function org-imenu-get-tree] 2]
                  org-clock-load
                  #[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
                  (lambda nil (org-defkey org-mode-map ".[" 'undefined)
                   (org-defkey org-mode-map ".]" 'undefined) (org-defkey 
org-mode-map ".;" 'undefined)
                   (org-defkey org-mode-map ".\x18." 'undefined))
                  )
  org-babel-load-languages '((plantuml . t))
  org-agenda-skip-deadline-if-done t
  org-id-locations-file "/home/lourens/.emacs.d/var/org/id-locations.el"
  org-agenda-time-grid '((daily today remove-match) (800 1000 1230 1300 
1500 1700)
                         #("--------" 0 8 (org-heading t)) 
"--------------------")
  org-agenda-span 11
  org-agenda-cmp-user-defined 'bh/agenda-sort
  org-agenda-tags-column -102
  org-confirm-shell-link-function 'yes-or-no-p
  org-agenda-compact-blocks t
  org-agenda-restriction-lock-highlight-subtree nil
  org-agenda-clock-consistency-checks '(:max-duration "4:00" 
:min-duration 0 :max-gap 0 :gap-ok-around ("4:00"))
  org-adapt-indentation t
  outline-isearch-open-invisible-function 'outline-isearch-open-invisible
  org-agenda-skip-timestamp-if-done t
  org-agenda-sorting-strategy '((agenda habit-down time-up 
user-defined-up effort-up category-keep)
                                (todo category-up effort-up) (tags 
category-up effort-up) (search category-up))
  org-stuck-projects '("" nil nil "")
  org-plantuml-jar-path "/usr/share/plantuml/plantuml.jar"
  org-agenda-mode-hook '((lambda nil (org-defkey org-agenda-mode-map "F" 
'bh/restrict-to-file-or-follow))
                         (lambda nil (org-defkey org-agenda-mode-map "N" 
'bh/narrow-to-subtree))
                         (lambda nil (org-defkey org-agenda-mode-map "U" 
'bh/narrow-up-one-level))
                         (lambda nil (org-defkey org-agenda-mode-map "P" 
'bh/narrow-to-project))
                         (lambda nil (org-defkey org-agenda-mode-map "V" 
'bh/view-next-project))
                         (lambda nil (org-defkey org-agenda-mode-map 
".\x18<" 'bh/set-agenda-restriction-lock))
                         (lambda nil (hl-line-mode 1)))
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  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-agenda-window-setup 'current-window
  org-todo-state-tags-triggers '(("WACHTEN" ("WACHTEN" . t)) (done 
("WACHTEN")) ("TEDOEN" ("WACHTEN"))
                                 ("HIERNA" ("WACHTEN")) ("TESTEN" 
("WACHTEN")) ("NOTEER" ("WACHTEN"))
                                 ("GEDAAN" ("WACHTEN")) ("STAKEN" 
("WACHTEN")))
  org-clock-out-remove-zero-time-clocks t
  org-clock-report-include-clocking-task t
  org-todo-keywords '((sequence "TEDOEN(t)" "HIERNA(h@/!)" "TESTEN(q@)" 
"NOTEER(n@)" "|" "GEDAAN(g@)")
                      (sequence "WACHTEN(w@)" "|" "STAKEN(x@)" 
"PASSEN(p@)" "TELEFOON" "OVERLEG" "NOTITIE"))
  org-clock-out-hook '(bh/remove-empty-drawer-on-clock-out 
bh/clock-out-maybe)
  org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
  org-clock-persist-file "/home/lourens/.emacs.d/var/org/clock-persist.el"
  org-persist-directory "/home/lourens/.emacs.d/var/org/persist/"
  org-agenda-insert-diary-extract-time t
  org-fold-core-isearch-open-function 'org-fold--isearch-reveal
  org-clock-in-resume t
  org-clock-in-switch-to-state 'bh/clock-in-to-next
  org-preview-latex-default-process 'dvisvgm
  org-clock-persist t
  org-persist-before-write-hook '(org-element--cache-persist-before-write)
  org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
  org-link-shell-confirm-function 'yes-or-no-p
  org-babel-pre-tangle-hook '(save-buffer)
  org-agenda-loop-over-headlines-in-active-region nil
  org-agenda-start-on-weekday nil
  org-todo-keyword-faces '(("TEDOEN" :foreground "Indianred3" :weight bold)
                           ("HIERNA" :foreground "Deepskyblue3" :weight 
bold)
                           ("TESTEN" :foreground "purple" :weight bold) 
("NOTEER" :foreground "cyan" :weight bold)
                           ("GEDAAN" :foreground "forest green" :weight 
bold)
                           ("PASSEN" :foreground "magenta" :weight bold)
                           ("WACHTEN" :foreground "orange" :weight bold)
                           ("STAKEN" :foreground "violet red" :weight bold)
                           ("OVERLEG" :foreground "plum" :weight bold)
                           ("TELEFOON" :foreground "plum" :weight bold)
                           ("NOTITIE" :foreground "plum" :weight bold))
  org-occur-hook '(org-first-headline-recenter)
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-treat-S-cursor-todo-selection-as-state-change nil
  org-link-parameters '(("attachment" :follow org-attach-follow 
:complete org-attach-complete-link)
                        ("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) ("id" :follow org-id-open)
                        ("file+sys") ("file+emacs") ("shell" :follow 
org-link--open-shell)
                        ("news" :follow
                         #[514 "\301\300\302.Q.\"\207" ["news" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                        ("mailto" :follow
                         #[514 "\301\300\302.Q.\"\207" ["mailto" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                        ("https" :follow
                         #[514 "\301\300\302.Q.\"\207" ["https" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                        ("http" :follow
                         #[514 "\301\300\302.Q.\"\207" ["http" 
browse-url ":"] 6 "\n\n(fn URL ARG)"])
                        ("ftp" :follow
                         #[514 "\301\300\302.Q.\"\207" ["ftp" browse-url 
":"] 6 "\n\n(fn URL ARG)"])
                        ("help" :follow org-link--open-help :store 
org-link--store-help)
                        ("file" :complete org-link-complete-file) 
("elisp" :follow org-link--open-elisp))
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-use-fast-todo-selection t
  org-startup-with-inline-images t
  org-log-note-clock-out t
  org-clock-persist-query-resume nil
  org-agenda-dim-blocked-tasks nil
  org-return-follows-link t
  org-tags-column -150
  org-src-lang-modes '(("plantuml" . plantuml) ("C" . c) ("C++" . c++) 
("asymptote" . asy) ("bash" . sh)
                       ("beamer" . latex) ("calc" . fundamental) ("cpp" 
. c++) ("ditaa" . artist)
                       ("desktop" . conf-desktop) ("dot" . fundamental) 
("elisp" . emacs-lisp) ("ocaml" . tuareg)
                       ("screen" . shell-script) ("shell" . sh) 
("sqlite" . sql) ("toml" . conf-toml))
  org-clock-history-length 23
  )



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
  2024-09-04  6:48 [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Lourens van der Vliet
@ 2024-09-09 18:01 ` Ihor Radchenko
  2024-10-13  8:36   ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-09 18:01 UTC (permalink / raw)
  To: Lourens van der Vliet; +Cc: emacs-orgmode

Lourens van der Vliet <lourens@dewesterkwartiermakers.nl> writes:

> Emacs freezes upon opening the hours,org file.
> This version comes up with a parser error, however this file has been
> used and worked on at 7 july 2024. This file has been used after the
> holidays up to 26 august 2024. Then at 28 august the file could not be
> opened anymore. This was probably after an update, however I don't
> remember that anymore, but most likely on 26 august. Then on 27 august I
> didn't open the file. At 28 august the trouble started.
>
> Expected behavior: File can be opened and worked on.

It does not look like you are using the latest version of Org mode.
Does the problem persist if you upgrade to the latest Org 9.7.11?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
  2024-09-09 18:01 ` Ihor Radchenko
@ 2024-10-13  8:36   ` Ihor Radchenko
  2024-10-15  6:44     ` lourens
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-10-13  8:36 UTC (permalink / raw)
  To: Lourens van der Vliet; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

>> Expected behavior: File can be opened and worked on.
>
> It does not look like you are using the latest version of Org mode.
> Does the problem persist if you upgrade to the latest Org 9.7.11?

No response for over a month.
There is nothing I can do to help without the extra information I
requested.

Closing.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
  2024-10-13  8:36   ` Ihor Radchenko
@ 2024-10-15  6:44     ` lourens
  2024-10-15 18:27       ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: lourens @ 2024-10-15  6:44 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Dear Ihor

Somehow, I missed your mail. Sorry for that.
I get updates on my emacs installation almost weekly, so I'm fairly up  
to date.

I think I tackled the issue.

The hours.org hangs up on opening due to an #+END entry of my clock  
table, which I copy every week in my :LOGBOOK: blablabla  :END: drawer.

groet,
Lourens van der Vliet



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]
  2024-10-15  6:44     ` lourens
@ 2024-10-15 18:27       ` Ihor Radchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-10-15 18:27 UTC (permalink / raw)
  To: lourens; +Cc: emacs-orgmode

lourens@dewesterkwartiermakers.nl writes:

> Somehow, I missed your mail. Sorry for that.
> I get updates on my emacs installation almost weekly, so I'm fairly up  
> to date.

Well. The latest Org mode release is not actually a part of Emacs
installation. It is a separate package distributed via ELPA.

Emacs's installation only contains the latest org mode release available
_at the time of Emacs release_. Which may be up to few years old.

> I think I tackled the issue.
>
> The hours.org hangs up on opening due to an #+END entry of my clock  
> table, which I copy every week in my :LOGBOOK: blablabla  :END: drawer.

Normally, Org mode should not hang on Org files. No matter whether you
have some specific text there or not.
It would be nice if you shared an example of a file that is causing the hang.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-15 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04  6:48 [BUG] My hour registration file cannot be opened anymore., [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Lourens van der Vliet
2024-09-09 18:01 ` Ihor Radchenko
2024-10-13  8:36   ` Ihor Radchenko
2024-10-15  6:44     ` lourens
2024-10-15 18:27       ` Ihor Radchenko

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).