On Mar 4, 2014 7:30 AM, "Jean-François Bignolles" <[email protected]>
wrote:
>
> Hello,
>
> the attached patch adds support for XDG Base Directory Specification.
> This is a compile-time option ("--enable-xdg-basedir"), off by default.
> See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
> for details.
>
> When enabled:
>
> - Vim handles environment variables XDG_CACHE_HOME, XDG_CONFIG_HOME
>   and XDG_DATA_HOME as specified in the spec (i.e. expands them with
>   default values if they aren't defined).

What about making this part not depend on configure options?

>
> - Directory options and user configuration files handling are changed
>   to enable XDG organization (by using XDG_* variables).
>
> In the patch, look for 'os_unix.txt' diff for more details.

Views should go to config dir. These are not caches.

Swap files to XDG_RUNTIME_DIR and do so by default.

Also what about populating &rtp from XDG_CONFIG_DIRS?

>
> jfb
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
"vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui