Stack Exchange Network

Stack Exchange network consists of 174 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

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

1
vote
1answer
24 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
28 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 ...
1
vote
1answer
58 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
27 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
15 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
24 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
27 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
25 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
12 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?
0
votes
0answers
17 views

Error in org-after-todo-state-change-hook when called from org-agenda buffer

I am using the following function (found at How to rebuild agenda buffers when saving an org-mode buffer?) in order to refresh an open org-agenda buffer (defun redo-all-agenda-buffers () (...
1
vote
0answers
36 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 ...
0
votes
0answers
17 views

Org Agenda Limit to Current File with file variables?

This is related to the answer here. Is it possible to automagically limit the org agenda to the current file with either a file variable or some babel call? My attempt at a file local variable: # ...
2
votes
1answer
40 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
50 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
35 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
31 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
46 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
38 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
37 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 ...
0
votes
1answer
41 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
75 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
76 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") ...
1
vote
1answer
30 views

Org Mode Agenda: Trees whose sub-trees don't contain a specific tag

I want to make an org-agenda-custom-command that searches for all top-level trees that don't have a sub-tree with a "NEXT" tag. I'm trying to set up a search that I can do at the beginning of the week ...
0
votes
0answers
46 views

Define keybindings for org-agenda starting with SPC

Using emacs 25.2.2, general, evil and evil-collection from MELPA. I have the following in my init.el: (general-unbind 'org-agenda-mode-map "SPC") (general-create-definer my-leader :prefix "SPC")...
0
votes
1answer
34 views

Unable to initialize org agenda with log on Emacs startup

I have been able to initialize org agenda on Emacs startup with: (add-hook 'emacs-startup-hook 'org-agenda-list) However, now I want to initialize org agenda directly with log mode, and I haven't ...
-1
votes
0answers
22 views

How to scatter orderly (not randomly) across N days?

Question: How to scatter orderly (not randomly) across N days? Suppose I have 20 TODO items (e.g., watch video lecture m of N). When I want to schedule the items, I care that they are scheduled in ...
1
vote
1answer
30 views

Keybinding to go to an agenda custom view

Running emacs 25.2.2 and org 9.1.13. I have defined several custom views. I can visit them using C-c a followed by the assigned letter. I was wondering if I could cut the dispatcher all together. I ...
2
votes
1answer
32 views

Entering a finite seminar in org mode

This * Charles's seminar <2018-08-21 Tue 10:00-12:00+1w> is a seminar repeated every week. But it doesn't go on forever. How do I set an end date?
4
votes
1answer
49 views

org-mode: Scheduling item that lasts longer than one day

Is it possible to place a list-item scheduled for a period lasting longer than one day? The item should then be displayed in this when I hit C-c a a for agenda-view. My pathetic workaround consists ...
1
vote
0answers
12 views

org-mode: Duplicate tag groups when filtering agenda

When filtering org-agenda by tags using org-agenda-filter-by-tag, tag groups specified in org-tag-alist show up multiple times. org-agenda-filter-by-tag uses the variable org-tag-alist-for-agenda, ...
0
votes
1answer
32 views

orgDefine a keyboard binding that works only in org-agenda when under evil

Using emacs 25.2.2 on Kubuntu 18.04 with evil and evil-org. Here is a very basic question that I could not get a clear answer for, despite googling. I want to define a keyboard binding that works ...
0
votes
1answer
66 views

org agenda date prompt mini calendar start week on monday

When I schedule an item in org agenda, I get the calendar prompt with a mini-calendar of three month blocks. The first column is set to 'sunday'. I would like to set the first column to 'monday' as ...
0
votes
1answer
37 views

Automatically set property value from agenda view

I'm trying to create a function that will set a tag and a property with current timestamp to an header entry selected in agenda. This is what I came up with so far, it adds the tag but it does not ...
0
votes
0answers
90 views

subdirectories in org-directory for org-agenda-files

Somehow this works fine: (setq org-agenda-files '("file1.org" "file2.org" "subdir/file4.org")) and this doesn't: (setq org-agenda-files '("file1.org" "file2.org" "subdir/file3.org" "subdir/file4....
0
votes
1answer
35 views

Search for tasks without any active timestamp

Running spacemacs 0.200.13 on emacs 25.2.2 on Kubuntu 18.04. Just as the title suggests, I want to search for all agenda items without an active timestamp --- either plain active timestamp or a ...
0
votes
0answers
22 views

Mobile-org shows old files

I am experiencing a problem with org-mobile and I suspect that the problem might lie somewhere in the context of org-mobile-push. On my phone, I am seeing old versions of my files. In particular it ...
0
votes
0answers
40 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
0answers
117 views

Count number of visible tasks in org agenda

I want to programmatically count the number of tasks that are visible in my current org-agenda. Specifically I want to know if there are zero. Importantly, I do not want to count tasks which are ...
1
vote
1answer
62 views

Rename tags in org agenda files

As the title suggests, I want to rename several tags only in agenda files. So, a tag1 will become tag11, taga1 will become someothertag, etc. I can do it with C-a m tag1 * B + tag11 RET C-a m tag1 * ...
0
votes
1answer
73 views

Make agenda view only show DONE & CANCEL items

How can I filter the agenda view of org-mode for a custom sequence of TODO keywords? Example: Only show agenda items with one of the TODO-keywords DONE or CANCEL.
2
votes
1answer
90 views

Org agenda remove todo in bulk

In org agenda mode, select several items, mark them with m, then set the todo status B t to none. Normally I can remove TODO status with t SPC but B t SPC isn't permitted.
0
votes
0answers
36 views

Cannot Display Empty Priority In Custom Agenda View After 9.1 Upgrade

I like using org agenda column view to view my important TODO items. To make that happen I use the following code: (setq org-agenda-overriding-columns-format "%TODO %4PRIORITY(Pri.) %50ITEM(...
2
votes
1answer
36 views

How do I “escape” a time in a todo entry so that it doesn't show up on the time grid?

I have some to-do entries that have a "time-like" string (i.e something like 7:00) as part of the entry text. The problem is that org-mode is interpreting that substring as a time, and is treating ...
0
votes
0answers
22 views

Graphing the org-agenda clock information

I have been using org-mode and the agenda, clocking in/out of stand-ups for over one year: Meetings ** TODO Standup SCHEDULED: <2018-04-17 Tue .+1d> CLOCK: [2018-04-18 Wed 09:20]--[2018-04-18 ...
2
votes
1answer
167 views

Is it possible to display DONE keywords in org-todo-list?

The documentation for org-todo-list states: Show all (not done) TODO entries from all agenda file in a single list. By default, the function shows ALL items with a TODO keyword. Is it possible to ...
1
vote
1answer
74 views

Org-mode deadline: Repeat certain number of times

I'm looking for a way to specify a deadline in org-mode that repeats at certain intervals but only a specified number of times. For instance, if I want to have a deadline repeat twice one week apart, ...
1
vote
0answers
34 views

Get repeating value for org entry

I want to use the repeat-duration of tasks in the org-agenda-cmp-user-defined value of my custom agenda view. For example, let's say I have the following task. * TODO Reticulate Splines SCHEDULED: &...
1
vote
1answer
33 views

How to avoid make <enter> in org-agenda view limited to current buffer to open a new view on buffer?

I started using org-agenda-view limited to current buffer to get a kinda of a outline of the current file (using < Buffer, subtree/region restriction) Works great in that it splits the window in 2 ...
0
votes
1answer
42 views

Org todo list: Filter regexp

When I press C-c a M and search for a certain tag, I get a todo list of all open tasks for this specific tag. Is it now possible to do a regular expression search similar to the sparse-tree regular ...
0
votes
0answers
29 views

Specify width of org-agenda export

Question: Is there a setting in org-agenda that I can force tags to always be right-aligned after export? Background: I usually run Emacs at full- or half-screen. When I manually export my org-...