GNU bug report logs - #20770
24.5; feature request: support relative path in package.el

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Oleh Krehel <ohwoeowho@HIDDEN>; dated Mon, 8 Jun 2015 12:33:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jun 2015 12:32:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 08 08:32:36 2015
Received: from localhost ([127.0.0.1]:44829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z1wEF-0002ES-00
	for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 08:32:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53188)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wE8-00028S-BS
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 08:32:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wE2-0008PH-6B
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 08:32:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39848)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wE2-0008PD-2B
 for submit <at> debbugs.gnu.org; Mon, 08 Jun 2015 08:32:22 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38438)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wE0-0006tu-U8
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jun 2015 08:32:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wDv-0008F6-QI
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jun 2015 08:32:20 -0400
Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:34100)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ohwoeowho@HIDDEN>) id 1Z1wDv-0008Ev-Jz
 for bug-gnu-emacs@HIDDEN; Mon, 08 Jun 2015 08:32:15 -0400
Received: by wibut5 with SMTP id ut5so84617884wib.1
 for <bug-gnu-emacs@HIDDEN>; Mon, 08 Jun 2015 05:32:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=cBptzNdB2Z4jdsu8aWjaahur46nA+BL14FZzMpdQwjk=;
 b=MtX+zuKB7UxcX75Si/huNTBMUuB6tLv30hQwCT5y2NjNLaTRxYDwja9YCwI97pXL9p
 iPfoqs3H/C/PJqChXrLqWOUvGdirAE8Dg6Zneve+sKGx4XX6MVrkCKTTRPhLl+7AEjiT
 h8pApxGU+rpuurLFd9dE+GfpZzm5E+bhTDiTnnGAOGpgvTIbFVnwBMI+5mgQXpMtl+ud
 473xcsQEihtMciEVBWH6exhdv3vhOKCf7c0ZJXXFQ0JouCfL0L7SE4jm0IQjXcczxV1m
 iQQnFf1MBkf62LyEw7KmVUMTsIY0uD/lQSVWiweflJ0+/c9viRxrCGCtgg9tJdnG+ixs
 Bq7g==
X-Received: by 10.194.172.130 with SMTP id bc2mr32396974wjc.85.1433766735028; 
 Mon, 08 Jun 2015 05:32:15 -0700 (PDT)
Received: from firefly ([131.155.69.45])
 by mx.google.com with ESMTPSA id cd9sm4067309wjc.34.2015.06.08.05.32.14
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Mon, 08 Jun 2015 05:32:14 -0700 (PDT)
From: Oleh Krehel <ohwoeowho@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.5; feature request: support relative path in package.el
Date: Mon, 08 Jun 2015 14:25:36 +0200
Message-ID: <878ubu4can.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


Suppose I my config directory looks like this:

    elpa/
    etc/
    Makefile
    init.el
    packages.el

The ELPA packages go into elpa/, and packages.el looks like:

    (dolist (package '("slime"))
      (unless (package-installed-p package)
        (package-install package)))

And I install/upgrade my packages with a Makefile:

    emacs -batch -l packages.el 2>&1 | tee etc/log

But now, if I open etc/log, all byte compilation warnings generated by
package.el are relative to elpa/slime-20150601.1411/, so I can't jump to
them if I enable `compilation-mode'.

Obviously, this isn't high priority, but it would be cool if we could
have:

    (defvar package-target-path "."
      "The byte-compilation warnings will target this path.")

So I could set it temporarily to "~/.emacs.d/log/", and then instead of
this:

    In slime-parse-extended-operator-name:
    contrib/slime-enclosing-context.el:45:36:Warning: reference to free
    variable `slime-extended-operator-name-parser-alist'

I could get this:

    In slime-parse-extended-operator-name:
    ../elpa/slime-20150601.1411/contrib/slime-enclosing-context.el:45:36:Warning:
    reference to free variable `slime-extended-operator-name-parser-alist'




Acknowledgement sent to Oleh Krehel <ohwoeowho@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20770; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.