qqzsxyz / vimwiki

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

Autoexport is called first when opening vimwiki diary entry from a blank document #293

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a blank document
2. Hit <leader>w<leader>w to open a diary page

What is the expected output? What do you see instead?

I would expect the diary page to open immediately since no changes have yet 
been made to warrant calling the export function.

However, it takes a loooong time to open while the diary is first exported to 
html.

What version of the product are you using? On what operating system?

Dev version rev 491 on linux

Thanks!
Scott

Original issue reported on code.google.com by firecat4...@gmail.com on 21 Mar 2012 at 9:50

GoogleCodeExporter commented 8 years ago
I provided a patch in racab37017e2b that I believe will help.  Please report 
back if you have further troubles.

I am not going to close the issue, however, b/c I am not an expert on the 
auto_export feature.  Perhaps there's a better solution.

Original comment by stu.andrews on 22 Mar 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Well, now I'm not sure if it's html autoexport or something else. When I open 
the daily diary page from a non-wiki page, it pauses first and I see this 
message at the bottom:

"path/to/diary.wiki" 207L, 4685C written

Why would the main diary page need to be written before the daily page is 
opened?

Thanks,
Scott

(FYI this is the same with rev 505)

Original comment by firecat4...@gmail.com on 22 Mar 2012 at 7:12

GoogleCodeExporter commented 8 years ago
We are aware of this.  Whenever a new note is created, we first load the diary 
index file.  The reason for this is a bit technical.  See issue 290 for more 
details.

Original comment by stu.andrews on 22 Mar 2012 at 8:13

GoogleCodeExporter commented 8 years ago
I am going to revise diary stuff before the next release so I will have a look 
into this.

Original comment by habamax on 28 Mar 2012 at 4:25

GoogleCodeExporter commented 8 years ago
Auto diary index entry is removed. A command to insert/refresh diary section 
would be introduced.

Original comment by habamax on 3 May 2012 at 4:42