From: "Gustav Wikström" <gustav.erik@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org-agenda-custom-commands, restrict Agenda to file/files?
Date: Thu, 6 Oct 2011 15:18:11 +0200 [thread overview]
Message-ID: <CA+SyOP9sixMJ-D4uLtiRqNr1A_6oHsM1HgMobq_1CbTXvMo7Sg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
Hello!
I'm currently using the feature to restrict the org-agenda (C-a a) to a
certain file and then enable the log-mode. I do this to view all my clocked
time in that file. Currently this means opening the file and then open the
agenda with "C-a < a l"
I want to simplify this with a custom-command. And here comes my problem,
what is the option to restrict the agenda to a certain file? Changing the
org-agenda-files list does not seem to make a difference when using a custom
agenda.
It works for other custom agenda commands (see
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html#sec-4),
and it works interactively but I cannot get it to work with an agenda
command inside org-agenda-custom-commands.. Can someone enlighten me on this
subject?
Kind regards
Gustav
[-- Attachment #2: Type: text/html, Size: 1012 bytes --]
next reply other threads:[~2011-10-06 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 13:18 Gustav Wikström [this message]
2011-10-06 13:45 ` Org-agenda-custom-commands, restrict Agenda to file/files? suvayu ali
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=CA+SyOP9sixMJ-D4uLtiRqNr1A_6oHsM1HgMobq_1CbTXvMo7Sg@mail.gmail.com \
--to=gustav.erik@gmail.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).