From: Fabrice Niessen <fni-news-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>
To: Glenn Morris <rgm-mXXj517/zsQ@public.gmane.org>
Cc: 18332-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
Date: Tue, 02 Sep 2014 12:12:11 +0200 [thread overview]
Message-ID: <86r3zunxfo.fsf@somewhere.org> (raw)
In-Reply-To: <ea38cf3qpl.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org> (Glenn Morris's message of "Fri, 29 Aug 2014 17:56:22 -0400")
Glenn Morris wrote:
> Fabrice Niessen wrote:
>
>> Anyway, I got the exact same problem in many other "ELPA" packages
>> (Dired+, Helm, YASnippet, etc.) though not all (not in Dired-single,
>> Fuzzy, Idle-require to name a few).
>>
>> Half wrong, half right. I had to delete the package-pkg.el(c) files, in
>> order to be able to launch Cygwin Emacs-w32. Dunno why the exact same
>> config works with native Emacs, and not with Cygwin, why both programs
>> go and fetch their packages at the same place on my file system...
>
> IIUC:
> If the problematic pkg.el file is on the server that you get the
> packages from, then that's a problem with that server and you should
> report it to whoever admins it.
>
> If it is not on the server but instead generated on your machine when
> you install the package, then please provide a minimum example starting
> from emacs -Q that shows the problem.
I understood that the problem depends on which Emacs version I'm using
to install the packages:
- with Emacs 24.3.1, it's OK: "keywords" list is correctly QUOTED in the
generated `xxx-pkg.el' file.
- with Emacs 24.3.93.1 (of 2014-08-15), it's NOT, as you can see on
http://screencast.com/t/ilxgafLbh.
Best regards,
Fabrice
PS- Here is my MWE file for launching Emacs:
--8<---------------cut here---------------start------------->8---
(require 'package)
;; archives from which to fetch
(setq package-archives
(append '(("org" . "http://orgmode.org/elpa/")
("melpa" . "http://melpa.milkbox.net/packages/"))
package-archives))
;; load the latest version of all installed packages, and activate them
(package-initialize)
(defvar my/elpa-packages '(yasnippet)
"A list of packages to ensure are installed at Emacs startup.")
(defun my/missing-elpa-packages ()
"List packages to install which are neither built-in nor already installed."
(let (missing-elpa-packages)
(dolist (pkg my/elpa-packages)
(unless (or (package-installed-p pkg)
(locate-library (symbol-name pkg)))
(push pkg missing-elpa-packages)))
missing-elpa-packages))
;; propose to install all the packages specified in `my/elpa-packages'
;; which are missing
(let ((missing-elpa-packages (my/missing-elpa-packages)))
(when missing-elpa-packages
;; download once the ELPA archive description
(package-refresh-contents) ; Ensure that the list of packages is
; up-to-date. Otherwise, new packages
; (not present in the cache of the ELPA
; contents) won't install.
(dolist (pkg missing-elpa-packages)
(if (yes-or-no-p (format "Install ELPA package `%s'? " pkg))
(ignore-errors
(package-install pkg)); must be run after initializing
; `package-initialize'
(message (concat "Customize `my/elpa-packages' to ignore "
"the `%s' package at next startup...") pkg)
(sit-for 1.5)))))
;; don't truncate package names in Emacs package list
(add-hook 'package-menu-mode-hook
(lambda ()
(setq tabulated-list-format
[("Package" 28 package-menu--name-predicate)
("Version" 14 nil)
("Status" 10 package-menu--status-predicate)
("Description" 0 nil)])
(tabulated-list-init-header)))
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2014-09-02 10:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 8:16 bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package Fabrice Niessen
2014-08-26 16:10 ` Glenn Morris
2014-08-26 20:40 ` Thierry Volpiatto
[not found] ` <5a61hfdyfp.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2014-08-29 21:01 ` Fabrice Niessen
2014-08-29 21:56 ` Glenn Morris
[not found] ` <ea38cf3qpl.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2014-09-02 10:12 ` Fabrice Niessen [this message]
2014-09-02 16:57 ` Glenn Morris
2014-09-02 19:53 ` Stefan Monnier
[not found] ` <hxiol6rmdw.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2014-09-02 20:47 ` Fabrice Niessen
2014-09-02 20:57 ` Stefan Monnier
[not found] ` <mailman.8155.1409691562.1147.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.8155.1409691562.1147.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2014-09-05 15:44 ` Fabrice Niessen
2014-09-05 16:24 ` Glenn Morris
2014-09-02 17:38 ` Stefan Monnier
[not found] ` <jwv38c9gc0t.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2014-09-02 20:55 ` Fabrice Niessen
2016-06-02 16:15 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86r3zunxfo.fsf@somewhere.org \
--to=fni-news-ta4hmop+1whrz44/dzwexq@public.gmane.org \
--cc=18332-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
--cc=rgm-mXXj517/zsQ@public.gmane.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.