[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A suggestion on `x-select-font'

From: Jason Rumney
Subject: Re: A suggestion on `x-select-font'
Date: Fri, 27 Jun 2008 10:16:02 +0100
User-agent: Thunderbird (Windows/20080421)

Herbert Euler wrote:

> The attached patch does what I suggested: It makes the font chooser in
> Emacs more like other X appications by setting the user selected font
> in the font chooser dialog.  There are several problems in it, though:

These problems might be avoided by making x-select-font take the default
selection as an argument. Actually I suggest the following signature:

(defun x-select-font (&optional frame default-font must-match)

Where default font is a font-spec/entity/object to use as the initial
selection, and must-match is a font-spec for filtering the list of
available fonts (eg by specifiying charset, fixed width fonts only,
bold, italic etc).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]