]> git.cworth.org Git - obsolete/notmuch-to-html/blobdiff - notmuch-to-html
Add "notmuch search" to the advertised queries.
[obsolete/notmuch-to-html] / notmuch-to-html
index 41c7a751bf8ae1b0852ace918ae361d0bb3cfd87..663dd8733e0129163ff745b9aef1ac42d57f12cf 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 #
+# Generate an HTML page with the result of one or more notmuch
+# searches, (with links to gmane views of each email if available).
+#
 # Copyright (c) 2011-2012 David Bremner <david@tethera.net>
 #
 # dependencies
@@ -185,11 +188,11 @@ class HtmlPage (Page):
             stream.write(view['comment'])
             stream.write('\n')
         for line in [
-                'The view is generated from the following query:',
+                '<p>This view is generated from the following query:',
                 '</p>',
                 '<p>',
                 '  <code>',
-                view['query-string'],
+                'notmuch search ' + view['query-string'],
                 '  </code>',
                 '</p>',
                 ]: