From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao-Yong Jin Subject: default face org-column Date: Thu, 30 May 2013 11:43:01 +0900 Message-ID: <657A219F-8300-4EDD-98B3-6737014F5EF4@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A6A13F52-6DAF-4910-96BF-A210636FB269" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhspZ-0001n3-JG for emacs-orgmode@gnu.org; Wed, 29 May 2013 22:43:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhspU-0008JC-QJ for emacs-orgmode@gnu.org; Wed, 29 May 2013 22:43:09 -0400 Received: from mail-pb0-x229.google.com ([2607:f8b0:400e:c01::229]:46230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhspU-0008I0-G5 for emacs-orgmode@gnu.org; Wed, 29 May 2013 22:43:04 -0400 Received: by mail-pb0-f41.google.com with SMTP id xb12so10201165pbc.0 for ; Wed, 29 May 2013 19:43:03 -0700 (PDT) Received: from [172.19.7.224] (anet27.aics.riken.jp. [134.160.184.6]) by mx.google.com with ESMTPSA id wt5sm39639555pbc.38.2013.05.29.19.43.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 19:43:01 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --Apple-Mail=_A6A13F52-6DAF-4910-96BF-A210636FB269 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi, In org-faces.el, (when (fboundp 'set-face-attribute) ;; Make sure that a fixed-width face is used when we have a column = table. (set-face-attribute 'org-column nil :height (face-attribute 'default :height) :family (face-attribute 'default :family))) I understand why you did this, but it is not quite logical, and somewhat = invasive. First, you certainly do not do this with org-table. Then why = org-column specifically? Second, it overwrites the the value I set in = the emacs theme or custom-set-faces. Third, the end result is quite = bizarre and odd-looking. The "default" height and "default" family is = some how not what I set for the frame, because the font family and size = is set when emacs starts up and loaded the org-mode. When I use = set-frame-font or text-scale-adjust, org-column will stick with the old = font family and size. In fact, because the font family for org-column = and org-column-title are different, the result is just bad. I don't think it is only my problem, but I'll describe my setup for = themes/font. I use default-frame-alist to set the font family and = size=97The above code will not pick up this setup. I use load-theme and = enable-theme to load the theme I want. Sometimes I use set-frame-font = or text-scale-adjust to get a pleasantly looking texts temporary. I = usually use fixed-width font, so the above code is not doing any good. For the time being, I commented out the above code. Best, Xiao-Yong --Apple-Mail=_A6A13F52-6DAF-4910-96BF-A210636FB269 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 =      :height (face-attribute 'default = :height)
    =  :family (face-attribute 'default = :family)))

I understand why you did this, = but it is not quite logical, and somewhat invasive.  First, you = certainly do not do this with org-table.  Then why org-column = specifically?  Second, it overwrites the the value I set in the = emacs theme or custom-set-faces.  Third, the end result is quite = bizarre and odd-looking.  The "default" height and "default" family = is some how not what I set for the frame, because the font family and = size is set when emacs starts up and loaded the org-mode.  When I = use set-frame-font or text-scale-adjust, org-column will stick with the = old font family and size.  In fact, because the font family for = org-column and org-column-title are different, the result is just = bad.

I don't think it is only my problem, but = I'll describe my setup for themes/font.  I use default-frame-alist = to set the font family and size