From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3557 invoked from network); 6 Jun 2009 03:53:18 -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=BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 6 Jun 2009 03:53:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 60674 invoked from network); 6 Jun 2009 03:53:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Jun 2009 03:53:06 -0000 Received: (qmail 4312 invoked by alias); 6 Jun 2009 03:52:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27037 Received: (qmail 4299 invoked from network); 6 Jun 2009 03:52:58 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 Jun 2009 03:52:58 -0000 Received: from rcpt-expgw.biglobe.ne.jp (rcpt-expgw.biglobe.ne.jp [133.205.19.67]) by bifrost.dotsrc.org (Postfix) with ESMTP id 973B98030803 for ; Sat, 6 Jun 2009 05:52:43 +0200 (CEST) Received: from vc-gw.biglobe.ne.jp by rcpt-expgw.biglobe.ne.jp (kbkr/0208160408) with SMTP id n563qeWs023324 for ; Sat, 6 Jun 2009 12:52:40 +0900 Received: from smtp-gw.biglobe.ne.jp ([172.21.175.155]) by vc-gw.biglobe.ne.jp (kbkr/0716090908) with ESMTP id n563qefZ026921 for ; Sat, 6 Jun 2009 12:52:40 +0900 X-Biglobe-Sender: Received: from [192.168.0.3] (222.159.74.213 [222.159.74.213]) by smtp-gw.biglobe.ne.jp id MACDAC15AFDB; Sat, 06 Jun 2009 12:52:40 +0900 (JST) Message-Id: From: "Jun T." To: zsh-workers@sunsite.dk In-Reply-To: <2161.1244200252@csr.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: run-help's man arguments Date: Sat, 6 Jun 2009 12:52:39 +0900 References: <2161.1244200252@csr.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Scanned: ClamAV 0.94.2/9434/Sat Jun 6 04:10:47 2009 on bifrost X-Virus-Status: Clean I'm not familiar with zsh internals, but I think ESC-h (in the default bindings) is bound to the ZLE widget 'run-help' which calls the function "run-help" as "run-help $1". So "man $@:t" in the function is equivalent to "man $1:t" if called from the widget. I believe most people use the run-help function via key binding, but there is a possibility that someone use it by explicitly typing it. Or by "alias m=run-help" and "m history", "m 3 printf" etc.