From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25693 invoked from network); 24 Aug 1999 10:05:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Aug 1999 10:05:21 -0000 Received: (qmail 14240 invoked by alias); 24 Aug 1999 10:04:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7470 Received: (qmail 14233 invoked from network); 24 Aug 1999 10:04:46 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion References: <199908240912.LAA08973@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 24 Aug 1999 19:04:43 +0900 In-Reply-To: Sven Wischnowsky's message of "Tue, 24 Aug 1999 11:12:51 +0200 (MET DST)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <199908240912.LAA08973@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > This also changes `_x_options' to be a post pattern function (so that > we don't get those stray X11 options in places where we don't want > them), and it cleans up the `_compskip' handling. > It also makes `_command_names' accept the option `-e' to make it > complete only external commands and executable files -- which is then > used in `_xterm'. Thanks. _xterm works well now. But I feel X toolkit options specs in _xterm is bit redundant. I think _xt_arguments such as following is useful. # Since XrmParseCommand does not accept short options, it should not # use "-s". _xt_arguments () { _arguments \ '-geometry:geometry:_x_geometry' \ '-display:display:_x_display' \ ... '-xrm:X resources:' \ "$@" } # _gtk_arguments may be also useful. Where is a suitable directory to store this? Completion/User or Completion/Base (or Completion/X)? -- Tanaka Akira