From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22229 invoked from network); 4 Aug 1997 16:39:28 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 4 Aug 1997 16:39:28 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.8.5/8.8.5) id MAA06282; Mon, 4 Aug 1997 12:35:22 -0400 (EDT) Resent-Date: Mon, 4 Aug 1997 12:35:22 -0400 (EDT) Message-Id: <199708041635.SAA00371@sgi.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: compctl -X Date: Mon, 04 Aug 1997 18:35:34 +0200 From: Peter Stephenson Resent-Message-ID: <"g-S0g1.0.2Y1.9JWvp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3418 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I sent this some time ago, it seems to have disappeared... `compctl -X explanation' should print the explanation if there *are* matching completions, not if there aren't. If the type of matching wasn't used, you don't care; if it was, you want to know why. *** Src/Zle/zle_tricky.c.minusX Mon Jul 14 11:44:47 1997 --- Src/Zle/zle_tricky.c Fri Aug 1 14:16:33 1997 *************** *** 2128,2134 **** } /* Print the explanation string if needed. */ ! if (!showinglist && expl && !nmatches) { int up; feep(); --- 2128,2134 ---- } /* Print the explanation string if needed. */ ! if (!showinglist && expl && nmatches) { int up; feep(); -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.