[ESS-bugs] ess puts nil in load-history

Martin Maechler maechler at stat.math.ethz.ch
Mon Feb 20 13:38:14 CET 2017


>>>>> Thomas Alexander Gerds <tag at biostat.ku.dk>
>>>>>     on Thu, 9 Feb 2017 10:10:16 +0100 writes:

    > Dear ESS team on emacs 26.0.50.1 after loading ess
    > (16.10-1 [elpa: 20170206.310]) via

    > (use-package ess-site :ensure ess)

    > I get

    > (mapcar 'car load-history)

    > "/home/tag/emacs-genome/genes/ess-20170206.310/lisp/ess-site.elc"
    > nil
    > "/home/tag/emacs-genome/genes/ess-20170206.310/lisp/ess-toolbar.elc"
    > "/home/tag/emacs-genome/genes/ess-20170206.310/lisp/ess-mouse.elc"

    > the 'nil' occasionally causes an error when help--loaded-p
    > does this:

    > (dolist (x load-history) (if (string-match-p re (car x))
    > (setq done t)))

    > can anyone recognize, reproduce or even better solve this
    > problem?

I'm typically not so much interested in what the development
version of Emacs does (as long as it is not close to release
?!).

However, I can partly reproduce the problem in emacs 25,
simply using

 emacs -Q

and then

  (require 'ess-site "<my-path-to-ess>/ess-site.el")

after which your (mapcar 'car load-history)

(mapcar 'car load-history)
("/..../lisp/ess-site.el" "/usr/share/emacs/25.1/lisp/ido.elc"
 nil "..../lisp/ess-toolbar.elc" .......)

i.e., does contain a  'nil' as well.

Currently I have no time to delve into this, but it would be
nice if you'd open a  github issue with this, ideally using
emacs 25.x instead of 26.0.y :
      https://github.com/emacs-ess/ESS/issues

Thank you, and best regards,
Martin

---
Martin <Maechler at stat.math.ethz.ch>   http://stat.ethz.ch/~maechler
Seminar für Statistik, ETH Zürich   HG G 16         Rämistrasse 101
CH-8092 Zurich, SWITZERLAND
phone: +41-44-632-3408      fax: ...-1228     <><




    > thanks Thomas

    > -- 
    > Thomas A. Gerds -- Department of Biostatistics University
    > of Copenhagen, Oester Farimagsgade 5, 1014 Copenhagen,
    > Denmark Office: CSS-15.2.07 (Gamle Kommunehospital) tel:
    > 35327914 (sec: 35327901)

    > _______________________________________________ ESS-bugs
    > ESS-bugs at r-project.org
    > https://stat.ethz.ch/mailman/listinfo/ess-bugs

    > _______________________________________________ ESS-core
    > list: https://stat.ethz.ch/mailman/listinfo/ess-core



More information about the ESS-bugs mailing list