[ESS] R transcript file name suffix

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Mon Jun 1 22:46:54 CEST 2020


On Mon 01 Jun 2020 at 14:23, William McCoy via ESS-help <ess-help using r-project.org> wrote:

> (setq auto-mode-alist (append '(("\\.[Rr]t\\'" . R-transcript-mode))
>       auto-mode-alist))
>
> That line no longer has any effect on ESS and my .Rt suffix no longer
> works; ESS expects .Rout as the suffix.
>
> How can I customize my ESS version 18.10.3snapshot to use .Rt as my
> transcript file name suffix?

R-transcript-mode was renamed to ess-r-transcript-mode. You'd want to
use:

(add-to-list 'auto-mode-alist '("\\.[Rr]t" . ess-r-transcript-mode))

Perhaps we should provide the old name as an obsolete alias...

Thanks,
Alex



More information about the ESS-help mailing list