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 04:34:16 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1371436570 15492 80.91.229.3 (17 Jun 2013 02:36:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 02:36:10 +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 04:36:10 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 1UoPIf-0008P1-Ez for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jun 2013 04:36:09 +0200 Original-Received: from localhost ([::1]:33094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPIe-0006fB-N3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2013 22:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPIZ-0006ev-Ir for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoPIY-0001xX-IY for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:36:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPIY-0001xT-EQ for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UoPIY-0002HC-68; Sun, 16 Jun 2013 22:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jun 2013 02:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs X-Debbugs-Original-Xcc: monnier@iro.umontreal.ca Original-Received: via spool by submit@debbugs.gnu.org id=B.13714365098613 (code B ref -1); Mon, 17 Jun 2013 02:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jun 2013 02:35:09 +0000 Original-Received: from localhost ([127.0.0.1]:49340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoPHg-0002Ep-9S for submit@debbugs.gnu.org; Sun, 16 Jun 2013 22:35:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42834) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoPHe-0002EA-6Q for submit@debbugs.gnu.org; Sun, 16 Jun 2013 22:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoPHY-0001al-2K for submit@debbugs.gnu.org; Sun, 16 Jun 2013 22:35:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPHX-0001ag-Vf for submit@debbugs.gnu.org; Sun, 16 Jun 2013 22:34:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPHX-0006Xy-24 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:34:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoPHW-0001aW-4N for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:34:58 -0400 Original-Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]:41893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoPHV-0001aJ-U3 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2013 22:34:58 -0400 Original-Received: by mail-ee0-f52.google.com with SMTP id c50so1470370eek.39 for ; Sun, 16 Jun 2013 19:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WYhH45svDhH0x7Nt9Gsde3o1qLPj3dY2uzvoJnHaVRc=; b=lpBXpBdumh9rZ02cTJ5G8xo8zRHbO/525k8zbQ0fIjNc38a6IqDwTNZSlYyDN/FYUn s/TP1xI48/HyUrZg9SF9hg5seaKkefv6qrczYV0/3+/sVWBpEG5jL6gIMIr6Tis68+e5 eJcsAcSK7nDjw+vFlKNqFlxMv2wxsX5JLVl6dh3640ZVDLv1HTffmFbApfC/9kx3cp46 e2syo6BWfD4s8oa62MvBuF6T/iMOWIsp8JT2GzaWOgOId9kRRWoG8Jwc7SAoxplh8YqY cUO94TafMdssWXc7Db7JiUq7YWv5SvRP6xz8MOQ3pSL3wMus08DipawzhWPePrak2EPz lVmg== X-Received: by 10.15.102.68 with SMTP id bq44mr967948eeb.89.1371436496905; Sun, 16 Jun 2013 19:34:56 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Sun, 16 Jun 2013 19:34:16 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:75233 Archived-At: 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.