From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Trouble setting default font and window size Date: Fri, 29 Jul 2016 08:14:22 +0200 Message-ID: <579AF43E.5070106@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1469772917 31059 80.91.229.3 (29 Jul 2016 06:15:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2016 06:15:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: rhouse@smartchat.net.au Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 29 08:15:08 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1bT14e-0000ns-6M for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 08:15:08 +0200 Original-Received: from localhost ([::1]:57633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT14X-0001MM-SR for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 02:15:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT149-0001M5-J3 for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 02:14:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT145-0006f9-7J for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 02:14:36 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT144-0006f2-Sl for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 02:14:33 -0400 Original-Received: from [192.168.1.100] ([212.95.7.77]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MQRZw-1bsDQk1ROu-00TlnL; Fri, 29 Jul 2016 08:14:26 +0200 Original-References: 5799FEDD.4080200@smartchat.net.au X-Provags-ID: V03:K0:IMnBOgDOHwyOQikXnZleRkoOrNelTaTm2sDrgpBuV+xwjLL0gH0 zxPcUx2++Z8TQiAYcmBxycNKrH63j0e8EzXKYemCba16w0Zvo9EHL/AkNKCP1Rd+LnZmRxn +qJR2iu+EiMMv96KCqgybov8uPPdK/XLPRHxX9GyXv9GYeqCLBTwgZLMpHB9vmb8ItyYCZd 1Zxwgk1ue14wr2/cfq3bQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:2+/9uiJw2UI=:OgoQcazduypEj0C+tjPo// Q3ElyWOSczDZwDYfay+w7fwADSIGSubJI19vKrMO339J1+i7k82f1riksh4suO4zFrs0z4LN8 Ozdanx2ziNogfvmmZc5gCDB8RPtGM10rh1f7RoOwusbLa7g5fmiUEGA1TrVNU1NKVhRut0uNm 5EeU/VkHZaRnwOA85udHaJhSPZP9MS44G9cjLYXOhzL5dYzfGwlD4L93XvKl9UaBdGT0PwCn7 dF4WQvmIYozKOuASmNAz1/WwbaptSbgmkCbXGtQItspP04CLKgqCvrbHqCpDmh7Oh+Rr3Cpx2 lJgPYAEQh0htYiKhkD3A0QzDd49ul2bEmWRugEecDNOIJMnSAQqCfe4Q6Bausn02HE6m1AD3M OTJI4yjVGkO/pSfhPs3jzYh7+4vazZ+8U0tjDalOfik9lLgbv+ZCJUJt4Tpyaf/BvPR+lfs+I 2HQmEput1bXHsShJjRXtoQAtnw1hEGYi8S9k5i7n/hJhI2x9mwaExXPyXInyja4/jtZXfRrcW 9A/n70tFCWDO3lzXGl9artDDF+V82/jscmnfUo9rrSI71EljaT09YACSlKtQC19ieS1pNLF7X yKRmek4SXhSyAXc09kGuevWSKVkyAaU/N2iDlWTGofiLuiVDgI27NZk5O3VwrRgvUDfaTIZut IXqfT+xoQA//Lx/toa0D9kAIYBOlQG9GnKxpxbC7GRcYuMgcdmLzHsLvZ2L6QGZI5ANzAUPVe 8kJ2jW/Z+e0w9Vs1xxHj86yjjaIdHXzGqtUs95KzQkWvBt+Cb0aBlYpULtXKdy6v4oV1yvUM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110995 Archived-At: > > (defalias 'dynamic-setting-handle-config-changed-event 'ignore) > > doesn't seem to do anything. > > > "Note on e65c307 breaks font-height" > > Could be. The problem seems to be that the window is displayed before = =2Eemacs is processed, so some built-in default is used and then, after t= hat has messed things up, .emacs is applied to the messed up display. I was referring only to your earlier statement: > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > > '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil := strike-through nil :overline nil :underline nil :slant normal :weight nor= mal :height 90 :width normal :foundry "bitstream" :family "Bitstream Vera= Sans Mono")))) '(header-line ((((class color grayscale) (background ligh= t)) (:inherit mode-line :background "grey90" :foreground "grey20" :box ni= l :height 0.5 :width condensed)))) > > '(mouse ((t (:background "black"))))) > > This is the font I want, but emacs starts up with some other font. Can= that be changed? You didn't tell us which version of Emacs you're using so I can't even tell whether =E2=80=98dynamic-setting-handle-config-changed-event=E2=80=99= really does something on your system. In any case, I would start out disregarding the window size problem and getting the right font first. Fixing the frame/window size afterwards should be straightforward. martin