From 7b0046756dccabac0346e637515d4939a3de3da6 Mon Sep 17 00:00:00 2001
From: mms Table of Contents
@@ -222,8 +222,8 @@ Chotto is an initial tagging script for Notmuch
Chotto is written in Ruby and had a (quite) nice DSL for configuration.
Notmuch ecosystem already has a great script for initial tagging - afew. @@ -238,8 +238,8 @@ And because I love Ruby!
Chotto expects: @@ -273,8 +273,8 @@ If you use Windows, you have my sympathy.
Chotto expects the configuration file to be present in @@ -290,18 +290,19 @@ The user needs to add (at least) two blocks to the file: config & rule sets
Presently, the only option Config expects is the absolute path to the Notmuch database:
-
-Chotto.configure do
- config.databasepath = /home/<user>/mail
+
Chotto.configure do + config.database_path = =/home/<user>/mail= end - ++
Please, adjust the path to the valid location @@ -309,8 +310,8 @@ Please, adjust the path to the valid location
The actual magic happens in Rule Sets
which are sets of filters & tag modifications.
@@ -356,8 +357,8 @@ Lastly, we save! the message in the database.
We can quite easily filter messages based. Chotto accepts filters as:
@@ -413,7 +414,7 @@ You can test what is produced by calling #to_query_string
on messag