Thought DB

Overview

The general idea is to create a database where

can be stored very easily as list of items. The items should then be easily searchable.

Architecure

Syntax

Search

think>? task lounge          # tab does autocompletions first on tags then on words
think>? task lounge open     # tags may have priority order; entered first are most important
think>?                      # get the latest tags in chronological order

1. task, lounge, open 111
2. task, lounge 110
3. task, open 101
...
7. open 001

01: task lounge         http://www.lounge
02:
03:

Show

think>5                       # Show first element 5
think><PgDn/PgUp>             # Show next search results
think> <Dn/Up>                # Show current item or first item in search result 

Edit

think>e                       # Edit current or latest added element
think>d                       # Delete current or latest added element
think>d!                      # Delete (forced) current or latest added element

Add

think>http://www.lounge.se - The best wiki ever #link #wiki
think>link wiki:http://www.lounge.se - The best wiki ever
think>link wiki
http://www.lounge.se - The best wiki ever
think>thinkdb analysis<shift/ctrl/alt-return>
<text>
<text>
<return>

Markup

“- “ – task that can be completed
#<tag>
http://, ftp:// etc – links
!http://!  – inline links
*emphasis*
-overstrike-
“ * “ bullet
“ # “ enumeration
Blank line – paragraph break
Basic HTML

Why cancel?

This unstructured type of data is not long lived and in this case a normal wiki and text document serves the same purpose. Also see emacs orgmode.

References