Questions tagged [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
1 vote
1 answer
230 views

Is it possible to create an Emacs package for the below mentioned use case with little Elisp knowledge?

In my view, Emacs Org-Mode is the best task management tool. Nonetheless, I think it could be improved. Each time I think of something that I should do, I create a todo in Org-Mode, so I now have ...
0 votes
1 answer
17 views

Is there a way to search tag header without agenda in org-mode?

All information over the internet about searching tags in the org-mode says about C-c a m Match a TAGS/PROP/TODO query in org-agenda I have many org files which are not in the agenda file (not in org-...
0 votes
1 answer
12 views

How can I see a list of DONE tasks in org-agenda sorted by closed date?

My config (spacemacs with ~0 extra) sets a CLOSED time when I move a task in org-mode to DONE: ***** DONE A task CLOSED: [2022-09-12 Mon 16:18] SCHEDULED: <2022-09-07 Wed> It's easy to only ...
0 votes
0 answers
11 views

Org Agenda and Org Files - Tags at the right margin of the window

I can set org-tags-column and org-agenda-tags-column to a specific value and get tags to right align at that column. Is there a way to right align the tags at the margin i.e. the right edge of the ...
  • 1,712
0 votes
1 answer
27 views

Custom agenda view for tasks without dates and with/ without specific tag

I can have a custom agenda view that shows all tasks without a date with a custom agenda view defined thus: '(org-agenda-custom-commands (quote (("d" "Undated tasks" alltodo ...
  • 1,712
1 vote
1 answer
26 views

Change width of filename column in Org-Agenda Week view

Let's say I have just one file in org-agenda-files called short.org. If I put items with active timestamps in short.org, they'll appear in the Week view just fine: But if I have any other agenda ...
  • 11
1 vote
1 answer
26 views

How do I automatically reload my agenda views on window/frame resize?

I've noticed that my agenda views get squashed (line breaks) when my window/frame resizes, e.g. when I move the Emacs frame to a smaller monitor. Is there a way/hook to automatically reload my open ...
  • 13
1 vote
2 answers
48 views

How can I change the name of the org-agenda buffer to something other than "*Org Agenda*"?

When I invoke org-agenda-list I get the org agenda buffer (works fine) but it is always named *Org Agenda* regardless of what type of agenda view I use (I also have a weekly agenda customized in org-...
3 votes
0 answers
55 views

Global list of TODO items of type: DONE sort by date

After 'List of all TODO entries' command I like to see only DONE task so I press in ex. (e.g. ‘8 r’). But I would expect that tasks should be sorted by CLOSED date. But they are not. I was trying with ...
  • 431
0 votes
2 answers
39 views

(Un-)bind keys for org-agenda in use-package

I want to unbind some keys in the org agenda display with use-package. I did the following: (use-package org :ensure t :pin gnu :config (define-key org-agenda-mode-map (kbd "<C-S-right&...
0 votes
1 answer
13 views

org-agenda stuck displaying last file in org-agenda-files list

For some reason, (after recently upgrading packages), running org-agenda via C-c a and then selecting a view from the dispatch buffer (such as a Agenda for current week or day) just shows me a buffer ...
0 votes
1 answer
45 views

org-agenda-redo: Symbol’s function definition is void: org-let

The error happens with the cursor in org agenda view and I want the next span displayed. Can anyone make sense of the debugger? I can't but only guess. Searching my init.el for org-let or org-agenda ...
  • 629
0 votes
1 answer
42 views

In Org-Agenda, how to show a complete file's summarized TODO status in one single line?

I often work in projects where all TODO items are bundled in one separate file. Often, I have quite a bit of TODO items which are then cluttering the agenda, while what I actually want is just a line ...
0 votes
0 answers
22 views

org-agenda-todo not working correctly for tasks with repeat

My habits and tasks with repeaters (e.g. tasks with this below the task name DEADLINE: <2022-05-17 mar +1m>) stopped working, in the sense that when I do C-c C-t and I select DONE the task state ...
  • 285
0 votes
1 answer
24 views

org-agenda - exclude default international holidays?

my org-agenda setup is pretty default. How can I make it exclude default international days? For example, Sunday 29 May 2022 Diary: Ascension of Baha'u'llah Monday 30 May 2022 Diary: Memorial Day I'...
1 vote
0 answers
98 views

How can I automate rescheduling overdue daily habit tasks?

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

Org mode: Need to create date range with time interval and weekly repeat under a headline

I want a series of appointments to include in the org-mode agenda. I want the first occurrence of appointment to start from <2022-04-26 Tue 12:00-13:00> and ending occurrence on <2022-05-28 ...
1 vote
0 answers
77 views

(evil-normal-state) seems to have no effect as part of org-agenda-mode-hook

I'm attempting to move from Doom Emacs to vanilla Emacs. I've gotten quite used to the keybindings of Doom, so would like to replicate my most used ones in Emacs. I've used evil, evil collection, and ...
0 votes
1 answer
107 views

Sprint Board and org-super-agenda : problems with DONE tasks

I am constructing a sprint board using a custom agenda view using org-super-agenda. It works really quite well with a couple exceptions, namely: Dates: I want to use variables (or constants) for the ...
0 votes
0 answers
42 views

How can I create recurring tasks with org-recur?

I am trying to create recurring tasks using the org-recur package but can’t seem to get it working. As far as I can tell I should be able to have the task * |+1| Take vitamins <2022-04-16> To ...
0 votes
0 answers
20 views

Agenda follow mode and window behaviour

I would like agenda follow mode to not use a different frame, but the same frame where the agenda is showing. My agenda buffer is always showing in a frame divided vertically (into two windows, left ...
0 votes
1 answer
38 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. ...
1 vote
1 answer
40 views

Repeater broken after edits to org-after-todo-state-change-hook

Title is pretty self explanatory. I have implemented the below solution to 'clock in' when I change my org-todo state to IN-PROGRESS and 'clock out' when I leave that state. (add-hook 'org-after-todo-...
0 votes
0 answers
105 views

How to Hide Closed Items in org-agenda

How to hide the closed or DONE/CANCELLED items in agenda view like this? By default org-agenda-log-mode-items is set to '(closed clock). So it will show both clocked and closed items in agenda view. ...
0 votes
1 answer
38 views

Hide category string in org-agenda-prefix-format for a particular category/filename

My current org-agenda-prefix-format looks like this: (setq org-agenda-prefix-format '((agenda . "%?-2 i%12:c %?-12 t%?12 s ") (todo . "%?-2 i%-12:c") (...
0 votes
1 answer
48 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-...
  • 509
-1 votes
1 answer
42 views

"non-existent agenda file ~/file.org. [R]emove from list or [A]bort?" when using file-expand-wildcards

As per this example below, I try to customize queries that require searching in different folders that are not agenda files. According to this part of the manual, it should be possible. However, ...
0 votes
2 answers
47 views

org-agenda-custom-commands: getting error

I am attempting to create a custom org-agenda menu (Q) with subitems (Qa and Qb) by using add-to-list in my init.el file: (add-to-list 'org-agenda-custom-commands '(("Q" . "...
0 votes
1 answer
193 views

Struggling to set org-agenda-files per org-agenda-custom-command

According to the org agenda docs, I should be able to set a custom local option for a given agenda command. In this case, I want to set a custom org-agenda-files variable, which is an explicit example ...
  • 167
0 votes
0 answers
50 views

How can `org-schedule` jump to calendar window?

When I apply org-schedule, the following minibuffer shows up: where the cursor is on the SCHEDULED Date+time [2022-03-12]: .... Here I type o or . but nothing happens, or I cannot use arrows in the ...
  • 1,074
2 votes
1 answer
59 views

Property search takes too long, a long LOGBOOK is the "problem"?

I have just one headline and do a simple property search (prop1="blah1") for the 'org-agenda', but this takes about 10 seconds! * empty item but with a long logbook :PROPERTIES: :prop1: ...
  • 326
0 votes
1 answer
66 views

org-agenda tag selection buffer is too small to view any tags

when using C-c C-q to run org-set-tags-command on an existing headline, i am unable to see the list of tags because the buffer window is so small. all i see is inherited tags and current tags lines. ...
  • 31
3 votes
1 answer
87 views

org-agenda-custom-commands: how to show only the log

I'm trying to get the agenda to show a list of everything I have worked on the past week, and only that. This is close, but it still shows the items that are scheduled, every day since their scheduled ...
  • 37
0 votes
1 answer
44 views

How to see deadline reminders on days other than "today" in `org-agenda-day-view`?

I am using org-agenda to see my day (org-agenda-day-view). In the current day, I can see the "deadline-warning-line" with the corresponding n days left for the due date. Good. However, when ...
1 vote
0 answers
28 views

"not allowed in tags-type agenda buffer or component"

One of my agenda views shows all past timestamped items (not scheduled or deadlines). I would want to from that view, select them all and move them to the current date. I noticed that I can't do this ...
0 votes
0 answers
18 views

Does not `get-text-property` with `'org-habit-p` as PROP argument return the full list of DONE dates?

I'm calling (org-habit-done-dates (get-text-property (point) 'org-habit-p)) from the agenda view to obtain the full list of DONE dates of a heading that has property STYLE set to habit. Notice that (...
0 votes
1 answer
38 views

How to show timestamped entries without TODO status

I understand from the manual that the command for doing a search of agenda entries which have a timestamp before today is as follows: TIMESTAMP<"<today>" If I additionally want to ...
0 votes
1 answer
38 views

Emacs org-agenda - header

I'am new with emacs. I try using org-agenda. I wonder if we can customize the header with a different color or font. I'am talking about this : org-agenda-overriding-header. Thank.
  • 3
0 votes
1 answer
40 views

Retrieve/list all entries with active timestamps before today

Is there a way to list all agenda entries which have active timestamps state (no DEADLINE or SCHEDULED)? I ask because these get lost in the agenda unlike Deadlines and Scheduled tasks, which keep ...
0 votes
0 answers
54 views

agenda files are opened in buffers on startup and have formatting errors

I am not quite sure if this is default behavior, but it seems that when I set org-agenda-files, all these files are opened in buffers on Emacs startup. This would be okay-ish if that's necessary for ...
0 votes
0 answers
11 views

How to change the face of only a text segment in org-agenda?

I am trying to do this on my org-agenda. In the example below, I want that the text [MY PROJECT] has a distinct face (nano-strong, for example) than the next line NEXT My next task. If I have a ...
0 votes
0 answers
28 views

Can an agenda deadline warning be temporarily dismissed w/o editing org-deadline-warning-days?

I have many repeating tasks with deadline warnings. Sometimes I just want to see the reminder and dismiss it until the next day, i.e. remove it from that day's agenda. Currently, I manually subtract 1 ...
0 votes
0 answers
89 views

org-agenda not displaying agenda`org-agenda-skip: Wrong number of arguments: (0 . 1), 2`

I am having trouble using org-agenda with org-journal. Essentially invoking org-agenda and trying to list all todos does not work as intended. I have included the debug trace and associated ...
1 vote
0 answers
70 views

How to archive DONE tasks while keeping their tree structure with org-agenda-bulk-action?

I am able to select the tasks that I want to archive by doing: C-c a T DONE|CANCELLED RET * B But then none of the bulk options match my needs. $ remove the selected tasks and put them flatly into ...
0 votes
0 answers
224 views

How do I save org-agenda-files customizations in Doom Emacs?

I am currently running Doom Emacs and using org-mode. When I try to move a file to the front of the agenda file list (C-c [), It is updating the custom.el file, rather than the config.el file. In my ...
0 votes
0 answers
30 views

Display habits inline with other events of agenda

I like to schedule my habits into the day. What I can't figure out is how to configure the agenda to display habits in line with other events. So the goal would be Day-agenda (W47): Tuesday 23 ...
  • 113
0 votes
2 answers
87 views

How to build an agenda buffer from specific files listed in org-agenda-files?

A being the set of all the .org files I use for schedules, I restrained agenda searches to A like this : (setq org-agenda-files (quote ("../file_1.org" ".....
0 votes
1 answer
45 views

How to export the scheduled date to taskjuggler

Having (require 'ox-taskjuggler) in my init.el and hitting org-taskjuggler-export-process-and-open in foo.org renders the current date instead the expected scheduled date. Content of foo.org *** Foo ...
  • 629
1 vote
0 answers
49 views

Cannot change font size in org-agenda in fresh emacs installation

After running this in my shell: $ sudo dnf -y remove emacs $ sudo dnf clean all $ rm -f ~/.emacs $ rm -r ~/.emacs.d $ sudo dnf -y install emacs $ emacs foo.org # existent file Then, within ...
0 votes
1 answer
57 views

Hide siblings of first level on sparse tree

By pressing [Enter] on an entry in org-agenda, the sparse tree containing the entry shows up. The variable org-show-context-detail controls how to see such a sparse tree (docs). Pairs "context -&...

1
2 3 4 5
12