Skip to main content

Questions tagged [org-agenda]

Org-agenda is the Org mode facility that generates agenda views, handles files for agendas, dispatches keyboard shortcuts for agenda operations, sorts agendas, and performs agenda-related functions in conjunction with other org-mode features. Use additional org-mode tags for questions about interoperation of agenda with other Org features.

Filter by
Sorted by
Tagged with
6 votes
1 answer
854 views

how to get today's total logged time programatically?

I'm trying to set the title of my emacs to how much work I've done in total. I would like to get the time I've logged today programatically. (like when you open agenda and press 'R'). How do I do ...
0 votes
1 answer
36 views

How can I treat org-agenda-custom-commands as an associative array?

Every time I run this, it gets added to the list, but I want to replace the entry "ab" with any new definition I come up with. (setq hukarz `("ab" "foo bar" ...
0 votes
1 answer
203 views

Emacs org-journal todo items don't show up in org-agenda

I am wondering how you can make todo items from the journal show up in the agenda view. Currently, my org set up is as follows (setq org-directory "~/org/") (setq org-agenda-files (directory-...
5 votes
1 answer
2k views

Org-Mode Agenda Open in Left Window by Default

With a vertical split (C-x 3), regardless of which buffer I am in, C-c a opens the agenda on the right window, pushing my org file into the left window. Is it possible to have the agenda open into ...
2 votes
2 answers
406 views

org-projectile agenda view?

I'm trying to create a custom agenda to show todos for the current project logged via org-projectile. Something like this: (setq org-agenda-custom-commands '(("p" "Current ...
0 votes
1 answer
23 views

Block TODOs following 'Waiting' from the agenda

I often have TODOs which are not ready to do because I am waiting on input information: I have a TODO keyword called WAITING as a reminder of what exactly I'm waiting for. Example: *** PROJECT Report ...
0 votes
1 answer
130 views

Sort org-agenda entries chronologically with grid in the middle

Is it possible to get my items sorted in a chronological manner, such that the grid remains in "today" relative to other entries? Something like this: cat1: sched 5 days ago TODO task 1. ...
3 votes
1 answer
373 views

Org agenda - edit the headline itself

From Org Agenda view, I can do several things like reschedule, reprioritize, tag, etc. How do I edit the headline itself from the org agenda view? Or it can not be done?
2 votes
1 answer
325 views

Choose where org-agenda-tree-to-indirect-buffer window opens

If I have an org file open: +----------------------------------------+ | | | | | ...
1 vote
1 answer
637 views

Org Weekly Agenda filter tags with logical OR

Background information to motivate my question: With the agenda open, I can press "\" then "+" to show only results containing a certain tag, say A. I can then press "\" and "+" again to show ...
0 votes
1 answer
51 views

org-agenda-file-to-front, when in Literate Configuration

I use a literate configuration, so my init.el file gets overwritten every time I tangle; how does this play together with org-agenda-file-to-front?;) Maybe add a separate file to hold the included org ...
0 votes
1 answer
469 views

org-agenda stopped working

So my org-agenda was working perfectly in Spacemacs 0.990.0 on emacs 27.1 on Ubuntu 18.04 LTS. But I upgraded to Ubuntu 20.04 LTS, and updated all of my Emacs and Spacemacs packages, including org-...
0 votes
1 answer
132 views

How to make org-agenda time-grid :LOGBOOK: entries appear in the same format as entries logged with CLOSED:

I recently made the following modification to my init.el to show :LOGBOOK: entries in the org-agenda time-grid: (use-package org (setq org-agenda-log-mode-items '(closed clock state))) The only ...
1 vote
1 answer
40 views

How can I view org-headings that have notes added to the LOGBOOK drawer in the last 48 hours?

If I log a note to the LOGBOOK drawer, using org-add-note, how can I find them again? I want to list the org-headings that have notes added to them in the last 48 hours. I tried this, but this doesn't ...
0 votes
1 answer
25 views

How can I see which file is being processed when rebuilding org-agenda?

I'm trying to debug why rebuilding my org-agenda is taking so long. Can I print to the Echo Area which file is being processed, so as to be verbose?
1 vote
1 answer
287 views

Org mode tag inheritance in agenda custom commands

I want to create Org Mode agenda views or sparse trees with tag inheritance disabled so that tagged headlines are included but children are not. I do not want to turn off tag inheritance globally. I ...
1 vote
1 answer
524 views

Org Mode: exporting agenda with inherited tags

The manual says: C-x C-w (org-agenda-write) Write the agenda view to a file. [...] only the body of original headlines are exported, not subtrees or inherited tags. How to export inherited tags ...
4 votes
1 answer
587 views

Why is emacs freezing and how can I prevent it? (likely involving org agenda)

What would cause emacs to "mostly" freeze when creating an org agenda? I say "mostly" because when you type C-g, it does show "Quit" in the minibuffer, and the time logging number in the minibuffer ...
0 votes
1 answer
929 views

Custom sorting of agenda (by tag)

Is there a way to customize how tags get sorted in org-agenda weekly view? I don't like the default which is sorting alphabetically (within tasks of the same date/priority). It would be more useful ...
0 votes
1 answer
137 views

org-agenda-prefix-format change file name

Can you change categories based on their files? For example there is a file todo.org in an orgzly folder and another todo.org in a local folder. Could you change org-agenda-prefix-format (or something ...
0 votes
1 answer
35 views

Display now includes inactive timestamps as well

I am using emacs 29.1 When going to org-agenda and then want to change to the next week ], instead of going to the next week, I get the message: Display now includes inactive timestamps as well. Why ...
4 votes
1 answer
2k views

Can I automatically export org deadlines and scheduled tasks as an iCal file and import it with another calendar app?

I would like to update Google Calendar / iCal automatically by exporting my org deadlines and scheduled tasks in .ics format, then automatically importing them into a cross-platform calendar app. I ...
0 votes
2 answers
90 views

Active dates in a table

I'm having a table with a date column, like: *** Events | Date | Thing | |----------------------------+--------+ | <2024-11-12 14:00-17:00> | Foo | | <...
2 votes
1 answer
743 views

org-agenda-files not setting after update?

I recently upgraded to emacs 25.1.1 and noticed my org setup wasn't working as usual. in my init.el I have: (setq org-directory "~/Dropbox (Personal)/org") (setq org-archive-location "~/Dropbox (...
1 vote
1 answer
48 views

Add a separator in org-agenda day view between sorted tags

I use my org-agenda with items sorted by tags. How can I add a separator in org-agenda day view between sorted tags? Edit (based on the first comment): (setq org-agenda-span 1 ...
1 vote
1 answer
218 views

Create an org-agenda-custom-commands using org-agenda-filter

Org-mode newbie here. I use the org-agenda-filter pretty heavily as part of my daily agenda workflow. I have a tag for "Work" related TODO items and repeat this operation several times a day:...
0 votes
1 answer
99 views

org agenda not loading org-agenda-files funkiness

My config file has the following funkiness: I have the line (setq org-agenda-files '("~/org/tktodos.org" )) followed by the line (org-agenda nil "a"). When my org file loads, I can ...
2 votes
1 answer
291 views

customized week label in org-mode agenda view

Is it possible for org-mode agenda view to display a customized label for the week, in addition to the week number included by default? For example, the agenda for the current week shows: Week-agenda ...
3 votes
3 answers
244 views

How can I automate rescheduling overdue daily tasks?

I have a number of "daily" tasks which repeat daily. If I forget to mark each task as DONE, it is removed from the timeline, and appears as an overdue item at the top of the agenda. For ...
3 votes
1 answer
349 views

How to exclude several tags from view blocks?

I'm building my composite agenda view in org-mode. I want to exclude some entries shown in the lower block from the upper block since they are redundant. This is what I got: (setf org-agenda-custom-...
0 votes
2 answers
205 views

In org-agenda, highlight marked entries

Running Doom Emacs v2.0.9 on Emacs 27.1. I can mark several entries in the agenda buffer and work on all of them together. Is there a way to keep marked entries highlighted? This would give more ...
1 vote
1 answer
68 views

How to export all overdue TODOs as if they are scheduled for today

What I'm trying to do is to export an .ics file daily that can be imported to Google Calendar so that I can view all unfinished TODOs on my phone. In Emacs, I have org-agenda show the unfinished TODOs ...
0 votes
1 answer
1k views

Doom Emacs start-up problems

Running Doom Emacs 2.0.9 on Emacs 27.1. In my init.el I have org-roam enabled like so: :lang (org +roam +journal) In my config.el I also load org-habits, hide it in initial agenda view and set-up a ...
1 vote
1 answer
229 views

Org mode don't unfold log entry when changing task to done

I find it quite useful to have the log of when I completed a task in org mode, but get a bit annoyed at the fact that when a TODO is changed to DONE, the log is visible. Is it possible to have it ...
1 vote
1 answer
372 views

org-agenda column view: displaying abbreviated FILE property

I would like to display file names in my global TODO list in column view without directories and extensions. (setq org-columns-default-format "%TODO %FILE %ITEM") followed by C-catC-cC-xC-c leads to ...
0 votes
1 answer
20 views

customization of org-agenda-custom-commands not seen on next emacs instantiation

GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.7.6 (Build 20G1231)) of 2023-05-30 Org mode version 9.6.12 ( @ /Users/brucer42/.emacs.d/elpa/org-9.6.12/) I ...
0 votes
1 answer
159 views

Switch to custom views in Agenda via org-agenda-view-mode-dispatch

Is ist possible to add custom views to agenda which can be accessed via org-agenda-view-mode-dispatch? Its very convenient to press just "v" and "l" to make agenda show completed tasks. It would be ...
2 votes
1 answer
138 views

How do I convert scheduled recurring entries into clocked data?

I use org-mode for scheduling and logging in tasks. I clock in non-recurring tasks, however I find it strenuous to clock in recurring tasks. Is there any way I can mark the recurring task done and the ...
2 votes
1 answer
334 views

(orgmode) Rearrange headline with breadcrumbs in agenda todo list?

In Emacs org-mode, I have a set of TODOs in the following format: * H1 ** H2 *** H3 **** TODO [#A] File Taxes If I activate breadcrumbs in org-agenda-prefix-format (i.e., by doing (setf (alist-get '...
0 votes
1 answer
76 views

How to add tasks out of emacs when using org-mode as task manager

I would love to use emacs + org-mode as my task manager (currently using RTM). However, one piece that I am missing is to easily be able to add new tasks from outside emacs. Specifically, there are 3 ...
0 votes
1 answer
83 views

Add custom agenda options instead of replacing the whole set

I use some custom agendas for work and some for personal stuff. At the moment I load a huge set of custom agendas in org-agenda-custom-commands containing all agendas for work and for personal stuff. ...
0 votes
1 answer
53 views

Filter agenda view on the absence of effort property

I'm looking a way to filter tasks in my emacs org agenda on the lack of effort in the property. I've figured out how to filter on the effort when it is detailed but I cannot figure out when there is ...
0 votes
0 answers
12 views

org-mode recurring habits: how do I force recurring events to happen in the next week on the same day? [duplicate]

I am using org-mode to track recurring tasks, however I am running into a problem when scheduling the subsequent instance of a recurring task. For some reason, the recurring task seems to get ...
0 votes
2 answers
388 views

org mode sort problems with (numerical) properties

I use the property "pages" for the number of pages of an article or book. There are two problems. First: If I use C-c ^ to sort the items by the value of pages org-sort seems to interpret the ...
0 votes
1 answer
104 views

org-agenda-custom-commands, add-to-list

I'm trying to add-to-list org-agenda, but I failboat (setq c-view `( ("c" "High Priority and Low Rewards" ( (tags "PRIORITY=\"A\"" (...
0 votes
1 answer
42 views

In org-agenda, how can I jump to tomorrow?

There's a shortcut, ".", in org-agenda that lets me jump to today. Is there such a shortcut that takes me to tomorrow or somehow jump forward by day?;)
0 votes
0 answers
19 views

Discard indirect buffer showing details of the selected task on leaving agenda

Using Doom Emacs. When I open org agenda and take cursor to a task, it opens an indirect buffer showing the task at the bottom of the window. This is super-useful. I never use this buffer to edit. I ...
0 votes
0 answers
29 views

Change the face of the current line in org agenda

Using Doom Emacs. In org agenda, the line on which the cursor is gets 'highlighted'. But, in my view, just not enough. So, I will like to change the face to something more obvious. describe-character ...
0 votes
0 answers
18 views

Accessing appointments in todo agenda

When I attempt to review an appointment the screen blinks but the appointment can't be seen and an error message only shows error and the outlook symbol.
0 votes
0 answers
107 views

How to handle 'Finish-to-Start' dependencies in Org Mode

I have been scratching my head for a while now about how to handle task dependencies in Orgmode. I have re-edited the post and added some headers so that nobody gets discouraged by the length, and so ...

1
2 3 4 5
13