[ESS-bugs] underscore randomly stops doing <-

Thej Kiran thetj09 @end|ng |rom gm@||@com
Mon May 20 22:22:31 CEST 2019


This happens often to me 5times in a month. The underscore stops working
as <- when I am using R in Emacs.

I quit ("q()") and started R console again, but no use. I looked to
restart the mode by (`M-x ess-mode`), but I couldn't find that option. I
decided to change the variable `ess-toggle-underscore nil` but didn't
find that variable when I did "C-h v".

-------------------------------------------------------
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.
-------------------------------------------------------

ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 612, (p)-Ini-pt = 26
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 490, (p)-Ini-pt = 21
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 612, (p)-Ini-pt = 26
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 974, (p)-Ini-pt = 20
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 1061, (p)-Ini-pt = 16
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 1145, (p)-Ini-pt = 19
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 1239, (p)-Ini-pt = 26
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 1286, (p)-Ini-pt = 29
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 1145, (p)-Ini-pt = 19
ELSE  not in setMethod() header ...
(ess-get-help-topics-list R:2) ..(get-object-list R:2) .. using existing
ess-sl-modtime-alist
 (length alist) : 14
 have re-read pos=1: -> length 0
 (ess-search-list ... ) after 'search()
', point-max=694
Processing RDS files ...
 |--> nil [searching t]
(ess-mode-1): ess-language=S, ess-dialect=R
buf=*help[R:2](confusionMatrix)*[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.

(R): ess-dialect=R, buf=test<DSS>, start-arg=nil
 current-prefix-arg=nil
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=test<DSS>
(inf-ess 1.1): procname=R:2 temp-dialect=R, buf-name=*R:2*
(inf-ess 2.0) Method #1 start=/home/eghx/agent18/DSS/no-upload/
buf=test<DSS>
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=test<DSS>
(i-ess 1): buf=test<DSS>, lang=S, comint..echo=t,
comint..sender=inferior-ess-input-sender,
(i-ess end): buf=test<DSS>, lang=S, comint..echo=t,
comint..sender=inferior-ess-input-sender,
(inf-ess 3.0): prog=R, start-args=--no-readline  , echoes=t
Making Process...Buf test<DSS>, :Proc R:2, :Prog R
 :Args= --no-readline
Start File=nil
(inferior-ess: waiting for process to start (before hook)
(inferior-ess 3): waiting for process after hookload-ESSR cmd:
local({

source('/home/eghx/.emacs.d/elpa/ess-20181105.1026/etc/ESSR/R/.load.R',
local=TRUE) #define load.ESSR

load.ESSR('/home/eghx/.emacs.d/elpa/ess-20181105.1026/etc/ESSR/R')
                      })

(R): inferior-ess-language-start=options(STERM='iESS',
str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
ess-BEG-of-fun after 'search-FWD (': Ini-pt 51, (p)-Ini-pt = 10
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 252, (p)-Ini-pt = 18
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 383, (p)-Ini-pt = 24
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 660, (p)-Ini-pt = 26
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 660, (p)-Ini-pt = 26
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 222, (p)-Ini-pt = 0
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 252, (p)-Ini-pt = 18
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 401, (p)-Ini-pt = 24
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 401, (p)-Ini-pt = 24
ELSE  not in setMethod() header ...
ess-BEG-of-fun after 'search-FWD (': Ini-pt 312, (p)-Ini-pt = 19
ELSE  not in setMethod() header ...

(R): ess-dialect=R, buf=test<DSS>, start-arg=nil
 current-prefix-arg=nil
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=test<DSS>
(inf-ess 1.1): procname=R:2 temp-dialect=R, buf-name=*R:2*
(inf-ess 2.0) Method #1 start=/home/eghx/agent18/DSS/no-upload/
buf=test<DSS>
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=test<DSS>
(i-ess 1): buf=test<DSS>, lang=S, comint..echo=t,
comint..sender=inferior-ess-input-sender,
(i-ess end): buf=test<DSS>, lang=S, comint..echo=t,
comint..sender=inferior-ess-input-sender,
(inf-ess 3.0): prog=R, start-args=--no-readline  , echoes=t
Making Process...Buf test<DSS>, :Proc R:2, :Prog R
 :Args= --no-readline
Start File=nil
(inferior-ess: waiting for process to start (before hook)
(inferior-ess 3): waiting for process after hookload-ESSR cmd:
local({

source('/home/eghx/.emacs.d/elpa/ess-20181105.1026/etc/ESSR/R/.load.R',
local=TRUE) #define load.ESSR

load.ESSR('/home/eghx/.emacs.d/elpa/ess-20181105.1026/etc/ESSR/R')
                      })

(R): inferior-ess-language-start=options(STERM='iESS',
str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)


Emacs  : GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2017-09-12
Package: ess-mode 18.10.2 [<unknown>]

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 default-directory "/home/eghx/agent18/DSS/"
 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 "R:2"
 )
Regards,
Thej Kiran Ravichandran

	[[alternative HTML version deleted]]



More information about the ESS-bugs mailing list