From: Juanma Barranquero <lekktu@gmail.com>
To: 14639@debbugs.gnu.org
Subject: bug#14639: package-initialize not run
Date: Mon, 17 Jun 2013 04:34:16 +0200 [thread overview]
Message-ID: <CAAeL0STbcyXSoavt_rov8eAEEeS2ktaUdvRrDA8QE-nnYyF=tQ@mail.gmail.com> (raw)
Package: emacs
Version: 24.3.50
X-Debbugs-CC: monnier@iro.umontreal.ca
package-initialize is not being run because the code to detect
description files does
(when (let ((subdir (expand-file-name subdir dir)))
(and (file-directory-p subdir)
(file-exists-p
(package--description-file subdir))))
(throw 'package-dir-found t)))))))
but package--description-file does not return an absolute filename, so
file-exists-p fails.
Either this patch is needed,
=== modified file 'lisp/startup.el'
--- lisp/startup.el 2013-06-15 15:36:11 +0000
+++ lisp/startup.el 2013-06-17 02:21:06 +0000
@@ -1204,5 +1204,7 @@
(and (file-directory-p subdir)
(file-exists-p
- (package--description-file subdir))))
+ (expand-file-name
+ (package--description-file subdir)
+ subdir))))
(throw 'package-dir-found t)))))))
(package-initialize))
or modifying package--description-file to return an absolute path.
next reply other threads:[~2013-06-17 2:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 2:34 Juanma Barranquero [this message]
2013-06-17 13:35 ` bug#14639: package-initialize not run Juanma Barranquero
2013-06-17 14:45 ` Stefan Monnier
2013-06-17 15:36 ` Juanma Barranquero
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='CAAeL0STbcyXSoavt_rov8eAEEeS2ktaUdvRrDA8QE-nnYyF=tQ@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=14639@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 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).