[ESS-bugs] ess-mode 18.10.2 [Released git: d4cd65da6dbf]; font-lock not highlighting anything

Steven Scott @teve@the@b@ye@|@n @end|ng |rom gm@||@com
Sat Apr 3 20:35:37 CEST 2021


ESS is not highlighting anything when I edit R code.  Functions,
assignments, comments, strings, etc all appear in the base colors of the
emacs theme.

Python code, C++ code, etc all highlight normally, so the problem
appears localized to ESS/R.

-------------------------------------------------------
This bug report will be sent to the ESS bugs email list
Press C-c C-c when you are ready to send your message.
-------------------------------------------------------

[ess-site:] ess-lisp-directory =
'/usr/share/emacs/site-lisp/elpa/ess-18.10.2'[ess-site.el]:
ess-customize-alist=nil
[ess-site.el _2_]: ess-customize-alist=nil
Creating global Emacs toolbar[ess-site:] *very* end ...(ess-mode-1):
ess-language=S, ess-dialect=R buf=foo.R
(ess-mode-1.5): alist=((inferior-ess-reload-function quote
inferior-ess-reload:R) (ess-quit-function quote ess-quit:R)
(ess-send-region-function quote ess-send-region:R) (ess-load-file-function
quote ess-load-file:R) (ess-build-load-command-function quote
ess-build-load-command:R) (ess-build-eval-command-function quote
ess-build-eval-command:R) (ess-local-customize-alist quote
ess-r-customize-alist) (ess-dialect . R) (ess-suffix . R) (ess-ac-sources .
ess-r-ac-sources) (ess-company-backends . ess-r-company-backends)
(ess-build-tags-command . ess-r-build-tags-command) (ess-traceback-command
. ess-r-traceback-command) (ess-call-stack-command .
ess-r-call-stack-command) (ess-mode-completion-syntax-table .
ess-r-completion-syntax-table) (ess-build-eval-message-function function
ess-r-build-eval-message) (ess-format-eval-command-function function
ess-r-format-eval-command) (ess-format-load-command-function function
ess-r-format-load-command) (ess-send-region-function function
ess-r-send-region) (ess-load-file-function function ess-r-load-file)
(ess-make-source-refd-command-function function
ess-r-make-source-refd-command) (ess-format-eval-message-function function
ess-r-format-eval-message) (ess-install-library-function function
ess-r-install-library) (ess-eldoc-function function ess-r-eldoc-function)
(ess-help-web-search-command function ess-r-sos)
(ess-build-help-command-function function ess-r-build-help-command)
(ess-dump-filename-template . ess-r-dump-filename-template)
(ess-mode-editing-alist . ess-r-editing-alist) (ess-change-sp-regexp .
ess-r-change-sp-regexp) (ess-help-sec-regex . ess-help-r-sec-regex)
(ess-help-sec-keys-alist . ess-help-r-sec-keys-alist) (ess-function-pattern
. ess-r-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-smart-operators . ess-r-smart-operators) (inferior-ess-program .
inferior-ess-r-program) (inferior-ess-objects-command .
inferior-ess-r-objects-command) (inferior-ess-search-list-command . search()
) (inferior-ess-help-command . inferior-ess-r-help-command)
(inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-start-file) (inferior-ess-start-args . )
(inferior-ess-mode-syntax-table . inferior-ess-r-syntax-table)
(ess-error-regexp-alist . ess-r-error-regexp-alist)
(ess-describe-object-at-point-commands quote
ess-r-describe-object-at-point-commands) (ess-STERM . iESS) (ess-editor .
ess-r-editor) (ess-pager . ess-r-pager) (ess-mode-syntax-table .
ess-r-syntax-table) (font-lock-syntactic-face-function function
ess-r-font-lock-syntactic-face-function) (prettify-symbols-alist .
ess-r-prettify-symbols) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp . t) (comint-process-echoes . t)
(inferior-ess-primary-prompt . > ) (inferior-ess-secondary-prompt . + )
(comment-start . #) (ess-imenu-generic-expression .
ess-imenu-S-generic-expression) (comment-add . 1) (comment-start-skip . #+
*) (comment-use-syntax . t) (comment-column . 40) (ess-no-skip-regexp
concat ^ *@\| (default-value (quote ess-no-skip-regexp)))
(inferior-ess-prompt . inferior-S-prompt) (ess-get-help-topics-function
function ess-s-get-help-topics-function) (ess-getwd-command . getwd()
) (ess-setwd-command . setwd('%s')
) (ess-funargs-command . .ess_funargs("%s")
) (fill-nobreak-predicate quote ess-inside-string-p)
(normal-auto-fill-function quote ess-do-auto-fill)
(ess-execute-screen-options-command . options(width=%d, length=99999)
) (inferior-ess-font-lock-keywords quote inferior-ess-r-font-lock-keywords)
(ess-font-lock-keywords quote ess-R-font-lock-keywords) (font-lock-defaults
quote (ess-build-font-lock-keywords nil nil ((46 . w) (95 . w)))))
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline .
mode-require-final-newline) (indent-line-function quote ess-indent-line)
(parse-sexp-ignore-comments . t) (ess-style . ess-default-style)
(ess-mode-syntax-table . ess-r-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function))

