From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3158 invoked from network); 19 Sep 2008 14:57:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Sep 2008 14:57:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 78601 invoked from network); 19 Sep 2008 14:57:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Sep 2008 14:57:50 -0000 Received: (qmail 10420 invoked by alias); 19 Sep 2008 14:57:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25693 Received: (qmail 10399 invoked from network); 19 Sep 2008 14:57:35 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Sep 2008 14:57:35 -0000 Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by bifrost.dotsrc.org (Postfix) with ESMTP id E178180308BA for ; Fri, 19 Sep 2008 16:57:28 +0200 (CEST) Received: from [212.117.84.127] (helo=fsst.voodoo.lan) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KghQG-0007iW-AE for zsh-workers@sunsite.dk; Fri, 19 Sep 2008 16:57:28 +0200 Received: from hawk by fsst.voodoo.lan with local (Exim 4.69) (envelope-from ) id 1KghQC-0003GT-B8 for zsh-workers@sunsite.dk; Fri, 19 Sep 2008 16:57:24 +0200 Date: Fri, 19 Sep 2008 16:57:24 +0200 From: Frank Terbeck To: zsh workers Subject: Re: Submitting vcs_info function Message-ID: <20080919145723.GP2182@fsst.voodoo.lan> Mail-Followup-To: zsh workers References: <20080917201859.GU2182@fsst.voodoo.lan> <20080918112003.45911104@news01> <20080918165212.GY2182@fsst.voodoo.lan> <200809181700.m8IH0rmj019423@news01.csr.com> <20080919093449.GI2182@fsst.voodoo.lan> <20080919140229.3c4e9fcd@news01> <20080919133411.GN2182@fsst.voodoo.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20080919133411.GN2182@fsst.voodoo.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Df-Sender: 430444 X-Virus-Scanned: ClamAV 0.92.1/8287/Fri Sep 19 10:13:26 2008 on bifrost X-Virus-Status: Clean [moved to workers] Frank Terbeck : > One minor glitch in the list of styles: Here is another: Index: Doc/Zsh/contrib.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/contrib.yo,v retrieving revision 1.85 diff -u -r1.85 contrib.yo --- Doc/Zsh/contrib.yo 19 Sep 2008 13:50:41 -0000 1.85 +++ Doc/Zsh/contrib.yo 19 Sep 2008 14:55:41 -0000 @@ -581,8 +581,10 @@ function you want to call from tt(precmd) if you want to include up-to-date information in your prompt (see Variable description below). If an argument is given, that string will be used instead of tt(default) in the -user-context field of the style context.) -sitem(tt(vcs_info_lastmsg))(Outputs the last var(${vcs_info_msg_*_}) value. +user-context field of the style context. +) +item(tt(vcs_info_lastmsg))( +Outputs the last var(${vcs_info_msg_*_}) value. Takes into account the value of the use-prompt-escapes style in var(':vcs_info:formats:command:-all-'). It also only prints tt(max-exports) values. @@ -591,8 +593,10 @@ item(tt(vcs_info_printsys) [var(user-context)])( Prints a list of all supported version control systems. Useful to find out possible contexts -(and which of them are enabled) or values for the var(disable) style.) -sitem(tt(vcs_info_setsys))(Initializes var(vcs_info)'s internal list of +(and which of them are enabled) or values for the var(disable) style. +) +item(tt(vcs_info_setsys))( +Initializes var(vcs_info)'s internal list of available backends. With this function, you can add support for new VCSs without restarting the shell. )