From: Artur Malabarba <arturmalabarba@gmail.com>
To: 20839@debbugs.gnu.org
Subject: bug#20839: 25.0.50; file-in-directory-p doesn't understand windows backslashes
Date: Wed, 17 Jun 2015 19:58:18 +0100 [thread overview]
Message-ID: <CAAdUY-JTSJK1zkbo1B=iZ-Nys3wZRFcvWeg4Bm7rTBn69uqTTg@mail.gmail.com> (raw)
On windows, the following form returns nil, but I think it should
return non-nil (\\ and / are usually accepted interchangeably on
windows).
(file-in-directory-p "~/.emacs.d/elpa/magit/" "~\\.emacs.d\\elpa")
This is causing an issue[1] on the package.el's detection of external
packages on windows.
[1]: http://emacs.stackexchange.com/q/13166/50
next reply other threads:[~2015-06-17 18:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 18:58 Artur Malabarba [this message]
2015-06-17 19:51 ` bug#20839: 25.0.50; file-in-directory-p doesn't understand windows backslashes Eli Zaretskii
2015-06-17 20:13 ` Artur Malabarba
2015-06-17 20:48 ` Eli Zaretskii
2015-06-18 8:31 ` Eli Zaretskii
2015-06-18 10:03 ` Artur Malabarba
2015-06-18 10:15 ` 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='CAAdUY-JTSJK1zkbo1B=iZ-Nys3wZRFcvWeg4Bm7rTBn69uqTTg@mail.gmail.com' \
--to=arturmalabarba@gmail.com \
--cc=20839@debbugs.gnu.org \
/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.