emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
623 stars 162 forks source link

ess-autoloads not loaded by ess-site or its dependencies #1259

Open mmaechler opened 1 year ago

mmaechler commented 1 year ago

For me,

(featurep 'ess-autoloads)

gives nil ... so no wonder that for me, M-x ess-rdired does not find the function.

Is it because .. for about 20 years .. I have always followed the comment still visible in ess-site.el:

;; ....... users who wish to use ESS should add the path to
;; ess-site to their `load-path' and require it:
;;
;;    (add-to-list 'load-path "/path/to/ess/lisp-directory");;
;;    (require 'ess-site)

and still do so, but should do something else ??

mmaechler commented 1 year ago

looking at lisp/Makefile I find that we explicitly "filter out" the ess-autoloads so they do not exist in a make installed version of ESS .. and so cannot be a feature.... but then it seems I have no clue about how such autoloads should work when they work correctly... which at least they don't for ess-rdired.