From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tommy Kelly Subject: Custom agenda -- running functions, not just setting vars Date: Wed, 9 Nov 2011 11:32:12 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO6Oo-0005TK-BX for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 06:32:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO6On-0002Nl-4c for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 06:32:58 -0500 Received: from cather.verilab.com ([64.20.234.125]:38076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO6Om-0002Nf-Pt for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 06:32:57 -0500 Received: from mail-bw0-f43.google.com (mail-bw0-f43.google.com [209.85.214.43]) by cather.verilab.com (Postfix) with ESMTPS id A3A401CA7A4 for ; Wed, 9 Nov 2011 11:32:54 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so1578403bkb.2 for ; Wed, 09 Nov 2011 03:32:53 -0800 (PST) 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: emacs-orgmode@gnu.org I'm trying to set up a custom agenda view such that when I enter my agenda I get, automatically: - daily view mode (for today) - log file mode on - grid on - Follow mode on I can see from the docs how to modify the various variables that control some of how agendas look. But the above are controlled by functions and I'm not sure how to have those invoked when I open an agenda. I've been messing with org-mode-agenda-hook and org-agenda-after-show-hook, but I clearly don't know what I'm doing. Any ideas? thanks, Tommy