Finished setting up ESS-mode.
(ess-mode-1): ess-language=S, ess-dialect=R buf=check.mcmc.matrix.R
(ess-mode-1.5): alist=((inferior-ess-reload-function quote
inferior-ess-reload:R) (ess-quit-function quote ess-quit:R)
(ess-send-region-function quote ess-send-region:R) (ess-load-file-function
quote ess-load-file:R) (ess-build-load-command-function quote
ess-build-load-command:R) (ess-build-eval-command-function quote
ess-build-eval-command:R) (ess-local-customize-alist quote
ess-r-customize-alist) (ess-dialect . R) (ess-suffix . R) (ess-ac-sources .
ess-r-ac-sources) (ess-company-backends . ess-r-company-backends)
(ess-build-tags-command . ess-r-build-tags-command) (ess-traceback-command
. ess-r-traceback-command) (ess-call-stack-command .
ess-r-call-stack-command) (ess-mode-completion-syntax-table .
ess-r-completion-syntax-table) (ess-build-eval-message-function function
ess-r-build-eval-message) (ess-format-eval-command-function function
ess-r-format-eval-command) (ess-format-load-command-function function
ess-r-format-load-command) (ess-send-region-function function
ess-r-send-region) (ess-load-file-function function ess-r-load-file)
(ess-make-source-refd-command-function function
ess-r-make-source-refd-command) (ess-format-eval-message-function function
ess-r-format-eval-message) (ess-install-library-function function
ess-r-install-library) (ess-eldoc-function function ess-r-eldoc-function)
(ess-help-web-search-command function ess-r-sos)
(ess-build-help-command-function function ess-r-build-help-command)
(ess-dump-filename-template . ess-r-dump-filename-template)
(ess-mode-editing-alist . ess-r-editing-alist) (ess-change-sp-regexp .
ess-r-change-sp-regexp) (ess-help-sec-regex . ess-help-r-sec-regex)
(ess-help-sec-keys-alist . ess-help-r-sec-keys-alist) (ess-function-pattern
. ess-r-function-pattern) (ess-object-name-db-file . ess-r-namedb.el)
(ess-smart-operators . ess-r-smart-operators) (inferior-ess-program .
inferior-ess-r-program) (inferior-ess-objects-command .
inferior-ess-r-objects-command) (inferior-ess-search-list-command . search()
) (inferior-ess-help-command . inferior-ess-r-help-command)
(inferior-ess-help-filetype) (inferior-ess-exit-command . q())
(inferior-ess-exit-prompt . Save workspace image? [y/n/c]: )
(inferior-ess-start-file) (inferior-ess-start-args . )
(inferior-ess-mode-syntax-table . inferior-ess-r-syntax-table)
(ess-error-regexp-alist . ess-r-error-regexp-alist)
(ess-describe-object-at-point-commands quote
ess-r-describe-object-at-point-commands) (ess-STERM . iESS) (ess-editor .
ess-r-editor) (ess-pager . ess-r-pager) (ess-mode-syntax-table .
ess-r-syntax-table) (font-lock-syntactic-face-function function
ess-r-font-lock-syntactic-face-function) (prettify-symbols-alist .
ess-r-prettify-symbols) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp . t) (comint-process-echoes . t)
(inferior-ess-primary-prompt . > ) (inferior-ess-secondary-prompt . + )
(comment-start . #) (ess-imenu-generic-expression .
ess-imenu-S-generic-expression) (comment-add . 1) (comment-start-skip . #+
*) (comment-use-syntax . t) (comment-column . 40) (ess-no-skip-regexp
concat ^ *@\| (default-value (quote ess-no-skip-regexp)))
(inferior-ess-prompt . inferior-S-prompt) (ess-get-help-topics-function
function ess-s-get-help-topics-function) (ess-getwd-command . getwd()
) (ess-setwd-command . setwd('%s')
) (ess-funargs-command . .ess_funargs("%s")
) (fill-nobreak-predicate quote ess-inside-string-p)
(normal-auto-fill-function quote ess-do-auto-fill)
(ess-execute-screen-options-command . options(width=%d, length=99999)
) (inferior-ess-font-lock-keywords quote inferior-ess-r-font-lock-keywords)
(ess-font-lock-keywords quote ess-R-font-lock-keywords) (font-lock-defaults
quote (ess-build-font-lock-keywords nil nil ((46 . w) (95 . w)))))
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\|
page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter)
(paragraph-ignore-fill-prefix . t) (require-final-newline .
mode-require-final-newline) (indent-line-function quote ess-indent-line)
(parse-sexp-ignore-comments . t) (ess-style . ess-default-style)
(ess-mode-syntax-table . ess-r-syntax-table)
(add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function))

Finished setting up ESS-mode.


Emacs  : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
 of 2020-03-26, modified by Debian
Package: ess-mode 18.10.2 [Released git: d4cd65da6dbf]

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 default-directory "/home/steve/code/BOOM/Interfaces/R/Boom/R/"
 ess-keep-dump-files t
 ess-source-directory "/tmp/"
 ess-use-ido t
 ess-use-eldoc t
 ess-use-tracebug t
 ess-use-auto-complete t
 ess-use-company t
 ess-eval-visibly-p t
 ess-can-eval-in-background t
 ess-local-process-name nil
 )

	[[alternative HTML version deleted]]



More information about the ESS-bugs mailing list