From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: a window with my agenda at all times Date: Mon, 27 Jun 2011 18:29:32 +0100 Message-ID: <87ei2f89oj.fsf@ucl.ac.uk> References: <86mxh4oah3.fsf@mn.cs.uvic.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbGIG-0007ro-GL for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:12:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbGIC-0001OF-VN for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:12:20 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:58660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbGIC-0001Np-Hl for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:12:16 -0400 In-Reply-To: <86mxh4oah3.fsf@mn.cs.uvic.ca> (D. M. German's message of "Sun, 26 Jun 2011 11:53:28 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: dmg@uvic.ca Cc: emacs-orgmode@gnu.org D M German 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)