unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes
@ 2016-06-02 16:01 Daniel Kahn Gillmor
  2016-06-02 16:01 ` [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC Daniel Kahn Gillmor
  2016-06-07 11:03 ` [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes David Bremner
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2016-06-02 16:01 UTC (permalink / raw)
  To: Notmuch Mail

sphinx-build emits a minor warning:

[...]doc/man7/notmuch-search-terms.rst:223: WARNING: Block quote ends without a blank line; unexpected unindent.

And the tabular representation of boolean or probabilistic prefixes
currently renders like this when i view it in man:

       ┌───────────────────────────┬────────────────────────────┐
       │Boolean                    │ Probabilistic              │
       └───────────────────────────┴────────────────────────────┘

       │          tag: id:         │           from: to:        │
       │                           │                            │
       │       thread:     folder: │        subject:    attach‐ │
       │       path:               │        ment: mimetype:     │
       └───────────────────────────┴────────────────────────────┘

This isn't just ugly: it's confusing, because it seems to imply that
some of the prefixes in the left-hand column are somehow related to
specific other prefixes in the right-hand column.

The Definition List representation introduced by this patch should be
simpler for readers to understand, and doesn't have the warning.
---
 doc/man7/notmuch-search-terms.rst | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst
index 223031b..d1c1bd9 100644
--- a/doc/man7/notmuch-search-terms.rst
+++ b/doc/man7/notmuch-search-terms.rst
@@ -215,16 +215,12 @@ Boolean and Probabilistic Prefixes
 Xapian (and hence notmuch) prefixes are either **boolean**, supporting
 exact matches like "tag:inbox"  or **probabilistic**, supporting a more flexible **term** based searching. The prefixes currently supported by notmuch are as follows.
 
-+------------------+-----------------------+
-|Boolean           |Probabilistic          |
-+------------------+-----------------------+
-| **tag:** **id:** | **from:** **to:**     |
-|**thread:**       |**subject:**           |
-|**folder:**       |**attachment:**        |
-|**path:**         |**mimetype:**          |
-|                  |                       |
-+------------------+-----------------------+
-
+    
+Boolean
+   **tag:**, **id:**, **thread:**, **folder:**, **path:**
+Probabilistic
+   **from:**, **to:**, **subject:**, **attachment:**, **mimetype:**
+     
 Terms and phrases
 -----------------
 
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC
  2016-06-02 16:01 [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes Daniel Kahn Gillmor
@ 2016-06-02 16:01 ` Daniel Kahn Gillmor
  2016-06-05 11:40   ` David Bremner
  2016-06-07 11:03 ` [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes David Bremner
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Kahn Gillmor @ 2016-06-02 16:01 UTC (permalink / raw)
  To: Notmuch Mail

Without this patch, i'm seeing sphinx-build emit:

 [...]doc/man1/notmuch-emacs-mua.rst:: WARNING: document isn't included in any toctree
---
 doc/index.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/index.rst b/doc/index.rst
index 3f0e6e6..344606d 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -14,6 +14,7 @@ Contents:
    man1/notmuch-count
    man1/notmuch-dump
    notmuch-emacs
+   man1/notmuch-emacs-mua
    man5/notmuch-hooks
    man1/notmuch-insert
    man1/notmuch-new
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC
  2016-06-02 16:01 ` [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC Daniel Kahn Gillmor
@ 2016-06-05 11:40   ` David Bremner
  0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2016-06-05 11:40 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> Without this patch, i'm seeing sphinx-build emit:
>
>  [...]doc/man1/notmuch-emacs-mua.rst:: WARNING: document isn't included in any toctree

Pushed. Hopefully Tomi and Jani feel that notmuch-emacs-mua is ready for
public consumption.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes
  2016-06-02 16:01 [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes Daniel Kahn Gillmor
  2016-06-02 16:01 ` [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC Daniel Kahn Gillmor
@ 2016-06-07 11:03 ` David Bremner
  1 sibling, 0 replies; 4+ messages in thread
From: David Bremner @ 2016-06-07 11:03 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, Notmuch Mail

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> sphinx-build emits a minor warning:
>
> [...]doc/man7/notmuch-search-terms.rst:223: WARNING: Block quote ends without a blank line; unexpected unindent.
>

pushed, with some spurious whitespace amended away.

d

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-07 11:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02 16:01 [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes Daniel Kahn Gillmor
2016-06-02 16:01 ` [PATCH 2/2] doc: include nomtuch-emacs-mua in documentation ToC Daniel Kahn Gillmor
2016-06-05 11:40   ` David Bremner
2016-06-07 11:03 ` [PATCH 1/2] doc: clean up boolean vs. probabilistic prefixes David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).