<title>Org-mode Study Notes</title> Org-mode Study notes Table of Contents
- 1. Insert various blocks, structure
- 1.1. Typesetting source code
- 2. Various shortcut keys, to operate the directory
- 2.1. Move between Outlines
- 2.2. Outline-based editing
- 2.3. Non-outline-based editing #
- 3. Internal links
- 3.1. Footnotes
- 3.2. TODO
[0%]
Manual Write
- 4. The strongest Task Manager
- 4.1. Defining tasks and sub-tasks
- 4.2. CANCELED Defining task status
- 4.3. Set task priority
- 4.4. Track sub-task completion
- 4.5. Mark a sub-task of a non-heading type with a check box
- 4.6. TODO Query Task
- 4.7. Time Plan for tasks
- 4.7.1. Time stamp
- 4.7.2. Time/Date Period
- 4.7.3. Planned time and cut-off time
- 4.8. List of global task files
- 4.9. Global TODO List
- 4.10. Schedule
- 4.11. Summary
1Insert various blocks, structure1.1Typesetting source
- Shortcut
<s "src--
- Parameters
-
N | -
T | -
H | -
W |
Show line Numbers |
Clear Formatting |
Set height |
Set width |
For example:
#+begin_src C-nint Main (void) { printf ("hello,world\n"); return 0;} #+end_src
2Various shortcut keys to manipulate the directory2.1Move between outlines
shortcut Keys |
Description |
C-c c-n/p |
Next/Previous title |
C-c c-f/b |
Next/previous title (sibling headings only) |
C-c C-u |
Skip to top level title |
C-c C-j |
Jump to outline Browse status |
2.2Outline-based editing
shortcut Keys |
Description |
M-ret |
Insert a sibling title |
M-s-ret |
Insert a sibling TODO title |
M-left/right |
Raise/Demote the current title |
M-s-left/right |
The sub-tree lifting level |
C-C * |
Set the bank as title/body |
2.3Non-outline-based editing #
- M-s-ret add a subkey with []
- C-c c-c Change state, x indicates complete, empty indicates not completed
3Internal links
- Defining Anchor Points #
- Internally linked to 1
3.1Footnote
Kind of internal link "fn:" prefix specific commands can be seen in footnote 1
3.2 TODO
[0%]
Manual Write
- First
[-]
[X]
[-]
[1/2]
4The strongest Task Manager4.1Defining tasks and sub-tasks
Shortcut keys:
C-c C-t | | S-left/right
4.2 CANCELEDDefine task status
- "CANCELED" from "BUG" [2015-07-24 Friday 10:10]
Because I used @, I'm going to add a log here.
- State "Bugs" from "CANCELED" [2015-07-24 Friday 10:04]
- State "TODO" from "FIXED" [2015-07-24 Friday 10:03]
To customize task status, you can use the document metadata #+seqtodo, which can be defined anywhere in the document, but is recommended in the header such as:
- #+seqtodo:peport (R) BUG (b) knowncause (k) | FIXED (f)
- #+seqtodo:todo (t!) | Done ([email protected]) 3 CANCELED ([email protected]/!)
Put the cursor on these contents, input c-c c-c can be directly effective, and then use C-c c-t, will generate a buffer to analyze this section of the summary:
- Multiple sets of state sequences can be defined, each #+seqtodo row defines a set of
- Separated by a space between states
- Additional options can be defined in (), including:
- Characters: Shortcut keys for this state
- ! : Time stamp is added automatically when switching to this state
- @: Require text description when switching to this state
- If you set both @ and!, use @/!
- with | Separates the incomplete state from the completed state. Incomplete status is listed when you query to-dos
This applies only to the current document. All. org documents are added by default in. Emacs:
(setq org-todo-keywords ' ((Sequence "report (R)" "BUG (b)" "Knowncause (k)" "|" "FIXED (f)") (sequence "TODO (t!)") "|" "Done ([email protected]) 3" "CANCELED ([email protected]/!)]) )
In addition to the status sequence, you can define a type to mark the classification of a task.
4.3Set task priority
There are a,b,c three priority levels, which can be prioritized when scheduling. The priority for the task is: S-up/down.
4.4Track Child task completion
It can be inserted anywhere in the parent task header [%]
or, when the status of a [/]
subtask changes, the value of the task is automatically updated.
4.5Mark Sub-tasks of non-heading types with check boxes
The above has been introduced: click to jump
4.6 TODOQuery task
- State "TODO" from "" [2015-07-24 Friday 10:48]
4.7Time schedule for tasks
You can set the schedule time (scheduled) and the cutoff time (DEADLINE) to highlight all Todo and Todo with specific keywords, respectively.
4.7.1Time stamp
Format of Timestamp:
- <2005-10-01 tue>
- <2003-09-16 Tuesday 09:30>
- <2003-09-16 Tuesday 09:30>–<2003-09-16 Tuesday 12:30>
Timestamps are divided into two types:
- Points of time, such as:<2015-07-24 Friday >
- Repeated occurrences of multiple points of time: Point-in-time + interval (d,w,m,y), such as:
<2015-07-24 Friday 12:30pm +1w>
The expression starts at this point in time and repeats once a week. The timestamp can be placed in the title or any part of the body. You can enter it manually, you can use the shortcut key:
C-c.
4.7.2Time/Date Period
Two timestamps with two '-' links together is a time period continuous use of c-c. You can create time periods c-c c-y calculate the interval <2015-07-24 Friday 12:00>–<2015-07-24 Friday 12:30>
4.7.3Planned time and cut-off time
Set schedule Time (scheduled)-The scheduled time of the task to which the cursor is located. Shortcut key:
C-c c-s
Cut-off time, shortcut keys:
C-c c-d
Show time: Test Result: only the task shown in the title is valid aaaa ah – italic only works in English
4.8List of global task files
You can support the management of multiple. org files. Let org-mode know which files need to be considered as part of a global task, as configured in. Emacs:
(setq org-agenda-files (list "~/.totos/work.org" " ~/.todos/projects.org" " ~/documents/todo/" ))
You can include files and directories. Commands can add files to/remove lists at any time:
c-c [ && C-c]
4.9Global TODO List
List incomplete tasks in the global, shortcut keys:
C-c a T
Use the T key to change the status of the task; Press Tet to jump to the source file where the entry is located. c-c A shortcut is undefined, add the following configuration:
(Global-set-key "\c-c1" ' Org-store-link) (Global-set-key "\C-CC" ' Org-capture) (Global-set-key "\c-ca" ' Org-agenda) (Global-set-key "\C-CB" ' Org-iswitchb)
4.10Schedule
Timeline view:
C-c a A
4.11Summary
- Time Management (GTD)
- Project Planning and Management
- Notes
Footnotes:1
C-c C-x F
Date: <2015-07-24 Friday >
Author: Liu Zhenning
created:2016-05-04 Wednesday 16:35
Emacs 24.5.1 (ORG mode 8.2.10)
Validate
Org-mode Study Notes