Re: how can I filter my agenda on tags?
On 23/03/25 David Masterson said: > It has been -- search the Org Manual for "Matching tags and properties". > In your case, try something like: > > ("w" "Workday report" tags "@work|@calls|@errands" > ... > ) Oh, I misunderstood. This is for a tags view, but not on the main agenda. I don't want to see non-work items in my agenda during work hours. The solution that I posted accomplishes that. Mike
[BUG] backtrace in capture buffer [9.8-pre (release_9.7.24-267-g5cfc85 @ /home/msoulier/.emacs.d/straight/build/org/)]
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. Got this while entering a journal note. It happened when I hit C-c C-c to save it. ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (org-agenda-mode) ⛔ Warning (org-element): org-element--cache: Org parser error in journal.org.gpg::#. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: nil Please report this to Org mode mailing list (M-x org-submit-bug-report). Emacs : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2025-01-14 Package: Org mode version 9.8-pre (release_9.7.24-267-g5cfc85 @ /home/msoulier/.emacs.d/straight/build/org/) current state: == (setq org-agenda-prefix-format '((dashboard-agenda . " %i %-12:c %s ") (agenda . " %i %-12:c%?-12t% s") (todo . " %i %-12:c") (tags . " %i %-12:c") (search . " %i %-12:c")) org-archive-location "~/pim/org/archive.org::" org-link-elisp-confirm-function 'yes-or-no-p org-directory "~/pim/org" org-hide-emphasis-markers t org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-agenda-scheduled-leaders '("Scheduled: " "Overdue: ") org-log-done 'time org-agenda-custom-commands '(("I" "Inbox" ((todo "" ((org-agenda-files '("~/pim/org/inbox.org")) (org-agenda-overriding-header "Unprocessed inbox items") ("d" "Dashboard" ((agenda "" ((org-deadline-warning-days 7) (org-agenda-span 'day))) (todo "" ((org-agenda-files '("~/pim/org/inbox.org")) (org-agenda-overriding-header "Unprocessed inbox items"))) (tags-todo "next&SCHEDULED=\"\"" ((org-agenda-sorting-strategy '(todo-state-down)) (org-agenda-overriding-header "Next tasks for today"))) ) ) ("X" agenda "" nil ("agenda.html" "agenda.ps")) ("Y" alltodo "" nil ("todo.html" "todo.txt" "todo.ps")) ("H" "Next Home" tags-todo "+@home+next") ("A" "After work report" ((tags-todo "+@notfun-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Not fun"))) (tags-todo "+@home-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "At home"))) (tags-todo "+@errands-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Errands today"))) (tags-todo "+@fun-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Fun"))) (tags-todo "+@personal-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Personal"))) (tags-todo "+@notfun+waiting+next" ((org-agenda-overriding-header "Home waiting" ) ("w" "Work day report" ((tags-todo "+@work-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Work today"))) (tags-todo "+@office-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "At Office today"))) (tags-todo "+@calls-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Calls today"))) (tags-todo "+@errands-waiting+next&SCHEDULED=\"\"" ((org-agenda-overriding-header "Errands today"))) (tags-todo "+@work+waiting+next" ((org-agenda-overriding-header "Work waiting" ) ("O" "Next Office" tags-todo "+@office+next") ("W" "Waiting" tags-todo "+waiting") ("p" "Next Personal time" tags-todo "+@personal+next") ("b" "Next Hobby time" tags-todo "+@fun+next") ("z" "No tags" tags-todo "-{.*}") ("r" "Weekly review" ((agenda "" ((org-agenda-overriding-header "Completed Tasks") (org-agenda-skip-function '(org-agenda-skip-entry-if 'nottodo 'done)) (org-agenda-span 'week)) ) (agenda "" ((org-agenda-overriding-header "Unfinished Scheduled Tasks") (org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done)) (org-agenda-span 'week
how can I filter my agenda on tags?
I just can't seem to get this working. During the work hours I want to include in my agenda only TODO items that have the @work, @calls or @errands tags. I tried one tag initially and I can't get that working. Looking at the docs, regexp seems to be the only option. CONDITIONS is a list of symbols, boolean OR is used to combine the results from different tests. Valid conditions are: scheduled Check if there is a scheduled cookie notscheduled Check if there is no scheduled cookie deadline Check if there is a deadline notdeadline Check if there is no deadline timestamp Check if there is a timestamp (also deadline or scheduled) nottimestamp Check if there is no timestamp (also deadline or scheduled) regexpCheck if regexp matches notregexp Check if regexp does not match. todo Check if TODO keyword matches nottodo Check if TODO keyword does not match For some reason there is no tag/notag options here. So I tried regexp. ("w" "Work day report" ((agenda "" ((org-agenda-overriding-header "Today's schedule") (org-agenda-skip-function '(org-agenda-skip-entry-if 'tags '(("@work" (org-agenda-span 'day))) But it's not working. They're still there in the agenda view. What am I doing wrong? Is there some reason why there are no tag filters? Mike signature.asc Description: PGP signature
Re: emacs hung chewing cpu trying to open meetings.org
On 10/03/25 jman said: > If you suspect a recent addition is causing this issue, you can bisect the I suspected that it could be a change in my configuration. I managed to go back and find an older config where this did not happen, so I am bisecting against that to see what is triggering the bug. Almost there. Mike signature.asc Description: PGP signature
Re: emacs hung chewing cpu trying to open meetings.org
On 10/03/25 jman said: > If you suspect a recent addition is causing this issue, you can bisect the > last changes by removing them one by one (with another editor) and try > opening the file (with Emacs) until you identify the change that is causing > the issue. A that point you can start investigating why that specific > change. I'd probably start by profiling Emacs when opening that file. Found it. I moved from the monokai to the modus-vivendi them, and it triggered this issue. Clearly there's a bug here. Emacs should not hang. Ever. But I'm not certain wherein the bug lies. Mike signature.asc Description: PGP signature
ox-hugo publishing problems
I am experiencing this bug https://github.com/kaushalmodi/ox-hugo/issues/740 But rebuilding has not solved the problem. Help appreciated. Using org 9.8-pre Mike
emacs hung chewing cpu trying to open meetings.org
Hello, I've tried this in two custom builds of emacs 29.4 and 30.1, both on Debian 12. I've been using org-mode for a while, and using a meetings capture template for my meetings, which is really helpful. I tried to open meetings.org today and emacs burned 100% cpu and seemed to never return. I had to kill it. It's 100% reproducable in my setup. Not sure why. Any idea how to debug? Thanks, Mike signature.asc Description: PGP signature