]> git.cworth.org Git - obsolete/notmuch-wiki/blobdiff - emacstips.mdwn
emacstips: add a comment to the notmuch-folder configuration
[obsolete/notmuch-wiki] / emacstips.mdwn
index b67b84654d865116099f34fb6a1c0cb461cebd01..7232d06e9a09a2db371a7cd38ed404dab547f3a5 100644 (file)
@@ -33,12 +33,12 @@ OK, messages are now in your maildir and they have the tags you want them to hav
 notmuch (the search view) and notmuch-folder are the 2 main views that can be used to navigate through your mail.
 The default notmuch "home" is a notmuch-search view with all all mail threads in which a message has been tagged as "inbox". Just navigate that page and read threads by hitting <RETURN> on one of them. This will open a notmuch thread view with all messages in this thread. Threads are a powerful construct in notmuch as a thread really represents a discussion around a single topic. In difference to other mail applications, you will often find very long threads in notmuch mail conversations, or people reviving very old threads with a reply.
 
-The second way of navigating notmuch mails, is by using the notmuch-folder view which you can invoke with `M-x notmuch-folder` (or using the F key if you applied the patch from mail id: 1265889583-25406-1-git-send-email-dme@dme.org (Feb 11st, 2010)). For information on how to customize your notmuch-folder views, see [here](#customize_notmuch_folder). This view provides you with "virtual folders" that allow you to browse all emails topic-by-topic. For example, if you want to browse all notmuch related mail every 10 minutes, but check out mails from your boss only once a day, this will be one convenient way to do it. It will also give you a nice overview of how many (unread) emails you have for each folder. Those folders are virtual in that a mail can easily be part of several folders at the same time and the folders will be upated on-the-fly every time you hit `=`.
+The second way of navigating notmuch mails, is by using the notmuch-folder view which you can invoke with `M-x notmuch-folder` (or using the F key if you applied the patch from mail id: 1265889583-25406-1-git-send-email-dme@dme.org (Feb 11st, 2010)). For information on how to customize your notmuch-folder views, see [here](#customize_notmuch_folder). This view provides you with "virtual folders" that allow you to browse all emails topic-by-topic. For example, if you want to browse all notmuch related mail every 10 minutes, but check out mails from your boss only once a day, this will be one convenient way to do it. It will also give you a nice overview of how many (unread) emails you have for each folder. Those folders are virtual in that a mail can easily be part of several folders at the same time and the folders will be updated on-the-fly every time you hit `=`.
 
 Last but not least, you can always search for a specific mail. Notmuch provides very powerful search possibilities which allows you to find mail threads easily without having to file them away into umpteenth mail folders as you might have been doing in your Thunderbird, Mail.app, or Outlook.
 
 ### search strategies
-__[TODO, describe s, f, t keys and some expemplary searches]__.
+__[TODO, describe s, f, t keys and some exemplary searches]__.
 __[TODO: describe common search strategies that notmuch users use]__
 
 ###Sending mail
@@ -88,6 +88,11 @@ As its name implies, notmuch isn't really doing that much (which is part of its
   Of course, you can have any number of folders, each configured
   with any supported search terms (see "notmuch help search-terms").
 
+  Personally, I find it fairly useful to add "not tag:delete" to those
+  views as I use that tag to mark messages as deleted and it
+  automatically removes them from my standard views. Use whatever
+  seems most useful to you.
+
 * Viewing HTML messages with an external viewer
 
   The emacs client can often display an HTML message inline, but it
@@ -153,7 +158,20 @@ As its name implies, notmuch isn't really doing that much (which is part of its
   for the domains you want to send out using specific SMTP servers and
   the rest will go to the default account.
 
-* <span id="sync_maildir_flags">how to sync notmuch tags and maildir flags]</span>
-
-  __[TODO: This is a wiki. write me!]__
-  [mention patches that exist to honor maildir tags and notmuchsync.]
\ No newline at end of file
+* <span id="sync_maildir_flags">how to sync notmuch tags and maildir
+  flags]</span>
+
+  There is no built-in support for sunchronizing your notmuch tags
+  with your imap maildir flags (seen, replied, trashed, etc). However
+  there are currently 2 ways in which you can achieve
+  synchronization. In order to sync new notmuch tags to maildir flags,
+  there is a python tool called
+  [notmuchsync](http://spaetz.github.com/notmuchsync/) that allows
+  synchronization in either direction or pruning of deleted files.  
+
+  The second solution allows for fast maildir flag to notmuch tag
+  synchronization (and only in that direction) requires patching the
+  notmuch source code. The patch has been posted in this mail
+  *id:1267450136-31749-1-git-send-email-Sebastian@SSpaeth.de* and can
+  be viewed as a [source diff in this git
+  repository](http://github.com/spaetz/notmuch-all-feature/commit/df3b087cefb85e9d16fd17540e348bcb854dd7ee).