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



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to