From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liang Wang Subject: Re: Tiny font in org-agenda-columns when using emacs --daemon Date: Thu, 15 Jul 2010 07:56:26 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36188 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZJMW-0004VK-JS for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 04:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZJMV-0004wn-E0 for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 04:00:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:37402) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZJMV-0004wK-8L for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 04:00:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZJMS-0000gL-L1 for emacs-orgmode@gnu.org; Thu, 15 Jul 2010 10:00:05 +0200 Received: from 210.13.71.68 ([210.13.71.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 10:00:04 +0200 Received: from netcasper by 210.13.71.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 10:00:04 +0200 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: emacs-orgmode@gnu.org Jakob Lombacher lombacher.net> writes: > > Hi, > > When I start emacs as daemon "emacs --daemon" and than attache a > client to it, the org-agenda-columns view appears in a very tiny font. > If I start emacs "normally" the view appears in standard font size. > > I found out that the "Org Column face" is set to different values > (Height: 1, ...). I can adapt it and it works, but when I start the > emacsclient again, all settings are lost. > So it looks like the emacsclient overwrites those settings. > > Has anybody an idea what's the cause of that? Can anybody report the > same behavior? > It's been annoying me for a long time. Here is my quick fix. (defun wl-org-column-view-uses-fixed-width-face () ;; copy from 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)))) (when (and (fboundp 'daemonp) (daemonp)) (add-hook 'org-mode-hook 'wl-org-column-view-uses-fixed-width-face)) > I use emacs 23.1-r3 on a gentoo linux system and org-mode 6.36c. > > Jakob > > _______________________________________________ > 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 > >