Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] zsh x font family completion
- X-seq: zsh-workers 38471
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Marko Myllynen <myllynen@xxxxxxxxxx>
- Subject: Re: [PATCH] zsh x font family completion
- Date: Wed, 11 May 2016 17:01:45 +0200
- Cc: zsh-workers@xxxxxxx
- 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==
- In-reply-to: <57308891.6070906@redhat.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <57308891.6070906@redhat.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author