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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.1
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:reply-to:subject:references:to:cc:from
         :organization:message-id:date:user-agent:mime-version:in-reply-to
         :content-transfer-encoding;
        bh=MVQHKVFdTbsq+HU9kLh0f4B8/e+uUlKpXujBaZNskxc=;
        b=mZZX00mYGdpXkXWNvvgrqz9vo2hHKdl7FZIR4ByI+9kdJ8IzdOHjGfsJMEwF7WKQIT
         M+DwOEVsbMUUfI6W5DHzB/orWpiRqsdaNcE1bUI44n/clItbYDzTK7fhdZq5NKdSZrmd
         WHBHHX1gQAZ+NYStZ1xCFjbpHsX1kVVrIY/MXzlU58Mz0tkTvrS96updfqe9zCNYYmOE
         BeGSqTbn6nCzaSZW7uqkcP+d1uTCVpXtc/BgzMRapIQFy1T4u5gd49sGO4jTg5qKIj6I
         /LpHSv+dzv4yKXiBhcm+Ynf9p/91D4SsVfwF1uIteiYEwHpTGKhzGFu6HXM5IXiVcVmJ
         5YxA==
X-Gm-Message-State: AOPr4FWMUzjQqTbMUwqqxafHrj0qSKG4H4x7aGJLHVrH2JEs6+0PWPr0yFm+Zf/QlZaxkxNG
X-Received: by 10.28.211.10 with SMTP id k10mr6228112wmg.82.1463058149359;
        Thu, 12 May 2016 06:02:29 -0700 (PDT)
Reply-To: Marko Myllynen <myllynen@redhat.com>
Subject: Re: [PATCH] zsh x font family completion
References: <57308891.6070906@redhat.com> <18888.1462978905@thecus.kiddle.eu>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-workers@zsh.org
From: Marko Myllynen <myllynen@redhat.com>
Organization: Red Hat
Message-ID: <57347EE2.70909@redhat.com>
Date: Thu, 12 May 2016 16:02:26 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <18888.1462978905@thecus.kiddle.eu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Seq: zsh-workers 38478

Hi,

On 2016-05-11 18:01, Oliver Kiddle wrote:
> 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.

Hmm, not sure I managed to miss _xft_fonts but it does what I want,
let's forget this patch. (Although, FWIW, I must say I prefer the format
I had chosen over xft_fonts, i.e., lower-cased without spaces,
applications seem to accept both.)

Thanks,

-- 
Marko Myllynen

