[ESS-bugs] ess-mode 14.11 [git: dbfafb0e0b7031b946eb01c772033a6a75c16186]; C-t C-t C-a : ess-developer-add-package

Vitalie Spinu spinuvit at gmail.com
Mon Feb 2 19:37:35 CET 2015


Just fixed that. It's rather strange. The buggy code is a year and a
half old and I was using ess-developer without issues quite recently :(

  Vitalie

 >>> Martin Maechler on Mon, 2 Feb 2015 16:40:51 +0100 wrote:

 > FCC: ~maechler/F/out
 > (very ?) new bug:

 > C-c C-t C-a = ess-developer-add-package 
 > gives the ominuous
 >       "Wrong type argument: numberp, t"

 > more exactly (in *Messages*):

 >      ess-wait-for-process: Wrong type argument: numberp, t

 > As you may remember I 5000 packages installed and always need to
 > use
 >    C-u C-c C-t C-a (so that only the attached packages are searched)

 > This happens both when I run it from *R*
 > or from a source file {from R's method package}.

 > Please ask if you need more.
 > Martin

 > -------------------------------------------------------
 > 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-END-of-fun: found #1 : 1724
 > (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
 > (ess-mode-1): ess-language=S, ess-dialect=R buf=NAMESPACE 
 > (ess-mode-1.5): alist=((ess-local-customize-alist quote R-customize-alist) (ess-eldoc-function quote ess-R-eldoc-function) (ess-dialect . R) (ess-suffix . R) (ess-ac-sources quote (ac-source-R)) (ess-build-tags-command . rtags('%s', recursive = TRUE, pattern = '\\.[RrSs](rw)?$',ofile = '%s')) (ess-traceback-command . local({cat(geterrmessage(), "---------------------------------- 
 > ", fill=TRUE);try(traceback(), silent=TRUE)})
 > ) (ess-call-stack-command . traceback(1)
 > ) (ess-eval-command . .ess.eval("%s", FALSE, FALSE, file="%f")
 > ) (ess-eval-visibly-command . .ess.eval("%s", TRUE, TRUE, 300, file="%f")
 > ) (ess-eval-visibly-noecho-command . .ess.eval("%s", FALSE, TRUE, 300, file="%f")
 > ) (ess-load-command . .ess.source("%s", FALSE, FALSE)
 > ) (ess-load-visibly-command . .ess.source("%s", TRUE, TRUE, 300)
 > ) (ess-load-visibly-noecho-command . .ess.source("%s", FALSE, TRUE, 300)
 > ) (ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix ess-dump-filename-template-proto) (ess-help-web-search-command quote ess-R-sos) (ess-mode-syntax-table . R-syntax-table) (ess-mode-editing-alist . 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-loop-timeout . ess-S-loop-timeout) (ess-cmd-delay . ess-R-cmd-delay) (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-R-program-name) (inferior-ess-objects-command . inferior-R-objects-command) (inferior-ess-font-lock-keywords quote inferior-R-font-lock-keywords) (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 . ) (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 . R-editor) (ess-pager . R-pager) (prettify-symbols-alist quote ((<- . 8592) (<<- . 8606) (-> . 8594) (->> . 8608))) (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 quote ess-get-S-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-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 . S-syntax-table) (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[ 	
 > ]*function) (ess-font-lock-keywords quote ess-R-font-lock-keywords) (ess-font-lock-defaults ess--extract-default-fl-keywords ess-R-font-lock-keywords) (font-lock-defaults quote (ess-font-lock-defaults nil nil ((46 . w) (95 . w))))) 
 > (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send

 > Finished setting up ESS-mode.
 > ess-request-a-process: {beginning}
 > (ess-setq-vars-LOCAL): language=S, dialect=R, buf=*S search list*, comint..echoes=t, comint..sender=comint-simple-send
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1358, (p)-Ini-pt = 9
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1252,1268),1252
 > 	Match,Pt:(1212,1232),1212
 > ess-END-of-fun: S4=nil, beginning = 1212
 > ess-END-of-fun: found #1 : 1724
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1150, (p)-Ini-pt = 27
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1150,1176),1150
 > ess-END-of-fun: S4=nil, beginning = 1150
 > ess-END-of-fun: found #1 : 1337
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1150, (p)-Ini-pt = 29
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1150,1178),1150
 > ess-END-of-fun: S4=nil, beginning = 1150
 > ess-END-of-fun: found #1 : 1339
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1340, (p)-Ini-pt = 27
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1340,1366),1340
 > ess-END-of-fun: S4=nil, beginning = 1340
 > ess-END-of-fun: found #1 : 1382
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1502, (p)-Ini-pt = 21
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1502,1522),1502
 > ess-END-of-fun: S4=nil, beginning = 1502
 > ess-END-of-fun: found #1 : 1996
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1912, (p)-Ini-pt = 15
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1542,1558),1542
 > 	Match,Pt:(1502,1522),1502
 > ess-END-of-fun: S4=nil, beginning = 1502
 > ess-END-of-fun: found #1 : 1996
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1912, (p)-Ini-pt = 15
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1542,1558),1542
 > 	Match,Pt:(1502,1522),1502
 > ess-END-of-fun: S4=nil, beginning = 1502
 > ess-END-of-fun: found #1 : 1996
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1756, (p)-Ini-pt = 4
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1542,1558),1542
 > 	Match,Pt:(1502,1522),1502
 > ess-END-of-fun: S4=nil, beginning = 1502
 > ess-END-of-fun: found #1 : 2062
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 1756, (p)-Ini-pt = 4
 > ELSE  not in setMethod() header ...
 > 	Match,Pt:(1542,1558),1542
 > 	Match,Pt:(1502,1522),1502
 > ess-END-of-fun: S4=nil, beginning = 1502
 > ess-END-of-fun: found #1 : 2067
 > ess-BEG-of-fun after 'search-FWD (': Ini-pt 576, (p)-Ini-pt = 11
 > ELSE  not in setMethod() header ...
 > (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
 > (ess-mode-1): ess-language=S, ess-dialect=R buf=cbind.R 
 > (ess-mode-1.5): alist=((ess-local-customize-alist quote R-customize-alist)
 > (ess-eldoc-function quote ess-R-eldoc-function) (ess-dialect . R) (ess-suffix
 > . R) (ess-ac-sources quote (ac-source-R)) (ess-build-tags-command . rtags('%s',
 > recursive = TRUE, pattern = '\\.[RrSs](rw)?$',ofile = '%s'))
 > (ess-traceback-command . local({cat(geterrmessage(),
 > "----------------------------------
 > ", fill=TRUE);try(traceback(), silent=TRUE)})
 > ) (ess-call-stack-command . traceback(1)
 > ) (ess-eval-command . .ess.eval("%s", FALSE, FALSE, file="%f")
 > ) (ess-eval-visibly-command . .ess.eval("%s", TRUE, TRUE, 300, file="%f")
 > ) (ess-eval-visibly-noecho-command . .ess.eval("%s", FALSE, TRUE, 300, file="%f")
 > ) (ess-load-command . .ess.source("%s", FALSE, FALSE)
 > ) (ess-load-visibly-command . .ess.source("%s", TRUE, TRUE, 300)
 > ) (ess-load-visibly-noecho-command . .ess.source("%s", FALSE, TRUE, 300)
 > ) (ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix
 > ess-dump-filename-template-proto) (ess-help-web-search-command quote ess-R-sos)
 > (ess-mode-syntax-table . R-syntax-table) (ess-mode-editing-alist
 > . 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-loop-timeout . ess-S-loop-timeout)
 > (ess-cmd-delay . ess-R-cmd-delay) (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-R-program-name) (inferior-ess-objects-command
 > . inferior-R-objects-command) (inferior-ess-font-lock-keywords quote
 > inferior-R-font-lock-keywords) (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 . ) (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
 > . R-editor) (ess-pager . R-pager) (prettify-symbols-alist quote ((<- . 8592)
 > (<<- . 8606) (-> . 8594) (->> . 8608))) (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 quote
 > ess-get-S-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-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 . S-syntax-table)
 > (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
 > ]*function) (ess-font-lock-keywords quote ess-R-font-lock-keywords) (ess-font-lock-defaults ess--extract-default-fl-keywords ess-R-font-lock-keywords) (font-lock-defaults quote (ess-font-lock-defaults nil nil ((46 . w) (95 . w))))) 
 > (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send

 > Finished setting up ESS-mode.
 > ess-request-a-process: {beginning}
 > Reply-to: Martin Maechler <maechler at stat.math.ethz.ch>

 > Emacs  : GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9)
 >  of 2014-09-30 on buildvm-10.phx2.fedoraproject.org
 > Package: ess-mode 14.11 [git: dbfafb0e0b7031b946eb01c772033a6a75c16186]

 > current state:
 > ==============
 > (setq
 >  ess-language "S"
 >  ess-dialect "R"
 >  ess-ask-for-ess-directory t
 >  ess-ask-about-transfile nil
 >  ess-directory nil
 >  ess-keep-dump-files "always"
 >  ess-source-directory "/u/maechler/S/S-System/ESS-src/"
 >  ess-use-ido t
 >  ess-use-eldoc t
 >  ess-use-tracebug t
 >  ess-use-auto-complete t
 >  ess-eval-visibly-p nil
 >  ess-can-eval-in-background nil
 >  ess-local-process-name "R"
 >  )

 > _______________________________________________
 > ESS-bugs ESS-bugs at r-project.org
 > https://stat.ethz.ch/mailman/listinfo/ess-bugs

 > _______________________________________________
 > ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core



More information about the ESS-bugs mailing list