[ESS-bugs] ess-mode 5.3.6; Suggest that some ESS[S] mode bindings also work in ESS Help mode

Martin Maechler maechler at stat.math.ethz.ch
Thu Jan 10 09:03:21 CET 2008


Hi Tim,

If at all possible, I'd like such proposals "in public", i.e.,
ESS-help, not ESS-bugs; such that other ESS users can profit
from them the dialogue and/or contribute themselves...

Is it ok for you if I'm replying CC ESS-help ?

Regards,
Martin

>>>>> "TH" == Tim Hesterberg <timh at insightful.com>
>>>>>     on Wed, 09 Jan 2008 14:26:14 -0800 writes:

    TH> When I'm looking at examples in a help file and want to try the
    TH> examples, it would be nice if
    TH> C-c C-n		ess-eval-line-and-step
    TH> had the same behavior as when editing a source file.
    TH> Some other bindings would also be useful.  So it would be nice
    TH> if some of the bindings from ESS[S] mode would also be set in ESS Help mode.

    TH> Most useful:
    TH> C-c C-n		ess-eval-line-and-step
    TH> C-c C-j		ess-eval-line
    TH> C-c C-v		ess-display-help-on-object

    TH> Possibly useful:
    TH> C-c C-c		ess-eval-function-or-paragraph-and-step
    TH> C-c C-f		ess-eval-function
    TH> C-c C-p		ess-eval-paragraph-and-step
    TH> C-c C-r		ess-eval-region
    TH> C-M-a		ess-beginning-of-function
    TH> C-M-e		ess-end-of-function
    TH> various other ess-eval-* functions




    TH> [ess-site.el]: ess-customize-alist=nil 
    TH> [ess-site.el _2_]: ess-customize-alist=nil 
    TH> (Sqpe): ess-sqpe-versions-create making M-x defun splus80 for c:/PROGRA~1/Insightful/splus80 
    TH> (ess-find-rterm): ess-R-root-dir = 'c:/Progra~1/R/'
    TH> (R): ess-r-versions-create making M-x defuns for 
    TH> c:/Progra~1/R/R-2.6.1/bin/Rterm.exe
    TH> c:/Progra~1/R/R-2.5.0/bin/Rterm.exe
    TH> (Sqpe): ess-sqpe-versions-create making M-x defun splus80 for c:/progra~1/Insightful/splus80 

    TH> (R): ess-dialect=nil, buf=officers, start-arg=nil
    TH> current-prefix-arg=nil
    TH> (inferior-ess 0): ess-start-args=--ess   
    TH> ess-setq-vars-default 0: ess-language=Initial, -dialect=nil, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
    TH> ess-setq-vars-default 1: ess-language=S, -dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
    TH> (inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=officers
    TH> (inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R* 
    TH> (inferior-ess) Method #3 start=d:/timh/ buf=*R*
    TH> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
    TH> (inf-ess 2.1): ess-language=S, ess-dialect=R buf=*R* 
    TH> (inf-ess 2.2): start args = --ess  , inf-ess-start-args=--ess   
    TH> (inf-ess finish [S(R), Rterm(nil,nil)]
    TH> (ess-multi 0):  inf-ess-start-args=--ess  , comint-..echoes=nil
    TH> (i-ess 1): buf=*R*, lang=S, comint..echo=nil, comint..sender=comint-simple-send,
    TH> (i-ess 2): buf=*R*, lang=S, comint..echo=t, comint..sender=inferior-R-input-sender,
    TH> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=inferior-R-input-sender
    TH> (i-ess 3): curr-buf=*R*, comint..echo=t, comint..sender=inferior-R-input-sender,
    TH> (ess-multi post inf-ess: start-args=--ess  , comint-echoes=t
    TH> (ess-multi 1):  start-args=--ess   
    TH> Making Process...Buf *R*, Proc R, Prog Rterm
    TH> Start File=nil, Args= --ess  .
    TH> (R): inferior-ess-language-start=options(STERM='iESS', editor='gnuclient.exe')
    TH> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
    TH> (ess-mode-1): ess-language=S, ess-dialect=R buf=temp.R 
    TH> (ess-mode-1.5): alist=((ess-local-customize-alist quote R-customize-alist) (ess-dialect . R) (ess-suffix . R) (ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix ess-dump-filename-template-proto) (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-imenu-mode-function quote ess-imenu-R) (inferior-ess-program . inferior-R-program-name) (inferior-ess-objects-command . inferior-R-objects-command) (inferior-ess-font-lock-keywords . inferior-ess-R-font-lock-keywords) (inferior-ess-search-list-command . search()
    TH> ) (inferior-ess-help-command . help("%s", htmlhelp=FALSE)
    TH> ) (inferior-ess-help-filetype) (inferior-ess-exit-command . q()) (inferior-ess-exit-prompt . Save workspace image? [y/n/c]: ) (inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)*> ) (inferior-ess-secondary-prompt . + ?) (inferior-ess-start-file) (inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor) (ess-pager . R-pager) (ess-language . S) (inferior-ess-exit-command . q()
    TH> ) (inferior-ess-language-start eval inferior-S-language-start) (comint-use-prompt-regexp-instead-of-fields . t)) 
    TH> (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 . t) (comment-start . #) (comment-add . 1) (comment-start-skip . #+ *) (comment-column . 40) (indent-line-function quote S-indent-line) (parse-sexp-ignore-comments . t) (ess-set-style . ess-default-style) (ess-local-process-name) (ess-mode-syntax-table . S-syntax-table) (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[ 	
    TH> ]*function) (font-lock-defaults quote (ess-R-mode-font-lock-keywords nil nil ((46 . w) (95 . w))))) 
    TH> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send

    TH> Finished setting up ESS-mode.
    TH> (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send


    TH> Emacs  : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
    TH> of 2007-06-02 on RELEASE
    TH> Package: ess-mode 5.3.6

    TH> current state:
    TH> ==============
    TH> (setq
    TH> ess-language "S"
    TH> ess-dialect "R"
    TH> ess-ask-for-ess-directory t
    TH> ess-ask-about-transfile nil
    TH> ess-directory "d:/timh/"
    TH> ess-keep-dump-files "always"
    TH> ess-source-directory "C:\\DOCUME~1\\timh\\LOCALS~1\\Temp"
    TH> )

    TH> _______________________________________________
    TH> ESS-bugs ESS-bugs at stat.math.ethz.ch
    TH> https://stat.ethz.ch/mailman/listinfo/ess-bugs

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



More information about the ESS-bugs mailing list