From be687f8722b9fe2b27ccae910d3906a151f0fffd Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 12 Apr 2011 22:43:21 +0300 Subject: [PATCH] * update mu-find man page with the new information about Wanderlust integration --- man/mu-find.1 | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/man/mu-find.1 b/man/mu-find.1 index 2f00910b..7f252269 100644 --- a/man/mu-find.1 +++ b/man/mu-find.1 @@ -431,8 +431,43 @@ macro index "~/Maildir/search" \\ \fBWanderlust\fR -If you use the Wanderlust e-mail client for \fBemacs\fR, the following -definitions can be used; typing 'Q' will start a query. +\fBSam B\fR suggested the following on the \fBmu\fR-mailing list. First add +the following to your Wanderlust configuraiton file: + +.nf +(require 'elmo-search) +(elmo-search-register-engine + 'mu 'local-file + :prog "/usr/local/bin/mu" ;; or wherever you've installed it + :args '("find" pattern "--fields" "l") :charset 'utf-8) + +(setq elmo-search-default-engine 'mu) +;; for when you type "g" in folder or summary. +(setq wl-default-spec "[") +.fi + +Now, you can search using the \fBg\fR key binding; you can also create +permanent virtual folders when the messages matching some expression by adding +something like the following to your \fIfolders\fR file. + +.nf +VFolders { + [date:today..now]!mu "Today" + + [size:1m..100m]!mu "Big" + + [flag:unread]!mu "Unread" +} +.fi + +After restarting Wanderlust, the virtual folders should appear. + + +\fBWanderlust (old)\fR + +Another way to intergrate \fBmu\fR and \fBwanderlust\fR is shown below; the +aforementioned method is recommended, but if that does not work for some +reason, the below can be an alternative. .nf (defvar mu-wl-mu-program "/usr/local/bin/mu")