32

If org-agenda-start-on-weekday is set to an integer (by default it's set to 1, corresponding to Monday), and org-agenda-span is set to either 'week or 7, org will always start the agenda on the day specified by org-agenda-start-on-weekday. So to always start yesterday, you must set org-agenda-start-day to "-1d" and do one of the following: Set org-agenda-...


26

In order for org-mode to show events scheduled or with a deadline in the agenda-view, the org-file containing these events must be listed in the variable org-agenda-files. While one can customize this variable, the more practical way is to invoke the function org-agenda-file-to-front, which is commonly bound to C-c [. For further details see the org-mode ...


23

I think you might consider this to be a partial solution to your question. If you include :step day in your clocktable line then you'll get several clock tables emitted -- one per day for the current week in your example. While this answers the first part of your question of showing what tasks were worked on per day, you'll still see those tasks under a ...


20

You can use the function file-expand-wildcards to get all the files matching the wildcard add them to org-agenda-files variable. Something like the following (setq org-agenda-files (append '("~/doc/notes" "~/.emacs.d") (file-expand-wildcards "~/prj/*/doc")))


17

This can be accomplished using org-agenda-sticky. See the Org-Manual - Agenda Dispatcher for details. * :: Toggle sticky agenda views. By default, Org maintains only a single agenda buffer and rebuilds it each time you change the view, to make sure everything is always up to date. If you switch between views often and the build time bothers you, ...


15

There is a chapter on the weekly/daily agenda in the org-mode manual that tells you how to do this (modified for brevity; emphasis mine): If you are using the diary only for sexp entries and holidays, it is faster to not use (setq org-agenda-include-diary t), but instead to copy or even move the entries into an Org file. Org mode evaluates diary-style ...


15

You can use < from the agenda menu to restrict the current agenda call to the buffer that the agenda was invoked from. To restrict to that file for more than one call, you can use C-c C-x < (org-agenda-set-restriction-lock). See (info "(org) Agenda files") for more information.


15

That would be calendar-week-start-day This should do the trick of setting it to monday: (setq calendar-week-start-day 1)


14

This will create a column in your clocktable report that sums the hours from columns 3 and 4, and then another column that shows you the round number of pomodoros that took up. (setq org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2 :formula "$5=$3+$4;t::$6=ceil($5*60/25);N")) If you don't want in-between columns, here's a totally ...


14

I solved this myself using excorporate. To activate and integrate excorporate I used the following configuration in my .spacemacs (since I am using spacemacs) I added excorporate to dotspacemacs-additional-packages and added the following to the user-config section of .spacemacs ;; configure excorporate ;; allow opening the exchange calendar with 'e' ...


12

You want org-agenda-exit, conveniently bound to x by default in the agenda view Like `org-agenda-Quit', but kill any buffers that were created by the agenda. Org buffers visited directly by the user will not be touched. I found this using describe-mode.


12

You can create a custom agenda view which sets org-agenda-skip-function using org-agenda-skip-entry-if. Something like this: (setq org-agenda-custom-commands '(("c" . "My Custom Agendas") ("cu" "Unscheduled TODO" ((todo "" ((org-agenda-overriding-header "\nUnscheduled TODO") (org-agenda-skip-function '(...


12

The variable you want is org-agenda-hide-tags-regexp Regular expression used to filter away specific tags in agenda views. This means that these tags will be present, but not be shown in the agenda line. Secondary filtering will still work on the hidden tags. Nil means don’t hide any tags. A typical setting is (setq org-agenda-hide-tags-regexp "...


11

The "--1d" style delay (which only delays the first occurrence of a repeating event) is useful when you will be unable to complete a repeating task on the scheduled day (because you're out of town, for example) but don't want to reschedule the other occurrences. If you are have * Do This SCHEDULED: <2015-01-01 +1m> to do something on the first ...


11

You can use org-show-todo-tree to get a sparse tree view of the current buffer's TODO items. It's bound to C-c / t by default.


11

The custom function diary-list-day-of-month (set forth below) can be used to create a repeating org-mode task or to create a diary entry that will appear on the *Calendar* and/or in the *Org Agenda* buffer (if org-agenda-include-diary is t). ;;; ORG-MODE: * My Task ;;; SCHEDULED: <%%(diary-last-day-of-month date)> ;;; DIARY: %%(diary-...


10

Try customizing org-agenda-prefix-format. This can be used to tweak how various kinds of items (including TODOs) are displayed in agenda views. In particular, you can use %l in the todo format to prefix the item with a number of spaces corresponding to its level in the hierarchy. Another option would be to use %b to include a 'breadcrumb' trail for each ...


10

You can achieve what you want by adding the COMMENT keyword to any subtree you don't want to see in the agenda: * TODO I will show up in the agenda * COMMENT TODO I won't show up in the agenda Use C-c ; (org-toggle-comment) from anywhere inside a subtree to add (or remove) the COMMENT keyword. Note that this works for more complex outlines as well, i....


10

See org-depend.el. It does exactly what you want. Rather than repeating the documentation here you can see docs and examples at http://orgmode.org/worg/org-contrib/org-depend.html


10

Clock tables support formatting options: #+BEGIN: clocktable :formatter my-org-clocktable-notodo #+END: Here's a function which removes TODO and DONE keywords from headlines before handing the data off to the default formatting function: (defun my-org-clocktable-notodo (ipos tables params) (cl-loop for tbl in tables for entries = (nth 2 tbl) ...


10

The default value for the variable org-agenda-repeating-timestamp-show-all is t -- i.e., "Non-nil means show all occurrences of a repeating stamp in the agenda." The variable can be set to "a list of strings" to "only show occurrences of repeating stamps for these TODO keywords." When the variable is set to nil, "only one occurrence is shown, either today ...


9

View the EntryText in Agenda view by pressing "v" then "E". You cannot interact with the checkboxes, but you can view them this way. Alternatively, "follow mode" (press "F" in Agenda view) might also help you get what you want. The checkboxes won't be in the Agenda, but you have easy access to them.


9

TL;DR: (setq org-agenda-show-future-repeats nil). You have to set org-agenda-show-future-repeats to nil. The previous option org-agenda-repeating-timestamp-show-all has been removed from Org mode in version 9.1, as the new pair of options—the previously named org-agenda-show-future-repeats and org-agenda-prefer-last-repeat—provide a more fine ...


9

By default org-agenda-log-mode shows only closed and clock items. To show done recurring tasks add state symbol to the org-agenda-log-mode-items variable, like so: (setq org-agenda-log-mode-items '(closed clock state)) You will now see done recurring tasks in your org-agenda by pressing l.


9

The category and file-name that displays in the agenda view can be controlled with the variable org-agenda-prefix-format. For more information about customizing this variable, type: M-x describe-variable RET org-agenda-prefix-format RET For example, I decided that I wanted a dot to precede each item and I commented out the more detailed option: (...


9

The year (as well as day, month, week etc.) can take a prefix argument specifying the period you want to view. To view a specific year (e.g. 2017) pass the year using C-u while in the agenda: C-u 2017 v y. This works by calling the function org-agenda-year-view: (org-agenda-year-view &optional YEAR) Switch to yearly view for agenda. With ...


8

Yes, that's possible: (setq org-agenda-custom-commands '(("O" tags-todo "OFFICE") ("B" tags-todo "ERRANDS") ("H" tags-todo "HOME") ("M" tags-todo "-OFFICE-ERRANDS-HOME"))) There's two things at work here: - negates a search term. For example, -OFFICE matches headlines that are not tagged with :OFFICE:. Search terms can ...


8

You could bind org-agenda-files dynamically to the current buffer's file and call org-todo-list from there: (defun org-todo-list-current-file (&optional arg) "Like `org-todo-list', but using only the current buffer's file." (interactive "P") (let ((org-agenda-files (list (buffer-file-name (current-buffer))))) (if (null (car org-agenda-files)) ...


8

You are quoting those lists, so they won't actually do anything. Try removing the leading "'"s like so: ;; This is for org-mode agenda view activation (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) ;; This is for key bindings to invoke agenda mode (see line-2) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (...


8

COMPATIBLE WITH ORG-MODE 9.0.3 The function org-agenda-skip-deadline-if-not-today is designed to be used in conjunction with the org-agenda-skip-function and an agenda entry in the org-agenda-custom-commands that contains proposed entries such as: (add-to-list 'org-agenda-custom-commands '("b" agenda "Today's Deadlines" ((org-...


Only top voted, non community-wiki answers of a minimum length are eligible