From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Recent changes incorrectly calculate font size within daemon mode Date: Thu, 30 Aug 2018 18:35:54 +0200 Message-ID: <8736uvke1h.fsf@web.de> References: <87wos94ga3.fsf@wavexx.thregr.org> <877ek916mg.fsf@web.de> <40b15ef4-3aa1-0e40-9887-f908ee4e281c@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535647501 27932 195.159.176.226 (30 Aug 2018 16:45:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 16:45:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Yuri D'Elia , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 18:44:57 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvQ40-00079f-Lx for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 18:44:56 +0200 Original-Received: from localhost ([::1]:49961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvQ66-00024E-WC for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 12:47:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvQ5g-0001kN-6y for emacs-devel@gnu.org; Thu, 30 Aug 2018 12:46:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvPvW-0002SP-64 for emacs-devel@gnu.org; Thu, 30 Aug 2018 12:36:13 -0400 Original-Received: from mout.web.de ([212.227.15.4]:55279) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvPvV-0002Q0-CC for emacs-devel@gnu.org; Thu, 30 Aug 2018 12:36:09 -0400 Original-Received: from drachen.dragon ([92.208.176.10]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Le4PE-1fYSZ62Qgu-00puLK; Thu, 30 Aug 2018 18:35:56 +0200 In-Reply-To: <40b15ef4-3aa1-0e40-9887-f908ee4e281c@cs.ucla.edu> (Paul Eggert's message of "Thu, 30 Aug 2018 07:39:40 -0700") X-Provags-ID: V03:K1:inslavf7FZYysPaF+2v5eSDww4W9EJD8rmfuXAloRdTGVt6Zrr+ +f6sHdqdFZ3AC5wq59ayMXAtUKkF2iN3IyGNbPNCwV1h3q41058rS4OM6K+1pxcBtmRFH6f bkc647oD5YiWktvFr8k7+F78rTQfK9PFxaJ7QdOeGGCXpKSVywwTJ+J7YL81KVk7gxAv5tg 2W0J+KoWuVz6guOWB7M1A== X-UI-Out-Filterresults: notjunk:1;V01:K0:UK7g+F7mqOM=:dfDgcfakqi6853exQ2mJgA T1MjVCstjiYP/O6hDUbT1NX3A+GXmS5LfxDVWTJ85i0fSy5iYLL1/rrWQ/UvQbJSfIV6wweru /vhvm4SVJnoWUlHTJIB0jGGbG2MzJzhkPwEtbKIMvZuxo2OeOANZGk0GYWGKIcGdrc64tlxUS rQsUysJ2RZtn5dP7i30l+CIFeV7MB+AAmMJabgNDOTdGLzIBaost7m3alH1QB1BaHFwV/bnq6 5YKDTyyK7RyHDJx2Bvzirf4BDDN/0O8+xqWQ6NWwQdUoX6GO9b3EWsHWd0ZfAVhSByK+WF6Zl jPDJOHZmtgXcPk7CsMcaDV3jED4VGX070BnAd5ZpH0Q49utLju/YGETJmLVIafatQbsPNx6qI UDOJjcPq96ODhPW1ofaINU6sIHdg99WW4szHwHXUGRArBTAGNDU36GMLdQzEVYCRGCj4tTZ47 KjoSbq0QDKxveoVhoyv4wD4Wjur7Kb0Q9fSiIZs5ON3MbaNdF6T5VH7Rf+nKFXzJJEl/kmo9L EApbSJ6ytwSI+jc8pjifGbAMgBouBQoTwBO4OKgjUFMnOJxDQuMTFJOSea5CyhNGV0Wv5WWyJ NCFdnd/HQ2DYjrixfFRYupxNgcP9qOIA8HpRlFKQTVEbtWz8O561qRGlwi4SVWRimpMh2ybFV 1UZMm2ThEdJeZ1BJaIoOQfZ57O5/8Zziw9x90XUaLs8sr3sGqwOmbN1QRsJdyLJWPpTNw33ch UHX5aymO63UyhCHIr5ShMbBhQkFPgU0E9/ssI34chON4rCpHRd7iTQXDbRWie/U3XcHmu+2i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.4 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:229107 Archived-At: Paul Eggert writes: > Michael Heerdegen wrote: > > The problem is that (aref xlfd-fields xlfd-regexp-pixelsize-subnum) > > returns nil which I guess is not correct. > > Thanks for this example. However, it relies on some stuff from Drew > Adams that is not part of Emacs. Yes, and I'm also not sure if this problem is related, though I guess it could likely be. > Can you please give a self-contained example of how to reproduce the > problem? (If the first step is "download foo from bar", that's fine; > however, I couldn't easily figure out how to download Adams's code > from his wiki, as a page seems to be missing.) Just install the "frame-fns" and "frame-cmds' Gnu Elpa packages. Load them in this order, then eval (enlarge-font 1). > Also, what platform are you running on, and have you configured your > fonts in any way? (emacs-version) ==> "GNU Emacs 27.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)\n of 2018-08-29" master build from today. Debian Linux. I have not configured fonts in any way AFAICT. Don't know much about this stuff. I just noticed that `enlarge-font' stopped working some days ago, and reverting to the commit that has been mentioned made the problem go away. `text-scale-adjust' works normally OTOH. Anything else I can do? Thanks, Michael.