unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bryan Childs <godeater@gmail.com>
Cc: 20844@debbugs.gnu.org
Subject: bug#20844: 25.0.50; Packages installed with package.el show up as status 'External' in	the list-packages buffer
Date: Thu, 18 Jun 2015 19:13:14 +0300	[thread overview]
Message-ID: <83a8vxknad.fsf@gnu.org> (raw)
In-Reply-To: <CAFMvb4saatUeq_3wX-x=6RYXAg-2jRvaNgGCu3WfQz7S11sJqQ@mail.gmail.com>

> Date: Thu, 18 Jun 2015 13:45:06 +0100
> From: Bryan Childs <godeater@gmail.com>
> 
> (file-in-directory-p "~/.emacs.d/elpa/magit/" "~\\.emacs.d\\elpa")
> nil
> (file-in-directory-p "~/.emacs.d/elpa/magit-20150608.1139/"
> "~\\.emacs.d\\elpa")
> nil

I cannot reproduce this problem on my Windows machine.  I get t, not
nil.  (I don't have a 'magit' sub-directory, so I tried with a
different name, but it shouldn't matter.)

So there's some other factor at work here.

Where exactly is your "~" directory?  Please show its full absolute
Windows file name.  Also, what do you see if you evaluate the
following expressions, one by one, using 'M-:' ?

  (file-attributes "~/.emacs.d/elpa/magit" 'string)
  (file-attributes "~/.emacs.d/elpa" 'string)
  (file-attributes "~/.emacs.d" 'string)
  (file-attributes "~" 'string)

Finally, please try evaluating this in "emacs -Q":

  (file-in-directory-p "~/.emacs.d/elpa/magit/" "~\\.emacs.d\\elpa")

Do you still get nil in "emacs -Q"?

Thanks.





  reply	other threads:[~2015-06-18 16:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 12:45 bug#20844: 25.0.50; Packages installed with package.el show up as status 'External' in the list-packages buffer Bryan Childs
2015-06-18 16:13 ` Eli Zaretskii [this message]
2015-06-18 19:21   ` Bryan Childs
2015-06-18 20:13     ` Eli Zaretskii
     [not found]       ` <CAFMvb4u5_9eY+29pPt-6RO3KdwM=9WnXCRkJpTftW5hffF_7Wg@mail.gmail.com>
2015-06-19  8:35         ` Eli Zaretskii
2015-06-19  8:57           ` Bryan Childs
2015-06-19 17:49             ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83a8vxknad.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20844@debbugs.gnu.org \
    --cc=godeater@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).