jceb / vim-orgmode

Text outlining and task management for Vim based on Emacs' Org-Mode
http://www.vim.org/scripts/script.php?script_id=3642
Other
3.12k stars 266 forks source link

When no agenda files are defined add current file to agenda files #192

Open tpaixao opened 9 years ago

tpaixao commented 9 years ago

vimOrganizer does this and it makes sense...

Moreover, if a new user is trying out the features, and tries to invoke the TODO dashboard, he will only see error messages.

Shurakai commented 9 years ago

org-mode itself doesn't do it; I assume that they presume users to have their well-defined set of files that they use and want to open from any location.

In emacs org-mode, one can however restrict the agenda to the current buffer by pressing "<" several times. It doesn't matter in this case if the file is in the list or not, see http://orgmode.org/manual/Agenda-files.html#Agenda-files

Ron89 commented 8 years ago

I also think the current agenda setting is a bit confusing. As in, I didn't use emacs agenda at all, and before coming across this thread, I don't even know what the error message meant. I think it's better to at least add some information in the documentation and some error handler to make the error Message more informative.