unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
@ 2014-08-26  8:16 Fabrice Niessen
  2014-08-26 16:10 ` Glenn Morris
  2016-06-02 16:15 ` Noam Postavsky
  0 siblings, 2 replies; 15+ messages in thread
From: Fabrice Niessen @ 2014-08-26  8:16 UTC (permalink / raw)
  To: 18332-ubl+/3LiMTaZdePnXv/OxA

Hello,

When installing the Helm-R package, I get the error:

    `"convenience"' is a malformed function
    (see http://screencast.com/t/IMvYxcryH7T)

regarding the file `helm-R-pkg.el' whose contents is:

--8<---------------cut here---------------start------------->8---
(define-package "helm-R" "20120819.1714" "helm-sources and some utilities for GNU R." '((helm "20120517") (ess "20120509")) :url "https://github.com/myuhe/helm-R.el" :keywords ("convenience"))
--8<---------------cut here---------------end--------------->8---

Adding a quote in front of the `keywords' list does solve the problem,
but Stefan said it wasn't a problem in the thread
http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-02/msg00172.html.

I don't understand if it/what is wrong, then...

Best regards.

In GNU Emacs 24.3.93.1 (i686-pc-mingw32)
 of 2014-08-15 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: cp1252

Major mode: Emacs-Lisp

Minor modes in effect:
  orgstruct-mode: t
  eldoc-mode: t
  flyspell-mode: t
  whitespace-mode: t
  helm-match-plugin-mode: t
  helm-occur-match-plugin-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  recentf-mode: t
  auto-image-file-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  electric-pair-mode: t
  show-paren-mode: t
  which-function-mode: t
  sml-modeline-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  delete-selection-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t
  hs-minor-mode: t

Load-path shadows:
d:/Users/fni/.emacs.d/elpa/graphviz-dot-mode-20140303.1301/graphviz-dot-mode hides ~/.emacs.d/site-lisp/graphviz-dot-mode
~/.emacs.d/site-lisp/org-effectiveness hides ~/Public/Repositories/org-mode/contrib/lisp/org-effectiveness
d:/Users/fni/.emacs.d/elpa/htmlize-20130207.1202/htmlize hides ~/Public/Repositories/org-mode/contrib/lisp/htmlize
~/Public/Repositories/org-mode/lisp/ox hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox
~/Public/Repositories/org-mode/lisp/ox-texinfo hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-texinfo
~/Public/Repositories/org-mode/lisp/ox-publish hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-publish
~/Public/Repositories/org-mode/lisp/ox-org hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-org
~/Public/Repositories/org-mode/lisp/ox-odt hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-odt
~/Public/Repositories/org-mode/lisp/ox-md hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-md
~/Public/Repositories/org-mode/lisp/ox-man hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-man
~/Public/Repositories/org-mode/lisp/ox-latex hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-latex
~/Public/Repositories/org-mode/lisp/ox-icalendar hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-icalendar
~/Public/Repositories/org-mode/lisp/ox-html hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-html
~/Public/Repositories/org-mode/lisp/ox-beamer hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-beamer
~/Public/Repositories/org-mode/lisp/ox-ascii hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ox-ascii
~/Public/Repositories/org-mode/lisp/org hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org
~/Public/Repositories/org-mode/lisp/org-w3m hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-w3m
~/Public/Repositories/org-mode/lisp/org-version hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-version
~/Public/Repositories/org-mode/lisp/org-timer hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-timer
~/Public/Repositories/org-mode/lisp/org-table hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-table
~/Public/Repositories/org-mode/lisp/org-src hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-src
~/Public/Repositories/org-mode/lisp/org-rmail hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-rmail
~/Public/Repositories/org-mode/lisp/org-protocol hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-protocol
~/Public/Repositories/org-mode/lisp/org-plot hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-plot
~/Public/Repositories/org-mode/lisp/org-pcomplete hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-pcomplete
~/Public/Repositories/org-mode/lisp/org-mouse hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-mouse
~/Public/Repositories/org-mode/lisp/org-mobile hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-mobile
~/Public/Repositories/org-mode/lisp/org-mhe hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-mhe
~/Public/Repositories/org-mode/lisp/org-macs hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-macs
~/Public/Repositories/org-mode/lisp/org-macro hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-macro
~/Public/Repositories/org-mode/lisp/org-loaddefs hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-loaddefs
~/Public/Repositories/org-mode/lisp/org-list hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-list
~/Public/Repositories/org-mode/lisp/org-irc hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-irc
~/Public/Repositories/org-mode/lisp/org-install hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-install
~/Public/Repositories/org-mode/lisp/org-inlinetask hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-inlinetask
~/Public/Repositories/org-mode/lisp/org-info hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-info
~/Public/Repositories/org-mode/lisp/org-indent hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-indent
~/Public/Repositories/org-mode/lisp/org-id hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-id
~/Public/Repositories/org-mode/lisp/org-habit hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-habit
~/Public/Repositories/org-mode/lisp/org-gnus hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-gnus
~/Public/Repositories/org-mode/lisp/org-footnote hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-footnote
~/Public/Repositories/org-mode/lisp/org-feed hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-feed
~/Public/Repositories/org-mode/lisp/org-faces hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-faces
~/Public/Repositories/org-mode/lisp/org-eshell hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-eshell
~/Public/Repositories/org-mode/lisp/org-entities hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-entities
~/Public/Repositories/org-mode/lisp/org-element hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-element
~/Public/Repositories/org-mode/lisp/org-docview hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-docview
~/Public/Repositories/org-mode/lisp/org-datetree hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-datetree
~/Public/Repositories/org-mode/lisp/org-ctags hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-ctags
~/Public/Repositories/org-mode/lisp/org-crypt hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-crypt
~/Public/Repositories/org-mode/lisp/org-compat hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-compat
~/Public/Repositories/org-mode/lisp/org-colview hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-colview
~/Public/Repositories/org-mode/lisp/org-clock hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-clock
~/Public/Repositories/org-mode/lisp/org-capture hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-capture
~/Public/Repositories/org-mode/lisp/org-bibtex hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-bibtex
~/Public/Repositories/org-mode/lisp/org-bbdb hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-bbdb
~/Public/Repositories/org-mode/lisp/org-attach hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-attach
~/Public/Repositories/org-mode/lisp/org-archive hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-archive
~/Public/Repositories/org-mode/lisp/org-agenda hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/org-agenda
~/Public/Repositories/org-mode/lisp/ob hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob
~/Public/Repositories/org-mode/lisp/ob-tangle hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-tangle
~/Public/Repositories/org-mode/lisp/ob-table hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-table
~/Public/Repositories/org-mode/lisp/ob-sqlite hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-sqlite
~/Public/Repositories/org-mode/lisp/ob-sql hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-sql
~/Public/Repositories/org-mode/lisp/ob-shen hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-shen
~/Public/Repositories/org-mode/lisp/ob-screen hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-screen
~/Public/Repositories/org-mode/lisp/ob-scheme hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-scheme
~/Public/Repositories/org-mode/lisp/ob-scala hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-scala
~/Public/Repositories/org-mode/lisp/ob-sass hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-sass
~/Public/Repositories/org-mode/lisp/ob-ruby hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-ruby
~/Public/Repositories/org-mode/lisp/ob-ref hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-ref
~/Public/Repositories/org-mode/lisp/ob-R hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-R
~/Public/Repositories/org-mode/lisp/ob-python hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-python
~/Public/Repositories/org-mode/lisp/ob-plantuml hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-plantuml
~/Public/Repositories/org-mode/lisp/ob-picolisp hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-picolisp
~/Public/Repositories/org-mode/lisp/ob-perl hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-perl
~/Public/Repositories/org-mode/lisp/ob-org hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-org
~/Public/Repositories/org-mode/lisp/ob-octave hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-octave
~/Public/Repositories/org-mode/lisp/ob-ocaml hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-ocaml
~/Public/Repositories/org-mode/lisp/ob-mscgen hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-mscgen
~/Public/Repositories/org-mode/lisp/ob-maxima hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-maxima
~/Public/Repositories/org-mode/lisp/ob-matlab hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-matlab
~/Public/Repositories/org-mode/lisp/ob-makefile hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-makefile
~/Public/Repositories/org-mode/lisp/ob-lob hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-lob
~/Public/Repositories/org-mode/lisp/ob-lisp hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-lisp
~/Public/Repositories/org-mode/lisp/ob-lilypond hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-lilypond
~/Public/Repositories/org-mode/lisp/ob-ledger hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-ledger
~/Public/Repositories/org-mode/lisp/ob-latex hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-latex
~/Public/Repositories/org-mode/lisp/ob-keys hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-keys
~/Public/Repositories/org-mode/lisp/ob-js hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-js
~/Public/Repositories/org-mode/lisp/ob-java hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-java
~/Public/Repositories/org-mode/lisp/ob-io hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-io
~/Public/Repositories/org-mode/lisp/ob-haskell hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-haskell
~/Public/Repositories/org-mode/lisp/ob-gnuplot hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-gnuplot
~/Public/Repositories/org-mode/lisp/ob-fortran hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-fortran
~/Public/Repositories/org-mode/lisp/ob-exp hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-exp
~/Public/Repositories/org-mode/lisp/ob-eval hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-eval
~/Public/Repositories/org-mode/lisp/ob-emacs-lisp hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-emacs-lisp
~/Public/Repositories/org-mode/lisp/ob-dot hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-dot
~/Public/Repositories/org-mode/lisp/ob-ditaa hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-ditaa
~/Public/Repositories/org-mode/lisp/ob-css hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-css
~/Public/Repositories/org-mode/lisp/ob-core hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-core
~/Public/Repositories/org-mode/lisp/ob-comint hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-comint
~/Public/Repositories/org-mode/lisp/ob-clojure hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-clojure
~/Public/Repositories/org-mode/lisp/ob-calc hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-calc
~/Public/Repositories/org-mode/lisp/ob-C hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-C
~/Public/Repositories/org-mode/lisp/ob-awk hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-awk
~/Public/Repositories/org-mode/lisp/ob-asymptote hides c:/Program Files (x86)/emacs-24.3.93/share/emacs/24.3.93/lisp/org/ob-asymptote

Features:
(shadow emacsbug ess-eldoc ess-toolbar ess-mouse mouseme ess-menu
ess-swv ess-noweb ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a
ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6w-d ess-sp3-d
ess-julia ess-r-d ess-tracebug ess-roxy ess-help ess-developer
ess-r-args ess-s-l ess ess-inf ess-mode ess-noweb-mode ess-utils
ess-custom ess-compat ess-site autoload lisp-mnt url-http url-gw
url-cache url-auth url-handlers helm-command helm-elisp helm-eval
helm-mode canlock gnus-fun warnings image-mode gnus-dired shr smtpmail
boxquote gnus-alias bbdb-message mailalias sendmail nnir rect pager
sh-script smie executable misearch multi-isearch fuzzy calc-map
calc-stat calc-vec calc-ext calc-menu calc-aent calc calc-loaddefs
calc-macs cal-iso time-stamp copyright tabify vc-bzr vc-sccs vc-cvs
vc-rcs vc-dir ewoc vc rainbow-mode color vc-dispatcher vc-svn org-mime
org-crypt ob-sql ob-shell ob-org ob-ledger ob-dot ob-ditaa ob-awk ob-R
git-commit-mode log-edit pcvs-util add-log vc-git org-clock org-table
org-element avl-tree org-checklist org-id org-gnus org-habit
org-custom-agenda-views org-agenda org-info flymake appt diary-lib
diary-loaddefs org-inlinetask org org-macro org-footnote org-pcomplete
org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval
org-compat org-macs cal-menu calendar cal-loaddefs eldoc flyspell ispell
hideshow filecache ido helm-files whitespace noutline outline tramp
tramp-compat tramp-loaddefs trampver ffap helm-buffers helm-elscreen
helm-tags helm-bookmark helm-adaptive helm-info helm-net browse-url xml
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util url-parse url-vars helm-plugin helm-locate helm-help
helm-match-plugin helm-grep helm-regexp grep helm-external helm-utils
dired-sort-map dired-single dired+ image-dired bookmark+ bookmark+-key
bookmark+-1 bookmark+-bmu bookmark+-lit bookmark dired-x dired-aux dired
compile helm pp shell pcomplete comint ring flow-fill diff-mode server
auto-complete-config auto-complete popup recentf tree-widget sort
ansi-color gnus-cite mm-archive gnus-async gnus-bcklg qp gnus-ml
gnus-topic hl-line image-file mail-extr utf-7 nndraft nnmh nnimap
parse-time utf7 gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap
gnus-cache gnus-sum epa-file epa epg epg-config netrc gnutls
network-stream starttls tls nntp gnus-group gnus-undo nnmail mail-source
nnoo gnus-leuven bbdb-gnus bbdb-mua bbdb-com crm bbdb bbdb-site timezone
mule-util auth-source eieio byte-opt bytecomp byte-compile cconv
eieio-core password-cache gnus-start gnus-spec gnus-int gnus-range
message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util
mail-prsvr wid-edit emacs-leuven leuven-theme saveplace yasnippet
flycheck find-func help-mode rx pcase subr-x dash elec-pair paren
which-func imenu hl-tags-mode derived org-loaddefs helm-config
helm-aliases easy-mmode sml-modeline hi-lock ace-jump-mode delsel info+
thingatpt edmacro kmacro idle-require finder-inf tex-site info easymenu
idle-require-autoloads pager-autoloads pkg-info-autoloads
rainbow-mode-autoloads tidy-autoloads package advice help-fns cl-macs cl
gv cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns
disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process w32notify w32 multi-tty emacs)

Memory information:
((conses 8 2513359 348545)
 (symbols 32 66846 25)
 (miscs 32 9551 14867)
 (strings 16 928405 75752)
 (string-bytes 1 9472338)
 (vectors 8 86820)
 (vector-slots 4 2282877 134660)
 (floats 8 1273 1669)
 (intervals 28 80243 32324)
 (buffers 508 136))





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  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>
  2016-06-02 16:15 ` Noam Postavsky
  1 sibling, 2 replies; 15+ messages in thread
From: Glenn Morris @ 2014-08-26 16:10 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332

Fabrice Niessen wrote:

> regarding the file `helm-R-pkg.el' whose contents is:
>
> --8<---------------cut here---------------start------------->8---
> (define-package "helm-R" "20120819.1714" "helm-sources and some utilities for GNU R." '((helm "20120517") (ess "20120509")) :url "https://github.com/myuhe/helm-R.el" :keywords ("convenience"))
> --8<---------------cut here---------------end--------------->8---
>
> Adding a quote in front of the `keywords' list does solve the problem,

IIUC the helm-R-pkg.el is malformed and so the same applies as the last
time this was reported:

    Presumably re-running package-install or causing make to rebuild
    this file should fix the problem, but if it doesn't, give us some
    details.

(It looks like that file is pretty old, since it has dates in 2012.)

> but Stefan said it wasn't a problem in the thread
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-02/msg00172.html.

No, he said whether "nil" was quoted or not did not matter.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-08-26 16:10 ` Glenn Morris
@ 2014-08-26 20:40   ` Thierry Volpiatto
       [not found]   ` <5a61hfdyfp.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
  1 sibling, 0 replies; 15+ messages in thread
From: Thierry Volpiatto @ 2014-08-26 20:40 UTC (permalink / raw)
  To: 18332

Glenn Morris <rgm@gnu.org> writes:

> (It looks like that file is pretty old, since it has dates in 2012.)

It seems helm-R is not maintained anymore, there is no more activity on this
since months.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
       [not found]   ` <5a61hfdyfp.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
@ 2014-08-29 21:01     ` Fabrice Niessen
  2014-08-29 21:56       ` Glenn Morris
  0 siblings, 1 reply; 15+ messages in thread
From: Fabrice Niessen @ 2014-08-29 21:01 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18332-ubl+/3LiMTaZdePnXv/OxA

Glenn Morris wrote:
> Fabrice Niessen wrote:
>> regarding the file `helm-R-pkg.el' whose contents is:
>>
>> --8<---------------cut here---------------start------------->8---
>> (define-package "helm-R" "20120819.1714" "helm-sources and some utilities for
>> GNU R." '((helm "20120517") (ess "20120509")) :url
>> "https://github.com/myuhe/helm-R.el" :keywords ("convenience"))
>> --8<---------------cut here---------------end--------------->8---
>>
>> Adding a quote in front of the `keywords' list does solve the problem,
>
> IIUC the helm-R-pkg.el is malformed and so the same applies as the last
> time this was reported:
>
>     Presumably re-running package-install or causing make to rebuild
>     this file should fix the problem, but if it doesn't, give us some
>     details.
>
> (It looks like that file is pretty old, since it has dates in 2012.)
>
>> but Stefan said it wasn't a problem in the thread
>> http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-02/msg00172.html.
>
> No, he said whether "nil" was quoted or not did not matter.

OK, misreminded that stuff.

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...

I need more hints on this. Maybe things will clear up in the future?

Best regards,
Fabrice

-- 
Fabrice Niessen
Leuven, Belgium
http://www.pirilampo.org/





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-08-29 21:01     ` Fabrice Niessen
@ 2014-08-29 21:56       ` Glenn Morris
       [not found]         ` <ea38cf3qpl.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Glenn Morris @ 2014-08-29 21:56 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332

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.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
       [not found]         ` <ea38cf3qpl.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
@ 2014-09-02 10:12           ` Fabrice Niessen
  2014-09-02 16:57             ` Glenn Morris
  2014-09-02 17:38             ` Stefan Monnier
  0 siblings, 2 replies; 15+ messages in thread
From: Fabrice Niessen @ 2014-09-02 10:12 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18332-ubl+/3LiMTaZdePnXv/OxA

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---





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-09-02 10:12           ` Fabrice Niessen
@ 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 17:38             ` Stefan Monnier
  1 sibling, 2 replies; 15+ messages in thread
From: Glenn Morris @ 2014-09-02 16:57 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332


Reproduced with:

rm -rf /tmp/foo
mkdir -p /tmp/foo

HOME=/tmp/foo emacs-24.3.93 -l package \
  --eval "(progn (package-initialize) (package-refresh-contents) (package-install 'yasnippet))"


However I just get a byte-compilation warning, no error.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-09-02 10:12           ` Fabrice Niessen
  2014-09-02 16:57             ` Glenn Morris
@ 2014-09-02 17:38             ` Stefan Monnier
       [not found]               ` <jwv38c9gc0t.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
  1 sibling, 1 reply; 15+ messages in thread
From: Stefan Monnier @ 2014-09-02 17:38 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332

> - with Emacs 24.3.1, it's OK: "keywords" list is correctly QUOTED in the
>   generated `xxx-pkg.el' file.

Good.

> - with Emacs 24.3.93.1 (of 2014-08-15), it's NOT,

Not good.

>   as you can see on http://screencast.com/t/ilxgafLbh.

Could you turn this into text, because I can't watch this video?


        Stefan





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-09-02 16:57             ` Glenn Morris
@ 2014-09-02 19:53               ` Stefan Monnier
       [not found]               ` <hxiol6rmdw.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
  1 sibling, 0 replies; 15+ messages in thread
From: Stefan Monnier @ 2014-09-02 19:53 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Fabrice Niessen, 18332

> rm -rf /tmp/foo
> mkdir -p /tmp/foo

> HOME=/tmp/foo emacs-24.3.93 -l package \
>   --eval "(progn (package-initialize) (package-refresh-contents) (package-install 'yasnippet))"

> However I just get a byte-compilation warning, no error.

Don't know about the error, indeed.  I've fixed the two problems I saw
in the above test (first problem: the yasnippet-pkg.el file was
re-generated rather than just using the one that's in the tarball;
second problem: the file we generated did not properly quote the
arguments, hence the compilation warning).


        Stefan


=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog	2014-09-02 18:16:32 +0000
+++ lisp/ChangeLog	2014-09-02 19:49:58 +0000
@@ -1,5 +1,13 @@
 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* emacs-lisp/package.el (package-generate-description-file):
+	Properly quote the arguments (bug#18332).  Change second arg.
+	(package--alist-to-plist-args): Rename from package--alist-to-plist and
+	quote the elements.
+	(package--make-autoloads-and-stuff): Fix the test for pre-existence of
+	the *-pkg.el file.  Adjust to new calling convention of
+	package-generate-description-file.
+
 	* progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
 	(gud-gdb-completions): Remove obsolete workaround.
 

=== modified file 'lisp/emacs-lisp/package.el'
--- lisp/emacs-lisp/package.el	2014-06-26 13:47:37 +0000
+++ lisp/emacs-lisp/package.el	2014-09-02 19:46:57 +0000
@@ -688,11 +688,9 @@
 	    (error "Package does not untar cleanly into directory %s/" dir)))))
   (tar-untar-buffer))
 
-(defun package-generate-description-file (pkg-desc pkg-dir)
+(defun package-generate-description-file (pkg-desc pkg-file)
   "Create the foo-pkg.el file for single-file packages."
-  (let* ((name (package-desc-name pkg-desc))
-         (pkg-file (expand-file-name (package--description-file pkg-dir)
-                                     pkg-dir)))
+  (let* ((name (package-desc-name pkg-desc)))
     (let ((print-level nil)
           (print-quoted t)
           (print-length nil))
@@ -712,13 +710,20 @@
                            (list (car elt)
                                  (package-version-join (cadr elt))))
                          requires))))
-          (package--alist-to-plist
+          (package--alist-to-plist-args
            (package-desc-extras pkg-desc))))
         "\n")
        nil pkg-file nil 'silent))))
 
-(defun package--alist-to-plist (alist)
-  (apply #'nconc (mapcar (lambda (pair) (list (car pair) (cdr pair))) alist)))
+(defun package--alist-to-plist-args (alist)
+  (mapcar (lambda (x)
+            (if (and (not (consp x))
+                     (or (keywordp x)
+                         (not (symbolp x))
+                         (memq x '(nil t))))
+                x `',x))
+          (apply #'nconc
+                 (mapcar (lambda (pair) (list (car pair) (cdr pair))) alist))))
 
 (defun package-unpack (pkg-desc)
   "Install the contents of the current buffer as a package."
@@ -751,9 +756,10 @@
 (defun package--make-autoloads-and-stuff (pkg-desc pkg-dir)
   "Generate autoloads, description file, etc.. for PKG-DESC installed at PKG-DIR."
   (package-generate-autoloads (package-desc-name pkg-desc) pkg-dir)
-  (let ((desc-file (package--description-file pkg-dir)))
+  (let ((desc-file (expand-file-name (package--description-file pkg-dir)
+                                     pkg-dir)))
     (unless (file-exists-p desc-file)
-      (package-generate-description-file pkg-desc pkg-dir)))
+      (package-generate-description-file pkg-desc desc-file)))
   ;; FIXME: Create foo.info and dir file from foo.texi?
   )
 






