From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored Date: Thu, 22 Dec 2016 09:35:07 +0100 Message-ID: <585B903B.8010003@gmx.at> References: <83oa074y73.fsf@gnu.org> <5858289B.2070500@gmx.at> <83fulj4uhu.fsf@gnu.org> <58584121.1070404@gmx.at> <83d1gn4pl2.fsf@gnu.org> <58590F28.9040309@gmx.at> <83vaue37ib.fsf@gnu.org> <58595B67.7030305@gmx.at> <83pokm34yd.fsf@gnu.org> <58596B9B.4050001@gmx.at> <83mvfq32pg.fsf@gnu.org> <585975DB.3040203@gmx.at> <83inqe30od.fsf@gnu.org> <83fuli2y48.fsf@gnu.org> <585A3266.1000904@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1482395801 20134 195.159.176.226 (22 Dec 2016 08:36:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 08:36:41 +0000 (UTC) Cc: 25228@debbugs.gnu.org To: Rostislav Svoboda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 22 09:36:37 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cJyrR-0003KU-CC for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Dec 2016 09:36:25 +0100 Original-Received: from localhost ([::1]:60951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJyrV-0006aj-TU for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Dec 2016 03:36:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJyrA-0006Sn-1z for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 03:36:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJyr4-0007Ff-N1 for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 03:36:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35489) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJyr4-0007FZ-KG for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 03:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cJyr4-0001fW-BA for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2016 03:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Dec 2016 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25228 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25228-submit@debbugs.gnu.org id=B25228.14823957306339 (code B ref 25228); Thu, 22 Dec 2016 08:36:02 +0000 Original-Received: (at 25228) by debbugs.gnu.org; 22 Dec 2016 08:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:50881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJyqY-0001eB-HH for submit@debbugs.gnu.org; Thu, 22 Dec 2016 03:35:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:62141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJyqW-0001du-Vp for 25228@debbugs.gnu.org; Thu, 22 Dec 2016 03:35:29 -0500 Original-Received: from [192.168.1.100] ([212.95.7.91]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MD9J6-1cNJJD1Rim-00GXgV; Thu, 22 Dec 2016 09:35:19 +0100 In-Reply-To: X-Provags-ID: V03:K0:dTwHLqVEMbpg+e36ZFIZwUHmQa2FtJGQ9fDnnFl6uR8DoKToCNZ OgHqLm+MwgQEXTrqEgxTiXQmO1Npb+xLIcl0ajLEwrWDJ4lvvEFlVX+IJVOQTmBEjUmIf/k tXeJoeMhD2fT8F10EpbPwUNkBfvJLI8gbWiZIH9hQIc0yO7FpPlfra3Bf/QNjg7P8TBbi1X O2GgbR0RyJF0rBuOWzLlg== X-UI-Out-Filterresults: notjunk:1;V01:K0:GZ+l7Z2KOZ8=:J06PgDMKJR1ZPcu5TntI46 adDI3GmXdVOova9quOGsVYC/7+7+PgK5KibPoI+QYVTC4SPk1+vUfBsDi2uWdwG4uWrXXbmSq wza1z5yqaUSOv5uDSHz7M/Zm7m2aSUwiZ5T7cup6VxjVCNBsaqBw4bjy9iWD6wtxtljYNOv8F wDG+svBI0uDjVO4r0uDSsPk070081IwQpQSF8QoMVcjYLmYz6yjGvyNACM8mSO8ZQsQW3ZThW hXM3VVcIsz6deed+f1Ts1NsC+8gmTSKQYc4JP5nAUhQQSa4ZHR0VjPMJyflFmbA+HJTxdLQcs R/RczI5JBAZeXlRQCbMJKiVjqGEJtP3IA5Yi4ziiIylySgqEBEFWq2BpOrH1qNP9+Y7xqxSzl 7WeauNRJOmIp3+iTgHYRvlqyexS5Hoje6NHBEvywl/MVCGyLHv4m6yiIYIjO3RUe0TDr3BYee nYOVCxl1ISFkvI+sDx2IFnHulnxBNoId9jEP4njfLVXeB989gDKw0uJqJeFK7xjbowYqijCwx ypBXi6WQc4X+mdQwetkum1bAqQzbJzH9AxzO5DvjtPeHuOOjmV2bl6dgeCwGhSub5Y63O5OoR Kz48/OusjJMuvzOJhGSxtlnSR7Krs64N0/CJAcTMhJuRTHGYkJo2dTwWRhFCCkBiE75H2t282 Gq3xgD/rjsNY/qKCAhpVzFMbTfGFwh5OiNFBosz/lRNPuJ2pkDAOS2O9+FMImLXtkO7XjHXDm OGyvDD8NYPt2fGPhYaXNILLdXbpqAlIJJm6+sJgM/Uyv4Senb+f5Vjw9nzdOZ8xHOFPKB8jt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127316 Archived-At: > The patch works! The font-height stays the same. Installed now for Emacs 25.2. > FYI - this is most probably unrelated to the font-height problem, anyw= ay: > 1. On my "font-height-works" machine (Ubuntu 16.10) the first invocati= on of: > ./src/emacs -q --eval "(set-face-attribute 'default nil :height 4= 0)" & > creates a rather small frame (I mean gtk window). With 40 lines though. What did you expect? > The consequent > invocations of this > command create frames of normal size. With "consequent invocations" you mean what? C-x 5 2 here creates yet another frame of the same size. The size of the initial frame is derived from the =E2=80=98height=E2=80=99 and =E2=80=98width=E2=80=99 fra= me parameters, if specified, and the height of the default font. > 2. On my "font-height-works" machine the command above produces warnin= gs: > > ** (emacs:21762): WARNING **: Couldn't connect to accessibility bus: > Failed to connect to socket /tmp/dbus-CV9wAFvBnL: Connection refused No ideas about this one. > (emacs:21762): Gtk-CRITICAL **: gtk_distribute_natural_allocation: > assertion 'extra_space >=3D 0' failed > > where the "... Gtk-CRITICAL ..." line gets repeated gtk_distribute_natural_allocation is a pain. You could try to set =E2=80=98frame-resize-pixelwise=E2=80=99 to t but I doubt that it will he= lp. > 3. On my "font-height-buggy" machine (Ubuntu 16.10 in VirtBox under Wi= ndows 7) I > always get small frames of the same size and I never see any Gtk error= s or > warnings. The Windows API has no idea of window sizes based on the metrics of some default font. The "round frame sizes to multiples of the default font height" paradigm is among the most irksome legacies the Emacs frame code has to deal with. martin