[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] a window with my agenda at all times
From: |
Eric S Fraga |
Subject: |
Re: [O] a window with my agenda at all times |
Date: |
Mon, 27 Jun 2011 18:29:32 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
D M German <address@hidden> writes:
> Hi everybody,
>
> I struggle to keep (in emacs) a window with the agenda at all times. If
> anybody has any pointers on how to get a window or a frame to "stick" at
> all times with the contents of a frame, and basically be ignored from
> any window-related command (split, kill, etc), I would be grateful.
>
> For a long time I have wanted a sticky window that keeps this
> information. Like a sticky note on my desktop (think a widget in
> Android).
I can't answer your question directly but I have done this in the past
by using /conky/ to display the contents of a file (updating
automatically) where the file is created by Emacs to consist of the
output of the agenda command. This elisp snippet writes out the agenda
to a specified file (untested):
--8<---------------cut here---------------start------------->8---
(save-window-excursion
(org-batch-agenda "a")
(org-write-agenda "some-file-name"))
--8<---------------cut here---------------end--------------->8---
In conky, you can use the /head/ directive to output a specified number
of lines.
Conky can write to the root window (i.e. the screen) or to a window.
The former works better, in my opinion, but this may depend on the
window manager you use.
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.461.g6d18)