From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Note on e65c307 breaks font-height Date: Sat, 04 Jun 2016 13:52:09 +0300 Message-ID: <83vb1pusyu.fsf@gnu.org> References: <5746D38F.4010203@gmx.at> <4cdc1b55-2fe2-2457-1115-33ff68a9a65d@cs.ucla.edu> <5748490A.6020906@gmx.at> <8337p2zdt5.fsf@gnu.org> <574AF1ED.7020404@gmx.at> <837fecykbd.fsf@gnu.org> <574BF309.7070701@gmx.at> <83shwtwgyc.fsf@gnu.org> <5752A3DA.3020009@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465037553 30930 80.91.229.3 (4 Jun 2016 10:52:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2016 10:52:33 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 12:52:33 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b99Bu-0007Gc-6O for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2016 12:52:30 +0200 Original-Received: from localhost ([::1]:60282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99Bs-0001NC-VY for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2016 06:52:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99BC-0001N6-1Z for emacs-devel@gnu.org; Sat, 04 Jun 2016 06:51:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b99B6-0007Xu-Ti for emacs-devel@gnu.org; Sat, 04 Jun 2016 06:51:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b99B6-0007Xq-QU; Sat, 04 Jun 2016 06:51:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2519 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b99B5-0005P1-VX; Sat, 04 Jun 2016 06:51:40 -0400 In-reply-to: <5752A3DA.3020009@gmx.at> (message from martin rudalics on Sat, 04 Jun 2016 11:48:10 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204189 Archived-At: > Date: Sat, 04 Jun 2016 11:48:10 +0200 > From: martin rudalics > CC: eggert@cs.ucla.edu, emacs-devel@gnu.org > > > IOW, the font selection code was not designed to support what you'd > > like, not in general. That is why I strongly recommend to just state > > a specific font of your liking, and move on. > > What I did (in the previous century, IIRC) was to select the procedure > that I then considered best supported by the customization interface. > Can you point me to a similar interface for the step you propose? IOW, > I still think that mine is the way a newbie would use. I don't understand why we are talking about customization interfaces. I thought the problem was that requesting a font by specifying some of its attributes doesn't work. Now I'm confused: what problem is at hand? > > -- Function: face-attribute face attribute &optional frame inherit > > This function returns the value of the ATTRIBUTE attribute for FACE > > on FRAME. > > > > And all the other functions in that node accept the FRAME argument. > > IIUC none of these bear any relation to the customization interface. "M-x customize-face" changes the face definitions on all frames, but you can invoke set-face-attribute with a specific frame to change the face only on that frame. > And I still don't see where the customization framework allows or > suggests to specifiy a face for a frame or for "any" frame. I don't think it does. In any case, it looks like a simple question of mine led us aside for no good reason. Whether faces are or aren't per frame has nothing to do with the problem at hand.