emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Rainer Stengele <rainer.stengele@diplan.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: automatically (?) including an org-file in org-agenda-files ...
Date: Tue, 25 Sep 2007 09:47:25 -0700	[thread overview]
Message-ID: <9831ec6fb2fc537333ba0d4c13d90706@science.uva.nl> (raw)
In-Reply-To: <fcto69$44r$1@sea.gmane.org>


On Sep 20, 2007, at 5:14, Rainer Stengele wrote:

> I sometimes work in an org-file that I currently do not have included 
> in org-agenda-files.
>
> Having the cursor for example on a timestamp in that file and pressing 
> TAB I will see the agenda of
> that day.
>
> What happens is that the agenda opens and I do not see my todo since 
> the file is not in
> org-agenda-files. This seems unintuitive to me. I will then manually 
> add the current file to
> org-agenda-files.
>
> Maybe there could be a variable allowing to automatically include the 
> current org file in
> org-agenda-files when agenda view is activated from a on-included file?
>
> What do you think?

After some thinking, it seems to me that this is not the right thing to 
do.
As I said earlier in the thread, adding a file should be something
you explicitly request.

It you want to temporarily look at the agenda entry a file would 
produce,
you can always create an agenda restricted to the current buffer.  That
buffer does not have to be a member of org-agenda-files.

E.g.

C-c a 1 a

- Carsten

      parent reply	other threads:[~2007-09-25 16:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20 12:14 automatically (?) including an org-file in org-agenda-files Rainer Stengele
2007-09-20 13:50 ` Bastien
2007-09-21 14:23   ` Carsten Dominik
2007-09-21 14:39     ` Bastien
2007-09-24 14:39       ` Rainer Stengele
2007-09-25 16:09         ` Carsten Dominik
2007-09-25  1:00     ` Xavier Maillard
2007-09-28 22:46       ` Bastien
2007-09-25 16:47 ` Carsten Dominik [this message]

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=9831ec6fb2fc537333ba0d4c13d90706@science.uva.nl \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@diplan.de \
    /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).