Next: , Previous: Remember templates, Up: Remember


9.3 Storing notes

When you are finished preparing a note with remember, you have to press C-c C-c to file the note away. If you have started the clock in the remember buffer, you will first be asked if you want to clock out now1. If you answer n, the clock will continue to run after the note was filed away.

The handler will then store the note in the file and under the headline specified in the template, or it will use the default file and headlines. The window configuration will be restored, sending you back to the working context before the call to remember. To re-use the location found during the last call to remember, exit the remember buffer with C-u C-u C-c C-c, i.e. specify a double prefix argument to C-c C-c.

If you want to store the note directly to a different place, use C-u C-c C-c instead to exit remember2. The handler will then first prompt for a target file - if you press <RET>, the value specified for the template is used. Then the command offers the headings tree of the selected file, with the cursor position at the default headline (if you had specified one in the template). You can either immediately press <RET> to get the note placed there. Or you can use the following keys to find a different location:

     <TAB>         Cycle visibility.
     <down> / <up>   Next/previous visible headline.
     n / p        Next/previous visible headline.
     f / b        Next/previous headline same level.
     u            One level up.
     

Pressing <RET> or <left> or <right> then leads to the following result.

Cursor position Key Note gets inserted
on headline <RET> as sublevel of the heading at cursor, first or last
depending on org-reverse-note-order.
<left>/<right> as same level, before/after current heading
buffer-start <RET> as level 2 heading at end of file or level 1 at beginning
depending on org-reverse-note-order.
not on headline <RET> at cursor position, level taken from context.

Before inserting the text into a tree, the function ensures that the text has a headline, i.e. a first line that starts with a `*'. If not, a headline is constructed from the current date and some additional data. If you have indented the text of the note below the headline, the indentation will be adapted if inserting the note into the tree requires demotion from level 1.


Footnotes

[1] To avoid this query, configure the variable org-remember-clock-out-on-exit.

[2] Configure the variable org-remember-store-without-prompt to make this behavior the default.