bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20844: 25.0.50; Packages installed with package.el show up as status


From: Eli Zaretskii
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

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]