From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: strange behaviour with faces and emacs 24 Date: Sun, 16 Jan 2011 00:58:06 +0000 Message-ID: <87k4i5k6ld.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38227 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeGwr-0004Z5-PN for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 19:58:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeGwq-0002Dj-Ou for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 19:58:25 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:52028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeGwq-0002Ad-Kl for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 19:58:24 -0500 Received: from [85.210.138.108] (helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1PeGwZ-00049g-Jc for emacs-orgmode@gnu.org; Sun, 16 Jan 2011 00:58:07 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs Org mode mailing list Hello, I have some curious behaviour that I am hoping somebody can explain. I normally use Emacs 23 (from Debian testing). I've just installed the emacs-snapshot version of Emacs 24 to give it a quick try. Changing only two lines in my customisation (removing the requirement for 'w3m and one customisation for w3m) allows me to start up either version with the same initialisation files. However, I have one big difference in behaviour and it appears when I bring up an agenda view (C-c a a): the default face family changes from "Liberation Mono" to "Bitstream Vera Sans Mono" and the size changes from 19 to 13. I do not have Bitsream Vera Sans Mono (or any variation thereof) specified anywhere in my emacs initialisation files so I cannot figure out why this change is happening. Mind you, starting Emacs with -Q shows that this combination (Bitstream + 13) is actually the default font. I change the default through emacs's own customisation to Liberation Mono: --8<---------------cut here---------------start------------->8--- (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 "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 140 :width normal :foundry "unknown" :family "Liberation Mono")))) ) --8<---------------cut here---------------end--------------->8--- I know that I have, for a long time now, had this same problem with org's column view, a problem which made column view less than useful... but now the problem has arisen with the agenda view as well. If I view any of the org-agenda-* faces, I do not see any that change the type face. Following the /inherit/ element of each face, I eventually get back to the default face which has the family entry as "Liberation Mono". Does anybody else have a similar experience with Emacs 24 before I experiment further and possibly raise a bug report for Emacs? Is org somehow querying a static default specification in Emacs for the face family and size? Grasping at straws here... Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.176.g079c4.dirty)