an org mode day

January 12, 2021

about title

  • spend a lot of time learn org mode advanced techniques. tired but feel gain something.

feeling

  • when I play skull girls, I spend a lot of time just press without thinking, even without intention. It comes out that I have little progress in game.
  • But after a long time, I wake up (or something like this) and I practice with intention and patience. Then I feel growth in power.
  • It means that A LOT OF TIME is needed to get into a normal study state
  • I should continue to keep the habit of study and thinking so that I can escape chaos status quickly
  • another thing. it happens today, I feel not happy no matter what reason. After a time of playing game with that bad mood, I recovered.
  • So maybe it means stay with bad mood, it will go away after sometime. But don’t do something addictive.

spacemacs command

  • org-store-link: space a o l
  • org-insert-link: space a o i l | , i l

org mode task status

  • in emacs, the built-in task status are TODO and DONE. If want more, can define them by self.
  • example
#+SEQ_TODO: REPORT(r) BUG(b) KNOWNCAUSE(k) | FIXED(f)
#+SEQ_TODO: TODO(T!) | DONE(D@)3 CANCELED(C@/!)
  • each SEQ_TODO defines one status sequence
  • from official document, SEQ_TODO can by replaced by TODO.
  • can define multiple status sequence
  • status is seprated by space
  • can add more functions in side ()
  • char, will represents as shortcuts
  • !, insert timestamp when shift to this status
  • @, require input information when switched to this status
  • @/!, means both
  • | is used to seprate unfinished status from finished status
  • org-todo-keywords is a configurable variable to set to make global effect
  • from link: https://www.cnblogs.com/holbrook/archive/2012/04/14/2447754.html#sec-2

org mode LOGBOOK

  • when taking a lot of notes, you might want to get the notes out of the way into a drawer. Customize the variable org-log-into-drawer to get this behavior – the recommended drawer is called LOGBOOK. You can also overrule the settings of this variable for a subtree by setting a LOG_INTO_DRAWER property.

  • from link: https://orgmode.org/manual/Tracking-TODO-state-changes.html

netcat send files never ends

the workflow of org mode

  • open any buffer or just a scatch buffer
  • start to collect things and make plan
  • they all be captured into INBOX
  • when all things are captured, browse INBOX and refile the real task into PLAYGROUND
  • in PLAYGROUND, give todo items more detail, such as schedule time, small task, information related and so on
  • Then, open DAILY-PLAN, and fill in the daily-plan template with tasks in PLAYGROUND
  • Finally, according to DAILY-PLAN, finish them one by one. (Meanwhile, fill in more details and record time)

save evil macro

  • example: paper-title-to-todo:
(fset 'paper-title-to-todo (kmacro-lambda-form [?j ?y ?y ?, ?c ?r ?p ?p ?i backspace backspace backspace backspace backspace escape ?, ?,] 0 "%d"))

org clock table time range

  • The time block to consider. This block is specified either absolutely, or relative to the current time and may be any of these formats:
‘2007-12-31’	New year eve 2007
‘2007-12’	December 2007
‘2007-W50’	ISO-week 50 in 2007
‘2007-Q2’	2nd quarter in 2007
‘2007’	the year 2007
‘today’, ‘yesterday’, ‘today-N’	a relative day
‘thisweek’, ‘lastweek’, ‘thisweek-N’	a relative week
‘thismonth’, ‘lastmonth’, ‘thismonth-N’	a relative month
‘thisyear’, ‘lastyear’, ‘thisyear-N’	a relative year
‘untilnow’78	all clocked time ever