[Zim-wiki] Win32: configuration path

2012-10-29 Thread klo uo
Hi, I run zim-0.57 from source on XP, and I arranged/mapped some topics with appropriate PDF file links, then discovered that I can even customize which application handles the link. Great! However, the path to my custom application had spaces in it, and it failed to launch. OK, figured that and

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread Jaap Karssenberg
On Mon, Oct 29, 2012 at 9:52 AM, klo uo klo...@gmail.com wrote: Now I have a suggestion: If you are willing to change this behavior for Windows users and their special folders (http://en.wikipedia.org/wiki/Special_folder), please don't use just %USERPROFILE% aka os.path.expanduser('~'), as

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread klo uo
Hi Japp, This sounds like a reasonable proposal. Indeed setting XDG_DATA to the relevant path will change the lookup path for zim. Probably you'll also want to do something similar for XDG_CONFIG and XDG_CACHE. All these parameters are initialized in zim/config.py, feel free to patch it

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread Jaap Karssenberg
On Mon, Oct 29, 2012 at 3:36 PM, klo uo klo...@gmail.com wrote: XDG_DATA_HOME = Dir( get_environ('XDG_DATA_HOME', os.environ['APPDATA'] + '//zim//data')) XDG_DATA_DIRS = Dir( get_environ('XDG_DATA_DIRS',

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread klo uo
On Mon, Oct 29, 2012 at 3:43 PM, Jaap Karssenberg wrote: The XDG_xxx_DIRS variables are lookup paths for system defaults for files not found in the corresponding XDG_xxx_HOME folder. So should probably include at least the fallback location. If I read this right, then if XDG_xxx_DIRS are set

[Zim-wiki] Export to Dokuwiki

2012-10-29 Thread hansbkk
I've got a Zim notebook I'd like to move to the web but still leave it open for further collaborative input as a wiki. It seems to me that DW would be a good way to do this. Is it as straightforward as I think it should be? It looks like indexmenu can accommodate the fact that the headpages are

Re: [Zim-wiki] Export to Dokuwiki

2012-10-29 Thread Jaap Karssenberg
On Mon, Oct 29, 2012 at 5:16 PM, hans...@gmail.com wrote: I've got a Zim notebook I'd like to move to the web but still leave it open for further collaborative input as a wiki. It seems to me that DW would be a good way to do this. Is it as straightforward as I think it should be? Yes and

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread klo uo
On Mon, Oct 29, 2012 at 8:42 PM, Jaap Karssenberg wrote: So that if user has config files as in zim 0.57 config folders, above snippet will make it compatible to potentially new config folder scheme? Yes, that is the idea. That sounds great :) Probably the CACHE variable should go to a

Re: [Zim-wiki] Win32: configuration path

2012-10-29 Thread klo uo
On Tue, Oct 30, 2012 at 6:24 AM, klo uo wrote: ... XDG_DATA_HOME = Dir( get_environ('XDG_DATA_HOME', os.environ['APPDATA'] + '//zim//data')) ... Yet more issues, double forward