I'm trying to use a fixed width font when in org-mode
's column view (I use variable width font otherwise). Customizing the org-column
face attribute doesn't seem to do it. How can I get this to work?
There's some related discussion out there (referenced in Org-mode FAQs), but it doesn't seem to help my situation. I'm thinking this excerpt from the documentation is the key, but I'm not sure how.
Face: org-column (sample) (customize this face)
Documentation: Face for column display of entry properties. This is actually only part of the face definition for the text in column view. The following faces apply, with this priority.
The color of the reference face. This is normally the level fact that is used in the outline. In agenda-mode, it will be the face of the first character in the line. The color is explicitly retained to make sure that the column line still looks a bit like the structure line it is masking.
The `org-column' face.
The remaining properties of the reference face.
Since column view works by putting overlays with a display property over individual characters in the buffer, the face of the underlining character (this might for example be the a TODO keyword) might still shine through in some properties. So when your column view looks funny, with "random" colors, weight, strike-through, try to explicitly set the properties in the `org-column' face. For example, set :underline to nil, or the :slant to `normal'.
Under XEmacs, the rules are simpler, because the XEmacs version of column view defines special faces for each outline level. See the file `org-colview-xemacs.el' in Org's contrib/ directory for details.
Defined in `org-faces.el'.
Family: Lucida Console Foundry: unspecified Width: unspecified Height: 120 Weight: normal Slant: normal Foreground: unspecified DistantForeground: unspecified Background: grey90 Underline: nil Overline: unspecified Strike-through: nil Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Inherit: unspecified
If it helps, I'm running Emacs 24.5 windows version on Mac OS X.
EDIT
When I call the function that has the default keybinding C-u C-x =
(I don't know the function's name) with my point in the org-column
view region I get the following (excerpt):
There is an overlay here:
From 24 to 25
display [Show] face ((:foreground unspecified) (:height 120 :family >"Helvetica") org-agenda-column-dateline org-agenda-date-today) keymap [Show] line-prefix "" org-columns-format "%-70.70s | " org-columns-key "ITEM" org-columns-pom nil org-columns-value "Saturday 6 June 2015" org-columns-value-modified "Saturday 6 June 2015" wrap-prefix ""
Where does emacs invoke this overlay? It looks like it's calling the Helvetica font family in the face
--this is precisely what I'm trying to prevent. I believe this is what is overruling the Lucida Console family that I defined for the org-column
face (above).