Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	MALFORMED_FREEMAIL,T_DKIM_INVALID autolearn=no autolearn_force=no
	version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1462978906; bh=itQwNCh5hFHD0dRJ1pReA2O39S0coiKlESPCUQ95g/Y=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=f1/bT59/uVEv1Bamm75c9tibkMglHXz7OMGbDF3eQSBoWEKUSoUQ3bEnKSOvKbieVFnakZV3flXZzPZ2YUS4LupsWRPiYmg2JbFQk9DBGECoMk31brvDPTkyjui6EqTEH9XbVIpcTdZpNK09jsAV5vhZdSv9TmG5QqZo2A34UY9LE85LCuoWaMQqrnUL5XdCIlf/dLLJWA/4ytcw9bqFZIu++1fF0nhDY7o5KN4C+HCrczHKwFGf7S+7xbea4Wr4rTE2VqA5ids1RPtUtzYiTXWW9FDtiJt76B7bOPM1GJc1cF7YsQQj6gDYJ2Dtb0MhL7rY9kSSPgoLM2EyKDX7Fg==
X-Yahoo-Newman-Id: 308757.89267.bm@smtp123.mail.ir2.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: 0CKozEoVM1kbxKDoUc5FAObWN2UbbWwcv5vffPX_qeHy_ub
 .05H9foJ3qjXzFspaZB2knIHmRDi6ZhoAYySN5a4HNrptPmotm6cNeuGzUqr
 wiBW4ubA_L5stew.jZPusM9VZNvxtSb3DT2bMeUq1IA9wJDv5Kn5yFHbY35Y
 aXFHY94TIJMgwW40kju8z8X6x2KSlepCeWyMxdOVJbLhZYjQ6Fwu1yEzU5Vu
 bC2rOArbX34ZGYUoSowbNqTmQk_l.YkUF0Zf3fxmnLVQEZ47c8V.YZwtp6F6
 66crJbgAalPh7.psVGeV37KHIOw56iEGupN9pFSvYbntJyR7l71cZ6SnfhaX
 bk_78uYdPFE42nFSOGZpllFqRgUbDMO_lpt0Zk6o4Q40sjxZcxFGLV0JheAT
 PDQjRfyaHfDdK1QXxLeGDOwz9Ic6.TLrDmcFtIEoQDzAXWeTWpR0fykhDbKG
 cE7eIdpPh0SdFsHyhwHEkHFMdjY8f5Hvgb2AesvUscyKK5D7g8ZzooaFrqlU
 oSFEZYxPeiMPFmFiuqMvfk8pDQSmnxQ--
X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI-
cc: zsh-workers@zsh.org
In-reply-to: <57308891.6070906@redhat.com>
From: Oliver Kiddle <okiddle@yahoo.co.uk>
References: <57308891.6070906@redhat.com>
To: Marko Myllynen <myllynen@redhat.com>
Subject: Re: [PATCH] zsh x font family completion
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <18887.1462978904.1@thecus.kiddle.eu>
Date: Wed, 11 May 2016 17:01:45 +0200
Message-ID: <18888.1462978905@thecus.kiddle.eu>
X-Seq: zsh-workers 38471

Marko Myllynen wrote:
>
> I'm working on completions for a command which has an option to select
> the font family to use, I was wondering whether X font family
> completions would be worthwhile to add for others to use as well?

Note that there is an existing _xft_fonts function which does something
close to this. Would it work with the command you're writing a
completion for. It might be better to give it an option to limit it to
completing font families. Or does the command actually allow a size to
be specified.

Unlike for old style X fonts, the method of describing the newer fonts
is not as precisely defined.

Oliver

