emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tommy Kelly <tommy.kelly@verilab.com>
To: emacs-orgmode@gnu.org
Subject: Custom agenda -- running functions, not just setting vars
Date: Wed, 9 Nov 2011 11:32:12 +0000	[thread overview]
Message-ID: <CAMg28OvqVBoNTp1yqo7OzxrSrOnnUE0h=onWAWuYMW+UuzEugw@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-11-09 11:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 11:32 Tommy Kelly [this message]
2011-11-09 12:18 ` Custom agenda -- running functions, not just setting vars Bernt Hansen
2011-11-09 12:29   ` Sebastien Vauban
2011-11-09 12:47     ` Sebastien Vauban
2011-11-09 20:49     ` Sebastien Vauban
2011-11-09 21:00       ` Sebastien Vauban
2011-11-09 13:19   ` Tommy Kelly

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='CAMg28OvqVBoNTp1yqo7OzxrSrOnnUE0h=onWAWuYMW+UuzEugw@mail.gmail.com' \
    --to=tommy.kelly@verilab.com \
    --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).