Hi Herbert,
>
> echo g:agenda_files
>
This is fine, it outputs correctly the list.
> This should be a list of filenames. If it's an error or empty list (i.e.,
> []) then it means there's something wrong with the way you've constructed
> your list using the 'split(glob(....' expression. Do you actually have
> filenames ending in .org in your '~/org/' directory?
Yes, I have. I have been using them for the last 3 years with emacs,
but I would like to get it working with vim, to be honest, and your
plugin is very nice.
ls -l org/
total 108
-rw-r--r--. 1 ragerri users 1276 Dec 3 20:07
admin.org
-rw-r--r--. 1 ragerri users 4013 Nov 22 2012
candc.org
-rw-r--r--. 1 ragerri users 11701 Dec 2 17:18
coreference.org
-rw-r--r--. 1 ragerri users 464 Mar 5 2013
mcr.org
-rw-r--r--. 1 ragerri users 273 Jan 28 2013
metaphor.org
-rw-r--r--. 1 ragerri users 1700 Oct 3 14:52
ned.org
-rw-r--r--. 1 ragerri users 6402 Nov 7 16:18
ner.org
-rw-r--r--. 1 ragerri users 741 May 16 2013
newsreader.org
-rw-r--r--. 1 ragerri users 17965 Dec 4 11:09
opener.org
-rw-r--r--. 1 ragerri users 8962 Nov 25 09:50
opennlp.org
-rw-r--r--. 1 ragerri users 3314 Oct 3 14:55
paths.org
-rw-r--r--. 1 ragerri users 2803 Jul 9 16:08
proposals.org
-rw-r--r--. 1 ragerri users 3319 Nov 6 19:17
publications.org
-rw-r--r--. 1 ragerri users 4221 Nov 6 19:17
sentiment.org
-rw-r--r--. 1 ragerri users 2938 Nov 22 2012
smt.org
-rw-r--r--. 1 ragerri users 530 Nov 6 19:17
supervision.org
-rw-r--r--. 1 ragerri users 312 Jul 9 16:08
teaching.org
> The other thing you could check is if you can open multiple files and use
> the 'agenda files dashboard' to add them to g:agenda_files list. This is
> accessed with the comma-a-f keycombo. You will need to assign directory
> list to g:org_agenda_select_dirs if you want to use the 'edit agenda files'
> choice.
>
> For some more info see help: :h vimorg-agenda-files.
>
> HOWEVER, I just noticed an error in the help file, which incorrectly says
> the agenda dirs variable is g:org_agenda_dirs. It should be
> 'g:org_agenda_select_dirs'. ALSO, at one spot it incorrectly references the
> agenda files variable as g:org_agenda_files. That's wrong, you are already
> using correct reference of g:agenda_files. (I expect you got that from the
> sample vimrc file, which had the correct form for assignments of agenda
> files and agenda dirs variables.)
I do this, add the files, the echo of the agenda_files variables is
also fine but I go back to box 1, the week view of the agenda does not
show any dates if I have the cursor on any place and it gives me the
same Dictionary error if placed on a TODO heading.
Same result as by adding the list to the .vimrc.
Thanks,
Rodrigo