10.7 Commands in the Agenda Buffer

Entries in the agenda buffer are linked back to the Org file or diary file where they originate. You are not allowed to edit the agenda buffer itself, but commands are provided to show and jump to the original entry location, and to edit the Org files “remotely” from the agenda buffer. This is just a selection of the many commands, explore the agenda menu and the manual for a complete list.

Motion

n

Next line (same as DOWN and C-n).

p

Previous line (same as UP and C-p).

View/Go to Org file

SPC

Display the original location of the item in another window. With a prefix argument, make sure that drawers stay folded.

TAB

Go to the original location of the item in another window.

RET

Go to the original location of the item and delete other windows.

Change display

o

Delete other windows.

v d or short d

Switch to day view.

v w or short w

Switch to week view.

f

Go forward in time to display the span following the current one. For example, if the display covers a week, switch to the following week.

b

Go backward in time to display earlier dates.

.

Go to today.

j

Prompt for a date and go there.

v l or v L or short l

Toggle Logbook mode. In Logbook mode, entries that were marked as done while logging was on (see the variable org-log-done) are shown in the agenda, as are entries that have been clocked on that day. When called with a C-u prefix argument, show all possible logbook entries, including state changes.

r
g

Recreate the agenda buffer, for example to reflect the changes after modification of the timestamps of items.

s

Save all Org buffers in the current Emacs session, and also the locations of IDs.

Remote editing

0--9

Digit argument.

t

Change the TODO state of the item, both in the agenda and in the original Org file.

C-k

Delete the current agenda item along with the entire subtree belonging to it in the original Org file.

C-c C-w

Refile the entry at point.

a

Archive the subtree corresponding to the entry at point using the default archiving command set in org-archive-default-command.

$

Archive the subtree corresponding to the current headline.

C-c C-s

Schedule this item. With a prefix argument, remove the scheduling timestamp

C-c C-d

Set a deadline for this item. With a prefix argument, remove the deadline.

S-RIGHT

Change the timestamp associated with the current line by one day into the future.

S-LEFT

Change the timestamp associated with the current line by one day into the past.

I

Start the clock on the current item.

O

Stop the previously started clock.

X

Cancel the currently running clock.

J

Jump to the running clock in another window.

Quit and exit

q

Quit agenda, remove the agenda buffer.

x

Exit agenda, remove the agenda buffer and all buffers loaded by Emacs for the compilation of the agenda.