From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23683 invoked by alias); 23 Jan 2017 03:37:39 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40396 Received: (qmail 7077 invoked from network); 23 Jan 2017 03:37:39 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.25):SA:0(-0.7/5.0):. Processed in 1.481445 secs); 23 Jan 2017 03:37:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=2i3 EUTetJ+mQMiYQkEBunPB71NU=; b=WXUrHY0fEkTCMwEU+4U60rY/Hod2tIUeqX/ dj4RU1etmbNIhwXRSU+BYXALzZPyB/IpjnIxu0BwqTx7Ot9twzo/UF993JgGaARB tc5EuBDlh1nzgdBNIUyZHKznKkauPBC7INSE80yDXoZtGmGycq62i7nb/VmpcSw/ WeSrvVHY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2i 3EUTetJ+mQMiYQkEBunPB71NU=; b=Xs5JsBNGtrRLyd+Z1w4bA0kAWS2EV1YRUp l1rb59d9HHWrC8LNygwrmTNEP0ArIADUZWmc4DDQvB+kF0XHw82Fkapz3KKlK8EE aobWRJmVUAyAxjDkm+4tx1bdCT8utidRSGNrHTFojVz+/ecJYbWHHDsr5pFdB/yA CveT0InYE= X-ME-Sender: X-Sasl-enc: TxuZ0viP6Yz1LSfIPIPaVNLMMvedNCWteZo4hc9+EMqv 1485142647 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: [PATCH] vcs_info quilt: More documentation of '%Q' and 'use-quilt'. Date: Mon, 23 Jan 2017 03:33:38 +0000 Message-Id: <1485142418-16595-1-git-send-email-danielsh@fujitsu.shahaf.local2> X-Mailer: git-send-email 2.1.4 --- '%Q' was missing from the reference documentation. 'use-quilt' was missing from the running prose. Adding it breaks the flow somewhat, but I didn't see a better option. Cheers, Daniel Doc/Zsh/contrib.yo | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index f764eb7..8f79694 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -1288,6 +1288,17 @@ to tt(mq) information). See the tt(get-mq) and tt(get-bookmarks) styles. Both of these styles may be enabled at the same time. If both are enabled, both resulting strings will be shown separated by a semicolon (that cannot currently be customized). + +The tt(quilt) `standalone' backend sets this expando to the same value as the +tt(%Q) expando. +) +item(tt(%Q))( +Quilt series information. +When quilt is used (either in `addon' mode or as a `standalone' backend), +this expando is set to quilt series' tt(patch-format) string. +The tt(set-patch-format) hook and tt(nopatch-format) style are honoured. + +See tt(Quilt Support) below for details. ) enditem() @@ -1346,6 +1357,10 @@ The tt(vcs_info) integration tries to support both ways of using quilt by having two slightly different modes of operation: `addon' mode and `standalone' mode). +Quilt integration is off by default; to enable it, set the tt(use-quilt) style, +and add tt(%Q) to your tt(formats) or tt(actionformats) style: +example(zstyle ':vcs_info:*' use-quilt true) + For `addon' mode to become active tt(vcs_info) must have already detected a real version control system controlling the directory. If that is the case, a directory that holds quilt's patches needs to be found. That directory is