From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: huge font in column view Date: Mon, 10 May 2010 13:20:32 +0200 Message-ID: <737A6CE0-363D-4362-92B9-6EC0CCA6D9C8@gmail.com> References: <87k4rfbmk5.fsf@eraldo.org> <87eihk6q20.fsf@mundaneum.com> <877hnc57wu.fsf@mundaneum.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBR2W-0004JZ-WF for emacs-orgmode@gnu.org; Mon, 10 May 2010 07:20:49 -0400 Received: from [140.186.70.92] (port=50245 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBR2R-0004H0-FB for emacs-orgmode@gnu.org; Mon, 10 May 2010 07:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBR2L-000524-3y for emacs-orgmode@gnu.org; Mon, 10 May 2010 07:20:43 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33188) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBR2K-00051p-Q9 for emacs-orgmode@gnu.org; Mon, 10 May 2010 07:20:37 -0400 Received: by wyb39 with SMTP id 39so79300wyb.0 for ; Mon, 10 May 2010 04:20:35 -0700 (PDT) In-Reply-To: <877hnc57wu.fsf@mundaneum.com> 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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org Hi Sebastian, well, you org-column face says that it wants to be 122/10 points, so =20 that is already relatively big. It is possible (but I am not sure) =20 that the factor 1.8 you have set for level on faces still shines =20 through as well, but I don't think this should be the case. You need to find out how the 122 gets into the definition for org-=20 column. - Carsten On May 10, 2010, at 1:10 PM, S=E9bastien Vauban wrote: > Carsten, > > Carsten Dominik wrote: >> On May 10, 2010, at 11:53 AM, S=E9bastien 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 =20= >>>>> column >>>>> view as expected, however the font is huuuge! I remember seeing =20= >>>>> the same >>>>> sized font when starting emacs without my config file. I have =20 >>>>> set the >>>>> font size for this very reason... but column mode seems to =20 >>>>> 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 =20 >>>>> font with >>>>> '(set-face- attribute 'default nil :height 80)'. How else can I =20= >>>>> set the >>>>> default font size? Or is the problem elsewhere? >>>> >>>> what is the spec of the face org-column in your setup? Does it =20 >>>> 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 =20 >>> "Consolas")))) >>> (org-agenda-column-dateline ((t (:background "deep sky =20 >>> 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: # normal-*-11-*-*-*-m-0-iso10646-1> > Fontset: -microsoft-Consolas-normal-normal-normal-*-11-*-*-*-=20 > 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 =20 > column view. > The following faces apply, with this priority. > > 1. The color of the reference face. This is normally the level fact =20= > 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 =20 > 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 =20 > 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 =20 > "normal" > rows. > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten