From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: huge font in column view Date: Mon, 10 May 2010 13:10:41 +0200 Message-ID: <877hnc57wu.fsf@mundaneum.com> References: <87k4rfbmk5.fsf@eraldo.org> <87eihk6q20.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Carsten, Carsten Dominik wrote: > On May 10, 2010, at 11:53 AM, S=C3=A9bastien 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 sa= me >>>> 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: # Fontset: -microsoft-Consolas-normal-normal-normal-*-11-*-*-*-m-0-fon= tset-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 vi= ew. 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 --=20 S=C3=A9bastien 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