emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* strange behaviour with faces and emacs 24
@ 2011-01-16  0:58 Eric S Fraga
  0 siblings, 0 replies; only message in thread
From: Eric S Fraga @ 2011-01-16  0:58 UTC (permalink / raw)
  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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-16  0:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16  0:58 strange behaviour with faces and emacs 24 Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).