^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
       [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>
  0 siblings, 2 replies; 15+ messages in thread
From: Fabrice Niessen @ 2014-09-02 20:47 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18332-ubl+/3LiMTaZdePnXv/OxA

Glenn Morris wrote:
> Reproduced with:

Excellent ;-)

> rm -rf /tmp/foo
> mkdir -p /tmp/foo
>
> HOME=/tmp/foo emacs-24.3.93 -l package \
>   --eval "(progn (package-initialize) (package-refresh-contents) (package-install 'yasnippet))"
>
> However I just get a byte-compilation warning, no error.

I don't have any error, neither, when installing the package. Not even
when launching a new GNU Emacs (the w32 binary version).

I only do have an error when launching a Cygwin Emacs...





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
       [not found]               ` <jwv38c9gc0t.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
@ 2014-09-02 20:55                 ` Fabrice Niessen
  0 siblings, 0 replies; 15+ messages in thread
From: Fabrice Niessen @ 2014-09-02 20:55 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18332-ubl+/3LiMTaZdePnXv/OxA

Stefan Monnier wrote:
>> - with Emacs 24.3.1, it's OK: "keywords" list is correctly QUOTED in the
>>   generated `xxx-pkg.el' file.
>
> Good.
>
>> - with Emacs 24.3.93.1 (of 2014-08-15), it's NOT,
>
> Not good.
>
>>   as you can see on http://screencast.com/t/ilxgafLbh.
>
> Could you turn this into text, because I can't watch this video?

In a nutshell, Emacs 24.3.93.1 produces:

--8<---------------cut here---------------start------------->8---
(define-package "yasnippet" "20140821.38" "Yet another snippet extension for Emacs." 'nil :url "http://github.com/capitaomorte/yasnippet" :keywords ("convenience" "emulation"))
--8<---------------cut here---------------end--------------->8---

instead of:

--8<---------------cut here---------------start------------->8---
(define-package "yasnippet" "20140821.38" "Yet another snippet extension for Emacs." 'nil :url "http://github.com/capitaomorte/yasnippet" :keywords '("convenience" "emulation"))
--8<---------------cut here---------------end--------------->8---

For a reason which still escapes me, only Cygwin Emacs bugs because
"convenience" is not a function.

w32 binaries don't say anything, and load the packages properly!?





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  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>
  1 sibling, 0 replies; 15+ messages in thread
From: Stefan Monnier @ 2014-09-02 20:57 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332

> I only do have an error when launching a Cygwin Emacs...

Can you try the patch I installed and see if it helps?


        Stefan





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
       [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
  0 siblings, 1 reply; 15+ messages in thread
From: Fabrice Niessen @ 2014-09-05 15:44 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18332-ubl+/3LiMTaZdePnXv/OxA

Stefan Monnier wrote:
>> I only do have an error when launching a Cygwin Emacs...
>
> Can you try the patch I installed and see if it helps?

I (manually) patched the package.el file and removed the package.elc one.

Now, when I launch Emacs 24.3.93.1, I have this:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "tex-site")
  require(tex-site)
  eval-buffer(#<buffer  *load*-112579> nil "d:/Users/fni/.emacs.d/elpa/auctex-11.87.7/auctex-autoloads.el" nil t)  ; Reading at buffer position 9714
  load-with-code-conversion("d:/Users/fni/.emacs.d/elpa/auctex-11.87.7/auctex-autoloads.el" "d:/Users/fni/.emacs.d/elpa/auctex-11.87.7/auctex-autoloads.el" nil t)
  load("d:/Users/fni/.emacs.d/elpa/auctex-11.87.7/auctex-autoloads" nil t)
  (condition-case err (load (expand-file-name (format "%s-autoloads" name) pkg-dir) nil t) ((debug error) (message "Error: %S" err) nil))
  (let ((old-lp load-path)) (condition-case err (load (expand-file-name (format "%s-autoloads" name) pkg-dir) nil t) ((debug error) (message "Error: %S" err) nil)) (if (and (eq old-lp load-path) (not (or (member pkg-dir load-path) (member pkg-dir-dir load-path)))) (progn (setq load-path (cons pkg-dir load-path)))))
  (let* ((name (progn (or (and (vectorp pkg-desc) (>= (length pkg-desc) 10) (memq (aref pkg-desc 0) cl-struct-package-desc-tags)) (error "%s accessing a non-%s" (quote package-desc-name) (quote package-desc))) (aref pkg-desc 1))) (pkg-dir (progn (or (and (vectorp pkg-desc) (>= (length pkg-desc) 10) (memq (aref pkg-desc 0) cl-struct-package-desc-tags)) (error "%s accessing a non-%s" (quote package-desc-dir) (quote package-desc))) (aref pkg-desc 7))) (pkg-dir-dir (file-name-as-directory pkg-dir))) (if pkg-dir nil (error "Internal error: unable to find directory for `%s'" (package-desc-full-name pkg-desc))) (let ((old-lp load-path)) (condition-case err (load (expand-file-name (format "%s-autoloads" name) pkg-dir) nil t) ((debug error) (message "Error: %S" err) nil)) (if (and (eq old-lp load-path) (not (or (member pkg-dir load-path) (member pkg-dir-dir load-path)))) (progn (setq load-path (cons pkg-dir load-path))))) (if (file-exists-p (expand-file-name "dir" pkg-dir)) (progn (require (quote info)) (info-initialize) (setq Info-directory-list (cons pkg-dir Info-directory-list)))) (setq package-activated-list (cons name package-activated-list)) t)
  package-activate-1([cl-struct-package-desc auctex (11 87 7) "Integrated environment for *TeX*" nil nil nil "d:/Users/fni/.emacs.d/elpa/auctex-11.87.7" ((:url . "http://www.gnu.org/software/auctex/")) nil])
  (if fail (warn "Unable to activate package `%s'.\nRequired package `%s-%s' is unavailable" package (car fail) (package-version-join (cadr fail))) (package-activate-1 pkg-vec))
  (let* ((pkg-vec (car pkg-descs)) (fail (catch (quote dep-failure) (let ((--dolist-tail-- (progn ... ...))) (while --dolist-tail-- (let (...) (if ... nil ...) (setq --dolist-tail-- ...))))))) (if fail (warn "Unable to activate package `%s'.\nRequired package `%s-%s' is unavailable" package (car fail) (package-version-join (cadr fail))) (package-activate-1 pkg-vec)))
  (cond ((null pkg-descs) (package-built-in-p package)) ((and (memq package package-activated-list) (not force)) t) (t (let* ((pkg-vec (car pkg-descs)) (fail (catch (quote dep-failure) (let (...) (while --dolist-tail-- ...))))) (if fail (warn "Unable to activate package `%s'.\nRequired package `%s-%s' is unavailable" package (car fail) (package-version-join (cadr fail))) (package-activate-1 pkg-vec)))))
  (let ((pkg-descs (cdr (assq package package-alist)))) (while (if pkg-descs (progn (let ((available-version (progn ... ...))) (or (package-disabled-p package available-version) (package-built-in-p package available-version))))) (setq pkg-descs (cdr pkg-descs))) (cond ((null pkg-descs) (package-built-in-p package)) ((and (memq package package-activated-list) (not force)) t) (t (let* ((pkg-vec (car pkg-descs)) (fail (catch (quote dep-failure) (let ... ...)))) (if fail (warn "Unable to activate package `%s'.\nRequired package `%s-%s' is unavailable" package (car fail) (package-version-join (cadr fail))) (package-activate-1 pkg-vec))))))
  package-activate(auctex)
  (let ((elt (car --dolist-tail--))) (package-activate (car elt)) (setq --dolist-tail-- (cdr --dolist-tail--)))
  (while --dolist-tail-- (let ((elt (car --dolist-tail--))) (package-activate (car elt)) (setq --dolist-tail-- (cdr --dolist-tail--))))
  (let ((--dolist-tail-- package-alist)) (while --dolist-tail-- (let ((elt (car --dolist-tail--))) (package-activate (car elt)) (setq --dolist-tail-- (cdr --dolist-tail--)))))
  (if no-activate nil (let ((--dolist-tail-- package-alist)) (while --dolist-tail-- (let ((elt (car --dolist-tail--))) (package-activate (car elt)) (setq --dolist-tail-- (cdr --dolist-tail--))))))
  package-initialize()
  (lambda nil (setq package-archives (append (quote (("org" . "http://orgmode.org/elpa/") ("melpa" . "http://melpa.milkbox.net/packages/"))) package-archives)) (package-initialize) (custom-declare-variable (quote leuven-elpa-packages) (quote (quote (ace-jump-mode auctex auto-complete bbdb bookmark+ boxquote calfw circe company csv-mode dictionary dired+ dired-single ess fill-column-indicator flycheck fuzzy git-commit-mode graphviz-dot-mode helm htmlize idle-require info+ interaction-log ledger-mode leuven-theme multi-term multiple-cursors pager powerline rainbow-mode redo+ tidy unbound yasnippet))) "A list of packages to ensure are installed at Emacs startup." :group (quote emacs-leuven) :type (quote (repeat (string)))) (defalias (quote leuven--missing-elpa-packages) (function (lambda nil "List packages to install which are neither built-in nor already installed." (let (missing-elpa-packages) (let ((--dolist-tail-- leuven-elpa-packages) pkg) (while --dolist-tail-- (setq pkg ...) (if ... nil ...) (setq --dolist-tail-- ...))) missing-elpa-packages)))) (let ((missing-elpa-packages (leuven--missing-elpa-packages))) (if missing-elpa-packages (progn (package-refresh-contents) (let ((--dolist-tail-- missing-elpa-packages) pkg) (while --dolist-tail-- (setq pkg (car --dolist-tail--)) (if (yes-or-no-p ...) (condition-case nil ... ...) (message ... pkg) (sit-for 1.5)) (setq --dolist-tail-- (cdr --dolist-tail--))))))) (add-hook (quote package-menu-mode-hook) (function (lambda nil (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)))))()
  [...]
  eval-buffer(#<buffer  *load*-59828> nil "d:/Users/fni/src/emacs-leuven/emacs-leuven.el" nil t)  ; Reading at buffer position 16581
  load-with-code-conversion("d:/Users/fni/src/emacs-leuven/emacs-leuven.el" "d:/Users/fni/src/emacs-leuven/emacs-leuven.el" nil t)
  require(emacs-leuven)
  eval-buffer(#<buffer  *load*> nil "d:/Users/fni/.emacs.d/init.el" nil t)  ; Reading at buffer position 4384
  load-with-code-conversion("d:/Users/fni/.emacs.d/init.el" "d:/Users/fni/.emacs.d/init.el" t t)
  load("d:/Users/fni/.emacs.d/init" t t)
--8<---------------cut here---------------end--------------->8---

I don't understand this, as there *is* a tex-site.el file in there:

--8<---------------cut here---------------start------------->8---
  d:/Users/fni/.emacs.d/elpa/auctex-11.87.7:
  total used in directory 3872 available 49916672
  drwxrwxrwx  1 Fabrice None    8192 2014-09-02 11:46 ./
  drwxrwxrwx  1 Fabrice None    8192 2014-09-05 17:35 ../
  drwxrwxrwx  1 Fabrice None    4096 2014-09-02 11:46 doc/
  drwxrwxrwx  1 Fabrice None    8192 2014-09-02 11:46 images/
  drwxrwxrwx  1 Fabrice None    4096 2014-09-02 11:46 latex/
  drwxrwxrwx  1 Fabrice None   40960 2014-09-02 11:46 style/
  -rw-rw-rw-  1 Fabrice None      93 2014-09-02 11:46 .elpaignore
  -rw-rw-rw-  1 Fabrice None     406 2014-09-02 11:46 .gitignore
  -rw-rw-rw-  1 Fabrice None   10894 2014-09-02 11:46 auctex-autoloads.el
  -rw-rw-rw-  1 Fabrice None     272 2014-09-02 11:46 auctex-autoloads.el~
  -rw-rw-rw-  1 Fabrice None     181 2014-09-02 11:46 auctex-pkg.el
  -rw-rw-rw-  1 Fabrice None     639 2014-09-02 11:46 auctex-pkg.elc
  -rw-rw-rw-  1 Fabrice None    1193 2014-09-02 11:46 auctex.el
  [...]
  -rw-rw-rw-  1 Fabrice None    5773 2014-09-02 11:46 tex-site.el
  -rw-rw-rw-  1 Fabrice None    4164 2014-09-02 11:46 tex-site.elc
  -rw-rw-rw-  1 Fabrice None   11618 2014-09-02 11:46 tex-style.el
  -rw-rw-rw-  1 Fabrice None    9172 2014-09-02 11:46 tex-style.elc
  -rw-rw-rw-  1 Fabrice None    4147 2014-09-02 11:46 tex-wizard.el
  -rw-rw-rw-  1 Fabrice None    3285 2014-09-02 11:46 tex-wizard.elc
  -rw-rw-rw-  1 Fabrice None  203303 2014-09-02 11:46 tex.el
  -rw-rw-rw-  1 Fabrice None  169620 2014-09-02 11:46 tex.elc
  -rw-rw-rw-  1 Fabrice None   16035 2014-09-02 11:46 texmathp.el
  -rw-rw-rw-  1 Fabrice None    9857 2014-09-02 11:46 texmathp.elc
  -rw-rw-rw-  1 Fabrice None   83399 2014-09-02 11:46 toolbar-x.el
  -rw-rw-rw-  1 Fabrice None   53221 2014-09-02 11:46 toolbar-x.elc
--8<---------------cut here---------------end--------------->8---

And launching Emacs 24.3.1 -- with the same init.el file and the same
package directory -- runs OK.

Any idea?

Best regards,
Fabrice





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  2014-09-05 15:44                       ` Fabrice Niessen
@ 2014-09-05 16:24                         ` Glenn Morris
  0 siblings, 0 replies; 15+ messages in thread
From: Glenn Morris @ 2014-09-05 16:24 UTC (permalink / raw)
  To: Fabrice Niessen; +Cc: 18332

Fabrice Niessen wrote:

> Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "tex-site")

This would seem to be http://debbugs.gnu.org/15272 (also 15235)

(which is still open, dunno why or what's going on with it.)





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#18332: 24.3.93; Convenience is a malformed function when installing ELPA package
  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
@ 2016-06-02 16:15 ` Noam Postavsky
  1 sibling, 0 replies; 15+ messages in thread
From: Noam Postavsky @ 2016-06-02 16:15 UTC (permalink / raw)
  To: 18332-done

fixed 18332 24.3.94
quit

IIUC this was fixed by 559b827d8aba3ca060f3875a65028cffe71f258b
"* lisp/emacs-lisp/package.el (package-generate-description-file):
Properly quote the arguments. [...]Fixes: debbugs:18332"





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-06-02 16:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).