all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "francisco.colaco\@gmail.com" <francisco.colaco@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: xdg-directories.el
Date: Wed, 07 Sep 2016 21:21:23 +0300	[thread overview]
Message-ID: <83zinj8tb0.fsf@gnu.org> (raw)
In-Reply-To: <CACwYkzyjV2jsTX3Cb0Us4tz1WsUP=avurw04Kgq8k52oBZRg_Q@mail.gmail.com> (francisco.colaco@gmail.com)

> From: "francisco.colaco@gmail.com" <francisco.colaco@gmail.com>
> Date: Wed, 7 Sep 2016 18:56:45 +0100
> 
> In Windows, it is not so simple. User application data should live in ~/AppData. I Think
> AppData/emacs/<data,config,cache,runtime>/ is a good starting point. Documents and pictures directories,
> however, have their names localised. Thus, we have to dwelve in the evil faded registry to get their names in
> the system, if any other method is not available.

There are existing APIs to retrieve these without looking in the
Registry, see, for example

 https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx

>  We should also think whether we need to do anything if we find more
>  than one init.el in these places.
> 
> The first to be found takes precedence and is read, to the exclusion of the postcedent.

I'm not sure I agree.  We might want at least warn the user.



  parent reply	other threads:[~2016-09-07 18:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 15:24 xdg-directories.el francisco.colaco
2016-09-06 21:49 ` xdg-directories.el Noam Postavsky
2016-09-06 22:37   ` xdg-directories.el francisco.colaco
2016-09-07  0:35     ` xdg-directories.el Stefan Monnier
2016-09-07 14:18 ` xdg-directories.el Eli Zaretskii
2016-09-07 14:59   ` xdg-directories.el francisco.colaco
2016-09-07 15:21     ` xdg-directories.el Stefan Monnier
2016-09-07 15:31     ` xdg-directories.el francisco.colaco
2016-09-07 15:54       ` xdg-directories.el Eli Zaretskii
2016-09-07 16:13         ` xdg-directories.el francisco.colaco
2016-09-07 16:28           ` xdg-directories.el francisco.colaco
2016-09-07 17:32           ` xdg-directories.el Eli Zaretskii
     [not found]             ` <CACwYkzyjV2jsTX3Cb0Us4tz1WsUP=avurw04Kgq8k52oBZRg_Q@mail.gmail.com>
2016-09-07 18:21               ` Eli Zaretskii [this message]
2016-09-07 16:46         ` xdg-directories.el Stefan Monnier
2016-09-07 17:24           ` xdg-directories.el Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zinj8tb0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=francisco.colaco@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.