From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14639: package-initialize not run Date: Mon, 17 Jun 2013 15:35:37 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1371476239 12390 80.91.229.3 (17 Jun 2013 13:37:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 13:37:19 +0000 (UTC) To: 14639@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 17 15:37:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UoZcU-0003zW-4v for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jun 2013 15:37:18 +0200 Original-Received: from localhost ([::1]:46793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoZcT-00033e-GO for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jun 2013 09:37:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoZcL-00032b-J7 for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 09:37:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoZcF-0000PM-OR for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 09:37:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoZcF-0000PC-Kw for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 09:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UoZcE-0006nX-2h for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 09:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jun 2013 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14639-submit@debbugs.gnu.org id=B14639.137147618726058 (code B ref 14639); Mon, 17 Jun 2013 13:37:01 +0000 Original-Received: (at 14639) by debbugs.gnu.org; 17 Jun 2013 13:36:27 +0000 Original-Received: from localhost ([127.0.0.1]:50240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoZbe-0006mE-EA for submit@debbugs.gnu.org; Mon, 17 Jun 2013 09:36:26 -0400 Original-Received: from mail-ee0-f54.google.com ([74.125.83.54]:52152) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoZbb-0006li-N1 for 14639@debbugs.gnu.org; Mon, 17 Jun 2013 09:36:24 -0400 Original-Received: by mail-ee0-f54.google.com with SMTP id t10so1823250eei.27 for <14639@debbugs.gnu.org>; Mon, 17 Jun 2013 06:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=de7OpBWhoMhdsVGZYrXYnGlacS0iCTW2OBP5VhN6Ue4=; b=wedf25LOxBHBJHqHMrQrseCZ/pGCGKaNtSvLh4vyWQ39FYYqfLkiQFCQG2P8sGXn4w zUnY5RrRGqyqxXZHdWo6ce59jitAQQvDpxqNcIC/LELQYYwFUIv+0s15cq1fnW/Zexwv FhDm63+BJW/LrZtEXs6OlgZG54C1enLaLNPddGuozSAxpT3uIrWJy3IWkqrMOkJ4ROSc SXcZ93kTM/qiNWV90wPatZZNnySDpHUR+3nKVgiveXtrOXzrXTnlBaxaRjY26ieiWABQ tcq9P5sh7QRXomrwTASipvcShn4Kpa4ITlfy7VoUcTYDM8sFd2y24EkfafZ4H2TIaebH ltAQ== X-Received: by 10.14.38.198 with SMTP id a46mr16655052eeb.42.1371476177777; Mon, 17 Jun 2013 06:36:17 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Mon, 17 Jun 2013 06:35:37 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75242 Archived-At: On Mon, Jun 17, 2013 at 4:34 AM, Juanma Barranquero wrote: > or modifying package--description-file to return an absolute path. --- lisp/startup.el 2013-06-15 15:36:11 +0000 +++ lisp/startup.el 2013-06-17 13:34:39 +0000 @@ -423,5 +423,6 @@ (defun package--description-file (dir) - (concat (let ((subdir (file-name-nondirectory + (concat (file-name-as-directory dir) + (let ((subdir (file-name-nondirectory (directory-file-name dir)))) (if (string-match "\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)" subdir)