unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: steckerhalter <emacs@postmomentum.ch>
To: emacs-devel@gnu.org
Subject: Builtin packages not detected/listed in Emacs trunk
Date: Thu, 27 Mar 2014 21:24:45 +0100	[thread overview]
Message-ID: <CAJa170r8-9jrx9O6LCHMuGZNUegBE+J1kMoyUt4g94UEAfxhvw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

We have stumbled on an odd bug trying to install a package with
package-install-file in Emacs trunk. With Emacs 24.3.1 it works, with Emacs
trunk we get an error that a builtin library (thingatpt in this case) is
not available (for more details see the bottom of
https://github.com/quelpa/quelpa/issues/11).

The culprit seems to be this:

(package-built-in-p 'thingatpt '(0 0 0)) ; emacs 24.4
nil

(package-built-in-p 'thingatpt '(0 0 0)) ; emacs 24.3
t

but:

(package-built-in-p 'thingatpt) ; emacs 24.4
(thingatpt . [nil nil "get the `thing' at point"])

(package-built-in-p 'thingatpt) ; emacs 24.3
t

If you check list-packages you will also not find thingatpt in the list of
builtins in 24.4 which cannot be correct, right? Only packages that have a
version are listed which is the minority.

cheers,
steckerhalter

[-- Attachment #2: Type: text/html, Size: 1248 bytes --]

             reply	other threads:[~2014-03-27 20:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 20:24 steckerhalter [this message]
2014-03-27 21:19 ` Builtin packages not detected/listed in Emacs trunk Stefan Monnier
2014-03-27 22:38   ` steckerhalter
2014-03-28  1:08   ` Glenn Morris
2014-03-28  1:55     ` Stefan Monnier
2014-03-28 20:45       ` steckerhalter
2014-03-28 22:48 ` Stefan Monnier
2014-03-29 10:59   ` steckerhalter

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=CAJa170r8-9jrx9O6LCHMuGZNUegBE+J1kMoyUt4g94UEAfxhvw@mail.gmail.com \
    --to=emacs@postmomentum.ch \
    --cc=emacs-devel@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).