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-fashioned 
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, 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 à 15:00, Vincent Goulet via ESS-help 
> <ess-help@r-project.org> a écrit :
> 
> 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 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 time 
> to retire my distributions since most additions can now be installed using 
> 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 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 Emacs 
> 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 à 13:42, Sparapani, Rodney via ESS-help 
>> <ess-help@r-project.org> a écrit :
>> 
>> Hi Gang:
>> 
>> ESS-core is pleased to announce that our latest annual release installment
>> 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 below�
>> 
>> 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. �(add-to-list 'package-archives 
>> '("melpa-stable" . https://stable.melpa.org/packages/))� 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 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]]
>> 
>> ______________________________________________
>> ESS-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
> 
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Reply via email to