emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: dmg@uvic.ca
Cc: emacs-orgmode@gnu.org
Subject: Re: a window with my agenda at all times
Date: Mon, 27 Jun 2011 18:29:32 +0100	[thread overview]
Message-ID: <87ei2f89oj.fsf@ucl.ac.uk> (raw)
In-Reply-To: <86mxh4oah3.fsf@mn.cs.uvic.ca> (D. M. German's message of "Sun, 26 Jun 2011 11:53:28 -0400")

D M German <dmg@uvic.ca> 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)

  parent reply	other threads:[~2011-06-27 18:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-26 15:53 a window with my agenda at all times D M German
2011-06-27 16:42 ` Bastien
2011-06-27 17:34   ` dmg
2011-06-27 17:29 ` Eric S Fraga [this message]
2011-06-27 18:38   ` dmg
2011-06-28  9:44     ` Bastien
2011-06-27 18:47   ` D M German

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei2f89oj.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=dmg@uvic.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).