Re: ESS 25.01.0 released on ELPA

Vincent Goulet via ESS-help <[email protected]> Fri, 31 Jan 2025 20:04:20 -0500
Newsgroups gmane.emacs.ess.general
Message-ID <[email protected]>
Hey Gang,

I'm stuck. In the current released version of my distro, packages like ESS,=
 AUCTeX and polymode are installed from the sources and loaded the old-fash=
ioned way, that is:

(load "auctex.el" nil t t)
(load "ess-autoloads")
(require 'poly-R)
(require 'poly-noweb)

Furthermore, .Rnw files are associated with poly-noweb-mode:

(add-to-list 'auto-mode-alist '("\\.Rnw" . poly-noweb-mode))

If I visit a .Rnw file, I get both the Polymode and AUCTeX menus (LaTeX, Co=
mmand). The mode line indicates LaTeX/MP and PM (or PM-Rnw). All good.

Now, with my upcoming distro, the packages are installed using package-inst=
all and the package system is initialized in the site configuration file [i=
t contains (package-initialiaze)]. The thing is, when I visit a .Rnw file, =
I get the polymode menu, but only the built-in TeX ones (like TeX) and the =
mode line indicates LaTeX and PM.

The files contain the the file variable

%%% mode: noweb

I tried changing this to a few values, to no avail.

Anyone can help me around here?

TIA

v.


> Le 28 janv. 2025 =C3=A0 15:00, Vincent Goulet via ESS-help <ess-help@r-pr=
oject.org> a =C3=A9crit :
> =

> Hi Rodney and all,
> =

> As I was rolling up my sleeves to prepare an update of my distributions t=
o include the newest ESS, I learned that AUCTeX, now in the 14.x series, is=
 no longer distributed as a standalone tarball. Users should now install it=
 using the Emacs package system.
> =

> I was briefly back at the question I asked here a few months ago: is it t=
ime to retire my distributions since most additions can now be installed us=
ing package-install? At the time, some people showed continued interest for=
 an out-of-the-box distribution. I'm probably one of them. Furthermore, I o=
ffer some customizations and extensions (Hunspell and dictionaries, for exa=
mple) not as readily available elsewhere.
> =

> After some fiddling, I found a way to reconcile my distributions and the =
Emacs package system: install packages in a sysadmin way inside the Emacs t=
ree and ship this. When users install the distribution, the package system =
is already initialized (therefore users should *not* include (package-initi=
alize) in their init file). The nice thing for the maintainer: building the=
 distributions is now much simpler and faster.
> =

> I'm testing this a little before I release updates, but so far, so good!
> =

> Cheers,
> =

> v.
> =

>> Le 11 janv. 2025 =C3=A0 13:42, Sparapani, Rodney via ESS-help <ess-help@=
r-project.org> a =C3=A9crit :
>> =

>> Hi Gang:
>> =

>> ESS-core is pleased to announce that our latest annual release installme=
nt
>> is now available on ELPA.  We have a few bug-fixes and new features.
>> =

>> The biggest change is in philosophy as described in the first bullet bel=
ow=EF=BF=BD
>> =

>> Changes and New Features in 25.01.0:
>> =

>> *   polymode: In our transition from literate libraries (such as noweb d=
ocumented below with respect to 19.04), we now recommend the polymode packa=
ges as a more suitable replacement. Furthermore, we suggest the related pol=
ymodes including poly-noweb, poly-markdown and poly-R (installed in that or=
der). The package polymode itself, as well as the polymodes packages, are a=
ll on MELPA rather than ELPA. Therefore, you need to add MELPA to the list =
of installation archives as follows. =EF=BF=BD(add-to-list 'package-archive=
s '("melpa-stable" . https://stable.melpa.org/packages/))=EF=BF=BD for M-x =
package-install
>> *   ESS[R]: The shorthand notation for lambda functions and the question=
 mark are now fontified as keywords. Contributed by Maxime Pettinger.
>> *   ESS[SAS]: Developed new comprehensive lists of PROCs and functions f=
or syntax highlighting. See etc/proc.sas and etc/func.sas.
>> =

>> https://ess.r-project.org
>> =

>> --
>> Rodney Sparapani, Associate Professor of Biostatistics, He/Him
>> President, Wisconsin Chapter of the American Statistical Association
>> Division of Biostatistics, Data Science Institute
>> Medical College of Wisconsin, Milwaukee Campus
>> =

>> =

>> [[alternative HTML version deleted]]
>> =

>> ______________________________________________
>> [email protected] mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
> =

> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help