* Tiny font in org-agenda-columns when using emacs --daemon
@ 2010-07-13 13:29 Jakob Lombacher
2010-07-14 16:19 ` Noorul Islam K M
2010-07-15 7:56 ` Liang Wang
0 siblings, 2 replies; 4+ messages in thread
From: Jakob Lombacher @ 2010-07-13 13:29 UTC (permalink / raw
To: Emacs-orgmode
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?
I use emacs 23.1-r3 on a gentoo linux system and org-mode 6.36c.
Jakob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tiny font in org-agenda-columns when using emacs --daemon
2010-07-13 13:29 Tiny font in org-agenda-columns when using emacs --daemon Jakob Lombacher
@ 2010-07-14 16:19 ` Noorul Islam K M
2010-07-15 7:56 ` Liang Wang
1 sibling, 0 replies; 4+ messages in thread
From: Noorul Islam K M @ 2010-07-14 16:19 UTC (permalink / raw
To: Jakob Lombacher; +Cc: Emacs-orgmode
Jakob Lombacher <Jakob@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 think you are tyring to run "emacs --daemon" from terminal window and
that might not load emacs in an X environment. This is my guess and I
might be wrong.
Thanks and Regards
Noorul
>
> 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?
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tiny font in org-agenda-columns when using emacs --daemon
2010-07-13 13:29 Tiny font in org-agenda-columns when using emacs --daemon Jakob Lombacher
2010-07-14 16:19 ` Noorul Islam K M
@ 2010-07-15 7:56 ` Liang Wang
2010-07-16 9:43 ` Jakob Lombacher
1 sibling, 1 reply; 4+ messages in thread
From: Liang Wang @ 2010-07-15 7:56 UTC (permalink / raw
To: emacs-orgmode
Jakob Lombacher <Jakob <at> 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 <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: Tiny font in org-agenda-columns when using emacs --daemon
2010-07-15 7:56 ` Liang Wang
@ 2010-07-16 9:43 ` Jakob Lombacher
0 siblings, 0 replies; 4+ messages in thread
From: Jakob Lombacher @ 2010-07-16 9:43 UTC (permalink / raw
To: emacs-orgmode
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 <Jakob <at> 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 <at> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-16 9:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 13:29 Tiny font in org-agenda-columns when using emacs --daemon Jakob Lombacher
2010-07-14 16:19 ` Noorul Islam K M
2010-07-15 7:56 ` Liang Wang
2010-07-16 9:43 ` Jakob Lombacher
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.