Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

description of autotagging

Signed-off-by: Armin Wieser <armin.wieser@gmail.com>
  • Loading branch information...
commit 97e34cb22534daf266c2de0b88ce0c0e97dadf39 1 parent 7c51cfc
@awieser awieser authored
Showing with 29 additions and 3 deletions.
  1. +26 −1 docs/FAQs_and_Best_Practices.org
  2. +3 −2 memacs/lib/argparser.py
View
27 docs/FAQs_and_Best_Practices.org
@@ -1,4 +1,4 @@
-## Time-stamp: <2012-03-10 19:15:42 armin>
+## Time-stamp: <2012-04-16 23:14:33 armin>
## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/
* Best Practices
@@ -222,6 +222,31 @@ Then errors are automatically added to
If an error occurs it will be added to the error.org_archive with an repeating timestamp every day.
You have to delete the error manually.
+** Autotagging
+Autotagging allows to set for each entry other tagging Information.
+
+By now autotagging is only available for the <headline> of the entry.
+
+: *** <1900-00-00> <headline> :tags:
+: <additional data>
+: :PROPERTIES:
+: :END:
+
+*Example Autotag file:*
+: [autotag]
+: haha=foo, fooo bar, foobar
+: lala=bar, baaar
+
+*Example file without Autotag:*
+: ** <1970-01-01 Thu 00:00> foo
+: ** <1970-01-01 Thu 00:00> bar :tag1:tag2
+
+*Example file with Autotag:*
+: .../bin/memacs_example.py --autotag /tmp/autotags
+
+: ** <1970-01-01 Thu 00:00> foo :haha:
+: ** <1970-01-01 Thu 00:00> bar :tag1:tag2:lala:
+
** how works the *appendmode* of memacs? / How is the :ID: Property generated?
All properties (:PROPERTIES: drawer) are stored in a dict
: i.e.: :FOO: <bar>
View
5 memacs/lib/argparser.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Time-stamp: <2012-04-16 22:33:29 armin>
+# Time-stamp: <2012-04-16 23:04:44 armin>
from argparse import ArgumentParser
from argparse import RawDescriptionHelpFormatter
@@ -88,7 +88,8 @@ def __add_arguments(self):
self.add_argument("--autotagfile",
dest="autotagfile",
- help="file containing autotag information",
+ help="file containing autotag information, see " + \
+ "doc file FAQs_and_Best_Practices.org",
metavar="FILE")
# ---------------------
# Config parser
Please sign in to comment.
Something went wrong with that request. Please try again.