Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
24 views

Sort agenda items by link's text and not link's url

I use alpha-up as the org-agenda-sorting-strategy. I have many hyperlinks in my task titles. And these items seem to be sorted by the url first (as a hyperlink is [[url][title]]. How do I change this ...
1
vote
1answer
35 views

Filter agenda for all open TODO items and all DONE items from past 7 days

I would like to use org-mode to facilitate weekly standups at work with people. I would like a workflow whereby I can filter the org agenda TODO list to only contain open all open TODO items in ...
1
vote
1answer
49 views

Custom command in org-mode agenda

I have two files in my agenda: current.org and later.org. My setup has it so that current.org has all active tasks (state TODO) and later.org has all inactive ones (state LATER). Right now, in my ...
0
votes
0answers
30 views

Remapping keys in org mode agenda view

I currently trying to remap my org mode agenda keymap in Spacemacs for org-agenda-next-item and org-agenda-previous-item. In the agenda view I like to map the functions to k for next-line and l for ...
0
votes
1answer
28 views

org-mode: how to print agenda showing only some categories

I'm trying to print today's agenda hiding some categories. I'm using C-u < to hide the categories I don't want, but when I print (either the buffer or by selecting the text and using lpr-region), ...
0
votes
0answers
24 views

org-mode occur-tree multiple tags

I am trying to add an agenda custom command that shows me a sparse tree of items contain either NEXT or TODO using occur-tree. When I run M-x org-occur RET NEXT\|TODO manually, it works fine. ...
0
votes
0answers
14 views

How to make an Org Column View dynamic block for multiple files?

I'm trying to find a way to make a Dynamic Block of columnview for all the files in my agenda. For example: the column view of one file would be like this: #+BEGIN: columnview :hlines 1 :id global ...
0
votes
0answers
8 views

Indirect-buffer from Agenda view to the right, not below

After I create an agenda view with the match command, I'd like to work with the resulting agenda view as a table of contents, using it to trigger indirect buffers for the headlines in the agenda view, ...
1
vote
0answers
13 views

Exclude entries in custom agenda views based on Level

I'm trying to configure a custom agenda view. I'd like to search through an .org file by matching tags, but then only show the top-level headline. I.e., suppose my org-file looks like this. * Heading ...
1
vote
0answers
32 views

Loading new agenda keywords (org-todo-keywords) is broken for me - bug in Emacs?

Objective I decided to add custom agenda keywords (I'm still setting up the environment, don't have any agenda files yet) and I used this example code from some tutorial: (setq org-todo-keywords ...
3
votes
1answer
30 views

Filter tasks on agenda file

I have specified two source Org files for Org-mode to search when creating an agenda. In the agenda view, how do I filter (view) tasks from only one of the files?
0
votes
0answers
20 views

org-agenda-write write unuseful stuff

for instance, when org-agenda-list display : Day-agenda (W09): mardi 26 février 2019 8:00...... ---------------- rendezvous: 10:00-11:00 gym CHU 10:00...... ---------------- 12:00...... ...
0
votes
0answers
27 views

Retrieve all entries with active or inactive timestamp

I wonder if there is a way to find all entries in active / inactive timestamp state (without DEADLINE or SCHEDULED). It seems I have had such entries unacted upon in the past, and the only way I have ...
2
votes
1answer
28 views

Implementing (org-agenda) sort comparison function in terms of presence of list items

I want to implement an org-agenda-cmp-user-defined for use with org-agenda-sorting-strategy and user-defined-up / user-defined-down. In order to do that, I have two lists of tags I need to compare, ...
0
votes
0answers
22 views

How can I show an agenda view with different tags for different days?

I'd like to have an agenda view that showed different tags in different days (eg. :work: Mon-Fri and :fun: on Saturday and Sunday). For scheduled headers in the future (that potentially can show for ...
0
votes
0answers
41 views

Format strings for org-agenda-prefix-format

I want to customize org-agenda-prefix-format but am unable to find something in the reference explaining the syntax and the format strings I can use. The manual simply states: You can also ...
0
votes
1answer
36 views

Save excursion in an Org Agenda buffer?

I have a function that executes save-excursion from within an Org Agenda buffer, but it doesn't return the point to the agenda buffer once the body of the excursion finishes executing. Here is the ...
0
votes
0answers
20 views

Interactive 'TAGS/PROP/TODO' query limited to particular level of tree?

I want to do a search where I interactively specify a tag (ideally with counsel-org-tag-style tag completion) and get an agenda buffer listing matching items at a particular level of the hierarchy (...
0
votes
0answers
41 views

Mark vacation days

I'm looking for a way to mark vacation days in my agenda view. This would probably be triggered best by category (so when a header is marked as a vacation). I found this post which is getting quite ...
3
votes
2answers
145 views

Org agenda - show items that are in any of a list of categories

I have an org-mode file separated into multiple categories. I know I can create an agenda command that will show only items from one given category, like so: ("a" "Category A items" agenda "" ((...
0
votes
0answers
76 views

How do I sync org-mode with Google Calendar?

When setting up org-gcal within spacemacs I am getting an error. I have setup my google api and have put my client id and secret key into spacemacs but when attempting to sync the calender I merely ...
0
votes
1answer
28 views

Orgmode custom agenda view - remove unecessary info and align tags

I can't seem to find a way to get the "default" (t) agenda view so I can edit it an comment out stuff. Basically what I have now is: Global list of TODO items of type: ALL Available with `N r': (0)[...
5
votes
1answer
113 views

custom agenda view in org mode grouping per month

Using org mode agenda I've been able to customize a view to have all tasks no matter if finished or not this way: (setq org-agenda-custom-commands '(("w" "Whole Agenda no matter status" ...
1
vote
0answers
41 views

Is there any way to add a line or vertical sparation before the next date in org-agenda-view

I would like to add a line to separate the current block of tasks from the next date, so the last task of the date is not just above the next date. I know I can use :box with set-face-attribute 'org-...
3
votes
1answer
41 views

Sort org-agenda items by category

When using the agenda in org-mode to show my daily tasks, there's a bunch of tasks scheduled for that day (or with past deadlines) that appear at the bottom. I'd like these tasks, and only these, to ...
1
vote
1answer
38 views

Time in Org heading is read as timestamp by Org agenda

Suppose I'd like to set a task for tomorrow for me to check if a cron job of mine ran at the proper time. So, I add to my org file: ** TODO check if cronjob has run at 5:00 SCHEDULED: <2018-12-03 ...
1
vote
0answers
39 views

Display done org-habit habits in a different face

I'm experimenting with org-habit and currently have org-habit-show-all-today set to t so I can see a habit even when I've done it for that day. I'm doing that because I want to get the little reward ...
0
votes
1answer
35 views

Org agenda - alias for file name in weekly view

Some of the org files I use have long filenames (at least longer than 11 characters ;)), this breaks the default weekly view: elastic-oncall is longer than the space for filename and therefore breaks ...
2
votes
1answer
55 views

Change keyword of Org item without triggering repeat

I have a BLOCKED keyword that I want to be able to temporarily set on repeating tasks in Org mode. However, if I set this up with (org-todo "BLOCKED"), this triggers a repeat. I don't want to trigger ...
1
vote
0answers
45 views

Listing the TODOs from the current file

I was wondering whether there is a command that allows to list the TODOs (in a similar way than C-c+a+t) but for the current buffer... a buffer which might not even be within the list of agenda files.
1
vote
1answer
94 views

Org agenda filter by property value

How can I create an agenda view that filters items based on the property FOO? TODO Test :PROPERTIES: :FOO: <2018-11-09 Fri 12:43> :END: I would use org-agenda-skip-entry-if for this but the ...
2
votes
0answers
44 views

Show deepest todo in sub-tree

Can I configure the org-todo-list to show only the most nested TODOs in a subtree? The reasoning is to always see what's the next step on a project, without cluttering with all the parent items For ...
2
votes
1answer
548 views

Outlook Calendar in org agenda

I would like to integrate the calendar from my outlook into my orgmode agenda. I am looking for a solution with the following features Should be implemented in elisp only, so that I can run this on ...
0
votes
1answer
58 views

agenda weekend and holidays red font face in org mode

I'm trying to show weekend days in agenda org-mode in red font-face Followed this instructions to no avail https://julien.danjou.info/org-mode-and-holidays/ Testing the link above the mentioned ...
1
vote
1answer
28 views

Make org-habit work with org-scheduled-past-days?

org-habit habits are TODO items SCHEDULED for some particular time/date. If that date happens to be outside of the range of org-scheduled-past-days, the habit is not displayed in the agenda view for ...
0
votes
1answer
83 views

Why do my org DEADLINEs appear with no warning?

I have org-deadline-warning-days set to 14. Here is a deadline in my agenda file: ** TODO Do thing DEADLINE: <2018-11-20 Wed> In the agenda view for that date (20th Nov), I see: next: ...
2
votes
1answer
49 views

GTD inactive projects next review dates

I have a long list of inactive projects in my org agenda file. I want to give each inactive project a date for next review, so I can spend less time on them, on average, in my weekly review. I don't ...
0
votes
1answer
32 views

Avoid having a repeating task clutter the top of the agenda

Here is what I have: My event is being repeated every week, however if I don't update the "original" date (2018-10-08) manually the event will stay on top of the agenda (12 d. ago: EVENT weekly event)...
1
vote
0answers
15 views

Copy agenda item

Running emacs 25.2.2, spacemacs 0.200.13. In an agenda view, org-agenda-refile will let me refile the item to a different location. How do I copy the item to a different location?
1
vote
0answers
48 views

Strategy for using Emacs as an event log?

I'd like to be able to use Emacs to track various events in my day-to-day life, such as paying a bill, going to an appointment, replacing oil, etc. The goal would be to be able to view this event in ...
2
votes
1answer
50 views

View todays calls in org mode's agenda

I am using a tag :Anrufe: in my org files to mark calls I have to make. Some are regular calls (each Tuesday for example) and others have a specific date. I have created an org-agenda-custom-commands ...
1
vote
1answer
72 views

UK holidays definitions?

Is there a set of holidays.el definitions for United Kingdom holidays? I don't want to maintain the list of holidays myself. I would like to use them in org-agenda, but that's not the focus of the ...
1
vote
0answers
51 views

Adding Headers to org-todo-list

Is it possible to set up org-todo-list to group TODOs under headers as they are in my org-mode file? Example org file structure: * Project Name A ** TODOs *** TODO item 1 *** TODO item 2 *** ...
0
votes
0answers
48 views

Complete from buffer's tags in org-agenda's org-tags-view (“Match a TAGS/PROP/TODO query”)

org-agenda's tag matching command, org-tags-view shows an agenda of TODO items filtered by tag. It gives me an ivy completion list because I have ivy installed, which sets completing-read-function. ...
1
vote
1answer
56 views

How to cancel a task from agenda view?

Let's say that I am looking at my agenda view (C-c c a), where I usually mark items as DONE from there (by pressing 't' several times to run through all statuses). The thing is, the fist status is ...
2
votes
0answers
47 views

Calculate current-column including display properties

I am trying to calculate the width of text within either a buffer or a string after it has been displayed, i.e. after taking into account the width of any display properties, such as embedded images, ...
0
votes
2answers
96 views

How can I see multiple specific todo-states in a custom agenda view without abusing org-agenda-skip-function?

I am trying to build a 'cleanup' agenda view, with a section for all tasks which are done and a review section for tasks in the HOLD or WAITING states. HOLD and WAITING are states I've defined as ...
2
votes
1answer
51 views

What's the meaning of the org-mode agenda footer?

Can anyone explain what the first characters of the footer mean and what is the date in parenthesis? How is this part of emacs really called? I'd be happy to look this up myself but couldn't find it.
2
votes
1answer
98 views

How does sorting work within habits?

I think I have a reasonable handle on agenda custom sorting, but I can't figure out how habits sort themselves within that agendas. For a certain agenda view I sort as '(time-up habit-down todo-state-...
2
votes
1answer
155 views

How can I get a custom agenda habits only view with history chart?

I have included in my org-agenda-custom-commands the following: (setq org-agenda-custom-commands '( ... ("h" "Habits" tags-todo "STYLE=\"habit\"" ((org-agenda-overriding-header "Habits") ...