From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: huge font in column view
Date: Mon, 10 May 2010 13:10:41 +0200 [thread overview]
Message-ID: <877hnc57wu.fsf@mundaneum.com> (raw)
In-Reply-To: F5987A92-D585-4699-9FC0-50CE2E75D3B9@gmail.com
Carsten,
Carsten Dominik wrote:
> On May 10, 2010, at 11:53 AM, Sébastien Vauban wrote:
>> Carsten Dominik wrote:
>>> On May 7, 2010, at 8:20 PM, Eraldo Helal wrote:
>>>
>>>> When I press 'C-c C-x C-c' on a headline in org-mode, I get into column
>>>> view as expected, however the font is huuuge! I remember seeing the same
>>>> sized font when starting emacs without my config file. I have set the
>>>> font size for this very reason... but column mode seems to ignore it
>>>>
>>>> According to what I read, column view gets the font size from the
>>>> 'default font'. Until now I thought I had changed the default font with
>>>> '(set-face- attribute 'default nil :height 80)'. How else can I set the
>>>> default font size? Or is the problem elsewhere?
>>>
>>> what is the spec of the face org-column in your setup? Does it make a
>>> difference to specify the size for org-column explicitly?
>>
>> As I said, I have the same problems.
>>
>> Though, I tried setting the size explicitly:
>>
>> --8<---------------cut here---------------start------------->8---
>> (org-column ((t (:background "gold" :height 80 :family "Consolas"))))
>> (org-agenda-column-dateline ((t (:background "deep sky blue" :height 80
>> :family "Consolas"))))
>> --8<---------------cut here---------------end--------------->8---
>>
>> but it does not help.
>
> What do you get if you do M-x describe-face on the following faces:
>
> default
--8<---------------cut here---------------start------------->8---
Face: default (sample) (customize this face)
Documentation:
Basic default face.
Family: Consolas
Foundry: microsoft
Width: normal
Height: 79
Weight: normal
Slant: normal
Foreground: black
Background: white
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -microsoft-Consolas-normal-normal-normal-*-11-*-*-*-m-0-iso10646-1>
Fontset: -microsoft-Consolas-normal-normal-normal-*-11-*-*-*-m-0-fontset-auto1
Inherit: nil
--8<---------------cut here---------------end--------------->8---
> org-level-1
--8<---------------cut here---------------start------------->8---
Face: org-level-1 (sample) (customize this face)
Documentation:
Face used for level 1 headlines.
Defined in `org-faces.el'.
Family: Arial
Foundry: unspecified
Width: unspecified
Height: 1.8
Weight: bold
Slant: unspecified
Foreground: cornflower blue
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
[back]
--8<---------------cut here---------------end--------------->8---
> org-level-2
--8<---------------cut here---------------start------------->8---
Face: org-level-2 (sample) (customize this face)
Documentation:
Face used for level 2 headlines.
Defined in `org-faces.el'.
Family: Arial
Foundry: unspecified
Width: unspecified
Height: 1.6
Weight: bold
Slant: unspecified
Foreground: LimeGreen
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
[back]
--8<---------------cut here---------------end--------------->8---
> org-column
--8<---------------cut here---------------start------------->8---
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.
1. 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.
2. The `org-column' face.
3. 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' for details.
Defined in `org-faces.el'.
Family: DejaVu Sans Mono
Foundry: unspecified
Width: unspecified
Height: 122
Weight: unspecified
Slant: unspecified
Foreground: unspecified
Background: gold
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
[back]
--8<---------------cut here---------------end--------------->8---
and for `org-agenda-column-dateline':
--8<---------------cut here---------------start------------->8---
Face: org-agenda-column-dateline (sample) (customize this face)
Documentation:
Face used in agenda column view for datelines with summaries.
Defined in `org-faces.el'.
Family: Consolas
Foundry: unspecified
Width: unspecified
Height: 80
Weight: unspecified
Slant: unspecified
Foreground: unspecified
Background: deep sky blue
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Inherit: unspecified
[back]
--8<---------------cut here---------------end--------------->8---
In summary, the problem is -- from my point of view -- that the face
specification (in my color-theme) is not honored:
- org-column is NOT Consolas
- org-column is NOT 80 in height (8pt, if I correctly get that the unit is
1/10 of point)
> Are you talking about column view in the agenda or in an org file?
Both...
Header line `ITEM | TODO | PRI | TAGS' is much narrower than the "normal"
rows.
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-05-10 11:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 18:20 huge font in column view Eraldo Helal
2010-05-10 8:42 ` Sébastien Vauban
2010-05-10 8:49 ` Carsten Dominik
2010-05-10 9:53 ` Sébastien Vauban
2010-05-10 10:15 ` Carsten Dominik
2010-05-10 11:10 ` Sébastien Vauban [this message]
2010-05-10 11:20 ` Carsten Dominik
2010-05-11 7:21 ` Sébastien Vauban
2010-05-11 7:23 ` Carsten Dominik
2010-05-10 23:06 ` Eraldo Helal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hnc57wu.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.