agelessdummy / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Multiple (wiki list) diary html output not written to associated wiki list #378

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.With multiple wiki lists defined, open specific wiki
2.Create new diary entry, save and generate html
3.Backspacing to diary index always opens the diary index of the 1st wiki list 
defined regardless of which diary and associated wiki is being edited

What is the expected output? What do you see instead?
Except for the 1st wiki list defined, all diary entries for other lists are 
written in subdirectories of the 1st wiki list html directory e.g.
~/vimwiki/wikilist1/html/diary/*html
~/vimwiki/wikilist1/html/wikilist2/diary/*html
~/vimwiki/wikilist1/html/wikilist3/diary/*html...
Also, fhe wikilist name of the improper diary directory is sometimes mangled, 
e.g. instead of "wikilist2", will show up as "ikilist2" 
(~/vimwiki/wikilist1/html/ikilist2/diary/*html)

I would expect:
~/vimwiki/wikilist1/html/diary/*html
~/vimwiki/wikilist2/html/diary/*html
~/vimwiki/wikilist3/html/diary/*html...

What version of the product are you using? On what operating system?
Vimwiki 2.01
Debian Linux, kernel 3.2.0-3

Please provide any additional information below.
wikilist defined in .vimrc as:

        let g:auto_export=1
        let g:vimwiki_use_calendar=1
        let g:vimwiki_list = [
            \ {'path':                  '~/vimwiki/wikilist1/',
            \ 'path_html':              '~/vimwiki/wikilist1/html/',
            \ 'auto_export':            1,
            \ 'index':                  'index',
            \ 'ext':                    '.wiki',
            \ 'syntax':                 'default',
            \ 'template_path':          '~/vimwiki/templates/',
            \ 'template_default':       'default',
            \ 'template_ext':           '.html',
            \ 'css_name':               'default.css',
            \ 'diary_rel_path':         'diary/',
            \ 'diary_index':            'diary',
            \ },
           \ {...next wiki list definition... (have 5 wiki lists defined in total)

Original issue reported on code.google.com by sdot...@gmail.com on 5 Oct 2012 at 2:07

GoogleCodeExporter commented 8 years ago
I was able to reproduce the directory name mangling described above by removing 
the directories and opening up the diaries and writing out a diary page.

However, as a test, I defined a new wiki list in position 1 (bringing my total 
to 6 wiki's). Writing out diary entries this time yielded correctly formed 
wikilist names, though, all diarie html directories are still hung off the html 
directory of the first wikilist defined as described above:

~/vimwiki/wikilist1/html/diary/*html
~/vimwiki/wikilist1/html/wikilist2/diary/*html
~/vimwiki/wikilist1/html/wikilist3/diary/*html...

Original comment by sdot...@gmail.com on 5 Oct 2012 at 8:38

GoogleCodeExporter commented 8 years ago
This problem is no longer occuring. Not sure what has changed (plugin 
updates/conflicts). Directory structure has not changed but backspace now 
returns to parent directory index file.

Please close this issue.

Original comment by sdot...@gmail.com on 1 Sep 2013 at 7:35