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
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
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',
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
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
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
6 matches
Mail list logo