From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakob Lombacher Subject: Re: Re: Tiny font in org-agenda-columns when using emacs --daemon Date: Fri, 16 Jul 2010 11:43:21 +0200 Message-ID: <201007161143.21665.mailing@lombacher.net> References: Reply-To: Jakob Lombacher Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49652 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZhS6-0001uL-F2 for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 05:43:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZhS4-0003qU-Uw for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 05:43:30 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:55498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZhS4-0003qM-QW for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 05:43:28 -0400 Received: by ewy28 with SMTP id 28so609023ewy.0 for ; Fri, 16 Jul 2010 02:43:26 -0700 (PDT) In-Reply-To: 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 That does the trick. Thanks! @Noorul: It doesn't matter where I start it from. I tried both. I also found out that the problem with the tiny fonts does not appear on my other system, ... also gentoo, but the emacs ist installed with less additional packages, and slightly different use flags. It's weired, but anyway the quick fix works. Jakob On Thursday 15 July 2010 09:56:26 Liang Wang wrote: > 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 > > _______________________________________________ > 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