Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Liang Wang <netcasper <at> gmail.com>
Subject: Re: Tiny font in org-agenda-columns when using emacs --daemon
Newsgroups: gmane.emacs.orgmode
Date: Thursday 15th July 2010 07:56:26 UTC (over 7 years ago)
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.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
CD: 3ms