Re: ESS 25.01.0 released on ELPA

Vincent Goulet via ESS-help <[email protected]> Sun, 16 Feb 2025 21:43:23 -0500
Newsgroups gmane.emacs.ess.general
Message-ID <[email protected]>
Many thanks, Ramon!

A new release of my distributions incorporating your fix are under way. Let=
's now hope that it will make it's way upstream.

Best,

v.

> Le 16 f=C3=A9vr. 2025 =C3=A0 16:53, Ramon Diaz-Uriarte <[email protected]=
> a =C3=A9crit :
> =

> (It didn't occur to me to try this before sending the other email. Sorry)
> =

> =

> If in line 54 of file polymode-base.el (in polymode-20230317.1218) I chan=
ge 'latex-mode by 'LaTeX-mode things seem to work.
> =

> Instead of modifying polymode's source, I can make that change in the :co=
nfig  part of my polymode's use-package section:
> =

> (use-package polymode
>   blablabla
>   :config
>   (define-hostmode poly-latex-hostmode :mode 'LaTeX-mode)
> )
> =

> From emacs -Q this seems to work
> =

> (package-initialize)
> =

> (with-eval-after-load 'polymode
>  (define-hostmode poly-latex-hostmode :mode 'LaTeX-mode)
>  )
> =

> Best,
> =

> R.
> =

> On Sat, 01-February-2025, at 02:04:20, Vincent Goulet via ESS-help <ess-h=
[email protected]> wrote:
>> Hey Gang,
>> =

>> I'm stuck. In the current released version of my distro, packages like E=
SS, AUCTeX and polymode are installed from the sources and loaded the old-f=
ashioned 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,=
 Command). The mode line indicates LaTeX/MP and PM (or PM-Rnw). All good.
>> =

>> Now, with my upcoming distro, the packages are installed using
>> package-install and the package system is initialized in the site
>> configuration file [it contains (package-initialiaze)]. The thing is, wh=
en
>> 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-=
project.org> a =C3=A9crit :
>>> =

>>> Hi Rodney and all,
>>> =

>>> As I was rolling up my sleeves to prepare an update of my distributions
>>> to include the newest ESS, I learned that AUCTeX, now in the 14.x serie=
s,
>>> 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
>>> time to retire my distributions since most additions can now be install=
ed
>>> using package-install? At the time, some people showed continued intere=
st
>>> for an out-of-the-box distribution. I'm probably one of them.
>>> Furthermore, I offer some customizations and extensions (Hunspell and
>>> dictionaries, for example) 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 Ema=
cs
>>> tree and ship this. When users install the distribution, the package
>>> system is already initialized (therefore users should *not* include
>>> (package-initialize) 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-hel=
[email protected]> a =C3=A9crit :
>>>> =

>>>> Hi Gang:
>>>> =

>>>> ESS-core is pleased to announce that our latest annual release install=
ment
>>>> 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 b=
elow=EF=BF=BD
>>>> =

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

>>>> * polymode: In our transition from literate libraries (such as noweb
>>>> documented below with respect to 19.04), we now recommend the polymode
>>>> packages as a more suitable replacement. Furthermore, we suggest the
>>>> related polymodes including poly-noweb, poly-markdown and poly-R
>>>> (installed in that order). The package polymode itself, as well as the
>>>> polymodes packages, are all 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-archives '("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 questi=
on mark are now fontified as keywords. Contributed by Maxime Pettinger.
>>>> *   ESS[SAS]: Developed new comprehensive lists of PROCs and functions=
 for 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
> =

> --
> Ramon Diaz-Uriarte
> Department of Biochemistry, Lab B-31
> Facultad de Medicina
> Universidad Aut=C3=B3noma de Madrid
> Arzobispo Morcillo, 4
> 28029 Madrid
> Spain
> =

> Phone: +34-91-497-2412
> =

> Email: [email protected]
>       [email protected]
>       [email protected]
> =

> https://ligarto.org/rdiaz

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