Package: ess
Version: 17.11-2
Severity: normal

With the current packaging of Emacs 25.2.2 in unstable, ess doesn't get
loaded as it ought to.  I believe this is fallout from the Emacs maintainers
dropping the version number from the packages (as of 'emacs' package version
1:25.2+1-7).  On startup, the *Messages* buffer has

Loading /etc/emacs/site-start.d/50ess.el (source)...
Package ess not fully installed.  Skipping setup.
Loading /etc/emacs/site-start.d/50ess.el (source)...done

and 'r-mode is not defined.  I traced through the execution of
50ess.el by hand and found that it's bailing out because
debian-emacs-flavor is "emacs" and 
/usr/share/emacs/site-lisp/ess/ess-site.elc 
does not exist.  That file does not exist because
/usr/lib/emacsen-common/packages/install/ess
silently exits when its FLAVOR argument is "emacs".

I'm not sure what the _proper_ fix is, but if I byte-compile all the
.el files in /usr/share/emacs/site-lisp/ess and then replace 50ess.el
with just

(require 'ess-site)

then ess is loaded again.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ess depends on:
ii  dpkg            1.19.0.5+b1
ii  emacsen-common  3.0.2
ii  install-info    6.5.0.dfsg.1-4

Versions of packages ess recommends:
ii  r-base-core  3.5.1-1+b1

Versions of packages ess suggests:
pn  jags       <none>
pn  julia      <none>
pn  pspp       <none>
pn  xlispstat  <none>

-- no debconf information

Reply via email to