From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Warsaw Newsgroups: gmane.emacs.devel Subject: Emacs 24.3 wrong default face font in new frames Date: Mon, 3 Jun 2013 13:35:33 -0400 Organization: Damn Crazy Followers of the Horn Message-ID: <20130603133533.58b05bee@anarchist> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/9BfPwMVCX_5/AaefdCHwZF5"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1370281015 21826 80.91.229.3 (3 Jun 2013 17:36:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 17:36:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 19:36:55 2013 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 1UjYgd-0001I0-3l for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 19:36:51 +0200 Original-Received: from localhost ([::1]:38668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjYgc-0006hZ-OC for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 13:36:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjYfd-0005QT-1R for emacs-devel@gnu.org; Mon, 03 Jun 2013 13:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjYfb-0003ML-9E for emacs-devel@gnu.org; Mon, 03 Jun 2013 13:35:48 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjYfa-0003MF-Sn for emacs-devel@gnu.org; Mon, 03 Jun 2013 13:35:47 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjYfZ-0000aZ-0r for emacs-devel@gnu.org; Mon, 03 Jun 2013 19:35:45 +0200 Original-Received: from mail.wooz.org ([216.15.33.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 19:35:45 +0200 Original-Received: from barry by mail.wooz.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 19:35:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 82 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mail.wooz.org X-Newsreader: Claws Mail 3.8.1 (GTK+ 2.24.18; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160051 Archived-At: --Sig_/9BfPwMVCX_5/AaefdCHwZF5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable The current in-development versions of Debian and Ubuntu recently got updat= ed to Emacs 24.3 from 24.2. This broke one of my very long-standing customizations. It's entirely possible that I'm doing something stupid in my .emacs files, = but maybe it's a known bug. I can certainly fix my own code in the former case, but if it's the latter, and there's a fix available in Emacs vcs, I'll cher= ry pick a patch for those two distros. Specifically, I set a font for the default face and it shows up fine in the initial frame for both 24.2 and 24.3. It also shows up fine in new frame (C-x 5 2) but *only* for 24.2. In 24.3, I get the wrong font. Here are some code excerpts. My default face is customized: ... (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 :background "Grey27" :foreground = "LightCyan" :inverse-video nil :box nil :strike-through nil :overline nil := underline nil :slant normal :weight normal :height 115 :width normal :found= ry "unknown" :family "Monospace")))) ... But I also set it in (essentially) my .emacs file: (set-face-attribute 'default nil :family "Ubuntu Mono" :height 120) In the initial frame with both Emacsen, and on new frames in 24.2, my defau= lt face is indeed Ubuntu Mono, as shown by C-u C-x =3D ... xft:-unknown-Ubuntu Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1= (#x2C) In new frames on 24.3 however, the font is wrong: xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10= 646-1 (#x2C) What's going on? Is it me or is it Emacs? ;) Cheers, -Barry --Sig_/9BfPwMVCX_5/AaefdCHwZF5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRrNPlAAoJEBJutWOnSwa/IQEQAIiQx3MgyvHheL1bgErfOX0B 0hwfVoRZFWVukJvr2bV8M9EavXnwb6wv+qJ1XcSa5/s2sbTzL2Z6icgf1FsYtGBd 6GnCJOzWY3kJ4e8O7m2l34GxxbJ2lumhDhxoE79UHybsM+GI9w7WgV4IEEYPBvOv zqjixTP9b5QPLbqRZTZXll0HoXuJcvlqQYGkud92f39NrAp9Y73qAT48v0NrCGo2 hL7fgCv25jvUEDH5+EpzapWNAzmcUUfs5sk6FzI/nyqTN55R1997MGo2ASYlKu/Q AuRRQfZ59oW0qfEucGRYgiVE1Wsbv185fcMGTKaPP8PmWTL7lMjgcyMnbfuVwLoa /YPL2gR5iSD/TqrmKIcpIoAGsfn6TK6AwmkJ+EasjyigPndcnMdstgK65fjoxK43 YgsCQ+O8c9eYyb5y1GqSvuzz8P57bDJ3b2MvSNEPcWqnq5Tk+gIRZp9pS116sIAK CoNTfCCUCHTVITDY5YQBHIsSBEWO+YOLhoxwNhxtkDUZYjjWGJi4+SYhvHu2mJGZ hI3EKArlh5Z/iNmTtFcicja03bcmLNwM4pD9KnL2MpnUTCdL3foaGPUEsV4wJAH7 Z0u3oorc35xty9SON9vgedDgDqCAAHikbg5rDerYsRNlfRGarU9cTiuScGxdo8SI tAL03CPdv1wnIUqI6OQ7 =IHUD -----END PGP SIGNATURE----- --Sig_/9BfPwMVCX_5/AaefdCHwZF5--