2008-04-10 Martin Maechler * ess-cust.el (ess-use-R-completion): customizable boolean for this: * ess-inf.el (ess-internal-complete-object-name): new name for original (ess-complete-object-name). * ess-inf.el (ess-complete-object-name): now simple wrapper to either ess-R-complete-object-name or ess-internal-complete-object-name. * essd-r.el (R): use ess-R-complete-object-name for R versions >= 2.5.0 {where pkg 'rcompgen' became recommended}; check for baseenv() only for older versions of R. 2008-04-07 Martin Maechler * ess-emcs.el (ess-line-beginning-position): defalias renamed from original 'line-beg...' in order to be good emacs citizens. 2008-03-31 Martin Maechler * essd-r.el (R-fix-T-F): remove "_" (and extraneous "\"); thanks to Stephen 2008-03-31 Stephen Eglen * ess-mode.el (ess-continued-statement-p): remove _ from regexp to fix Kurt's bug re indendation after NA_INTEGER_ 2008-03-11 Stephen Eglen * ess-cust.el (custom): Remove old code checking if custom package is provided; custom is now in all recent versions of Emacs and XEmacs. 2008-03-11 Martin Maechler * essd-r.el (ess-current-R-version, ess-current-R-at-least): two new utilities. * essd-r.el (ess-R-complete-object-name): modified from Jim MacDonald's 'alt-ess-complete-object-name, to work in R >= 2.7.0. 2008-03-05 Martin Maechler * ess-inf.el (inferior-R-input-sender): wrap into (save-current-buffer . ); thanks to patch from Lawrence Mitchell. 2008-01-17 Martin Maechler * ess-noweb.el (ess-noweb-use-font-lock): change default from window-system to font-lock-mode 2008-01-08 Martin Maechler * essl-s.el (ess-fix-miscellaneous): no 'literal in fixing "; #" 2007-12-28 Stephen Eglen * essd-sp6w.el (S+6-dialect-name): Make defcustom and change default to "S". Change of default suggested by Tim Hesterberg. 2007-12-27 Martin Maechler * ess-mode.el (ess-mode): set style to ess-style which is now in ess-mode-editing-alist .. which is now correctly defined in * essl-s.el (R-editing-alist): etc 2007-12-11 Martin Maechler * essd-r.el (inferior-ess-primary-prompt): s / * / ? / * ess-inf.el (ess-command): new optional argument 'no-prompt-check (ess-get-words-from-vector): ditto; make use of (ess-if-verbose-write); trailing white space "nuking" * ess.el: (ess-if-verbose-write): new shortcut for more compact code in other places. 2007-11-08 Stephen Eglen * ess-eldoc.el (ess-eldoc): Prefix the docstring by the name of the function, for readability. 2007-11-07 Stephen Eglen * ess-cust.el (ess-font-lock-mode): New variable. * ess-site.el: Use ess-font-lock-mode. 2007-09-28 Martin for Rodney Sparapany * essd-r.el (ess-find-rterm): yet another "replace \\ by /", needed for Xemacs (on Windows). 2007-09-12 Martin Maechler * essd-r.el (ess-r-versions-create): merged ess-rterm-versions-create into this one, using (if ..microsoft..); * ess-site.el: ditto * essd-r.el (ess-find-newest-R): fix M$: use ess-rterm-version-paths (ess-check-R-program-name): renamed from ess-check-R-name * ess-cust.el (ess-rterm-version-paths): add to doc string * ess-site.el: cleanup comments in "finding R versions" part 2007-09-11 Martin Maechler * ess-site.el (ess-versions-created): slightly more parallelism between microsoft and "normal". * ess-utils.el: remove long deprecated (defun ess-directory-sep) (ess-chop1, ess-drop-non-directories): new utilities. * essd-r.el (ess-r-versions-create): and (ess-rterm-versions-create): parallelized much more, to be merged later. (ess-find-rterm): now make use of ess-drop-non-directories: a "zip" file starting with R-2.6 now longer harms. 2007-09-10 Martin Maechler * ess-cust.el (R-editor et al): use "gnuclient" instead of "... -q" for Xemacs 2007-09-03 Martin Maechler * ess-comp.el (ess-message): use format-string - exactly * ess-site.el: {ditto} paralleling (message .); such that we can use (... "%s" msg) as recommended in here: * essd-r-args.el (ess-r-args-show): 2007-08-23 Martin Maechler * ess-cust.el (ess-SHOME-versions, et al): use (getenv "ProgramFiles") instead of "c:/progra~1..."; ditto in * essd-r.el etc. 2007-08-22 Martin Maechler * ess-site.el: replace kludgey (defun find-load-file-directory) by simple (locate-library .) thanks to a hint from Philipp Lord. 2007-08-15 Martin Maechler * essd-r-args.el (require 'tooltip): only when ess-has-tooltip is set; which is the case by default when *not* in Xemacs. 2007-07-26 Martin Maechler * ess-cust.el (ess-r-args-electric-paren): default changed to t; newbies should see the new feature automatically. 2007-07-24 Stephen Eglen * essd-r.el (ess-find-newest-R): New defun, to find the newest version of R, either for Unix or Windows. Result is cached in a variable, ess-newest-R. (ess-check-R-name): New defun to check that inferior-R-program-name points to an executable. (R-newest): Use ess-find-newest-R defun. (ess-find-newest-R): Add message whilst searching. * ess-site.el: Call ess-check-R-name once, upon startup. Searching for newest version takes place only if inferior-R-program-name is invalid. 2007-07-23 Stephen Eglen * ess-eldoc.el (ess-eldoc): Use ess-local-process-name rather than ess-current-process-name. 2007-07-21 Stephen Eglen * ess-inf.el (ess-command): Use with-current-buffer and simplify. * ess-help.el (ess-help-underline): Fix indenting. (ess-describe-sec-map): Use with-current-buffer. 2007-07-21 Martin Maechler * ess.el (ess-write-to-dribble-buffer): patch from Markus Triska . Most importantly, deactivate-mark is set to nil so that any active region is not affected. (Without this, in transient-mark-mode in GNU Emacs, highlighting of the region is lost when moving over chunks, and M-h (= mark-paragraph) on chunks doesn't work as expected.). Now also use with-current-buffer. 2007-07-16 Stephen Eglen * ess-site.el (ess-sqpe-versions-created): Remove call to ess-newest-R, and instead allow R-newest to find the newest version of R. This relies on a new devar, ess-r-versions-created, to store the other versions of R that were found when ess-site was loaded. * essd-r.el (R-newest): New defun. First time it is called, try to find the newest version of R. (ess-newest-r): Just return the name of the newst version of R; let R-newest do the fset call. * ess-mode.el (ess-function-pattern): Add defvar to quieten byte compiler. * ess-help.el (ess-help-mode): No need to make ess-local-process-name buffer local; that's done elsewhere. * ess-inf.el (ess-execute): Ditto. * ess-cust.el: Update many doc strings, and change some vars from defcustom to defvar. 2007-07-14 Stephen Eglen * essd-r.el (ess-find-newest-date): this-r should be a local var. 2007-07-13 Stephen Eglen * essd-r.el (ess-r-version-date): New defun, replacing ess-r-version-time as it returns the date stamp of R as a string rather than a time in seconds. (ess-find-newest-date): New defun, replacing ess-which-newest-date. 2007-07-11 Stephen Eglen * essd-r.el (ess-newest-r, ess-r-version-time, ess-which-newest): New defuns to find the newest version of R. * ess-site.el (ess-sqpe-versions-created): Use ess-newest-r. 2007-07-01 Stephen Eglen * ess-eldoc.el: New file: add support for ELDOC in R buffers. * essd-r-args.el (ess-r-args-get): Use ?\( rather than using string-to-char. Other small typo/doc fixes. 2007-06-29 Stephen Eglen * essl-sta.el (ordinary-insertion-filter): Delete this defun, it is also in ess-inf.el * ess-inf.el (inferior-ess-mode): Ensure font-lock-keywords-only is t (to fix bug in Emacs 22.1). Other small changes: - using `member' rather than lots of `string=' comparisons. - replacing (if cond (progn ...)) by (when cond ...) - replacing: (make-local-variable some-var) (setq some-var val) with (set (make-local-variable some-var) val) 2007-06-27 Stephen Eglen * ess-site.el (ess-restore-asm-extns): use `when' rather than `(if x (progn ...))'. 2007-06-13 Martin Maechler * ess-cust.el (ess-r-args-electric-paren): new custom variable to be used to toggle the `electric "(" behavior' in essd-r-args.el * ess-mode.el (ess-mode): define-key .. "(" if ..-electric-paren is set. * essd-r-args.el (ess-r-args-auto-show): new small function; activated by the above custom variable. (ess-r-args-get): use 'force ==> less asking for process 2007-06-13 Rodney Sparapani * essl-sas.el (SAS-mode-font-lock-keywords): fix in the "dlreg|hreg|..." regular expresseion. 2007-05-21 Martin Maechler * ess-inf.el (ess-request-a-process): give (message .) when not asking {see 2007-05-03}. 2007-05-11 Martin Maechler * ess-cust.el (ess-r-args-show-as): and others: moved (defvar ...) to * essd-r-args.el: and changed to (defcustom ...) * ess-cust.el (ess-S-non-functions): new variable to be used by * ess-cust.el (ess-r-args-keep-silent): new customizable variable. 2007-05-04 Stephen Eglen * essd-r.el(?`): define the backquote (`) character to be in the quote character syntax class. * ess-cust.el: Doc fix to comment regarding regexps for finding R functions. 2007-05-03 Martin Maechler * ess-inf.el (ess-request-a-process): Don't ask if there's only one process. * ess.el (ess-get-ps-viewer, ess-get-pdf-viewer): new functions, currently used in * ess-swv.el (ess-swv-PS, ess-swv-PDF): cleaned up; using the above and (ess-swv-run-in-R): fix bug in (message .); start R automatically if none is running. (ess-swv-PDF): use (call-process .) return value to detect errors from pdflatex. * ess-cust.el (ess-pdf-viewer-pref, ess-ps-viewer-pref): new user customizable variables. 2007-05-01 Martin Maechler * essd-r-args.el: new functionality donated from Sven Hartenstein, see http://www.svenhartenstein.de/emacs-ess.php 2007-04-26 Stephen Eglen * ess-inf.el (ess-get-words-from-vector): Doc fix. 2007-03-16 Martin Maechler * ess-swv.el (ess-swv-tangle): new; also rename all the ess-make to ess-swv-; and add back-compatibility wrappers (with warning) 2007-01-27 Stephen Eglen * essd-sp6w.el (S+6-msdos-initiate, S+6-initiate): Do not use (beginning-of-buffer), as it clobbers the mark. 2007-01-22 Martin Maechler * ess-cust.el (inferior-ess-safe-names-command): new try(names(.)); this finally gets rid of "hanging" in object completion, e.g., when options(error=recover) is active in R. * ess-inf.el (ess-object-names): using the above ..-safe-names-.. 2007-01-08 Martin Maechler * essa-sas.el (ess-sleep): eliminated, since no xemacs/emacs distinction needed: GNU emacs can well (sleep-for 0.12) 2007-01-06 Martin Maechler * ess-site.el (ess-microsoft-p): issue "options(chmhelp = FALSE)" for microsoft-p 2007-01-05 Martin Maechler * ess-inf.el (ess-eval-linewise): new argument 'wait-last-prompt' and 'sleep-sec' * ess-inf.el (ess-execute-screen-options): use wait-last.. and sleep-sec * ess-dde.el (ess-eval-linewise-ddeclient): use sleep-sec * essd-r.el (R): using ess-eval-linewise + 'wait (2 x) * ess-cust.el (ess-eval-linewise-sleep): new variable; default 0.06 2006-12-08 Stephen Eglen * ess-cust.el (Rnw-mode-hook): New hook. * essd-r.el (Rnw-mode): Use Rnw-mode-hook. 2006-12-07 Stephen Eglen * ess-utils.el (ess-sci-to-dec), essl-bug.el (ess-bugs-sci-to-round-4-dp), essl-bugs.el (ess-bugs-sci-to-round-4-dp), essd-s4.el: string-to-int is deprecated; use string-to-number. 2006-12-03 Stephen Eglen * noweb-mode.el (noweb-newline): Add noweb-indent-line. 2006-11-25 Martin Maechler * ess-swv.el (ess-makePS, ess-makePDF): search for PS and PDF viewer instead of using having 'gv' and 'acroread' hardcoded; thanks to patch from Leo . 2006-10-27 Stephen Eglen * ess-help.el (ess-submit-bug-report): Add note to use C-c C-c to send bug report. 2006-09-23 Martin Maechler * essddr.el (Rd-mode-insert-skeleton): add final "\n" 2006-09-22 Martin Maechler * ess-mode.el (ess-mode-menu): move "ess-execute" up; the menus are for beginners after all. * ess-inf.el (ess-command): make sure final prompt is deleted (again!). * ess-cust.el (ess-display-buffer-reuse-frames): new variable, defaulting to 't which is now used by * ess-inf.el (ess-display-temp-buffer): uses the above. Consequently, (ess-execute) reuses an *ess-output* frame. 2006-09-15 Martin Maechler * ess-inf.el (ess-command): get rid of ess-save-lastvalue-command * .... also in some other places. Consequently we no longer mess with .Last.value in the S dialects. 2006-09-14 Martin Maechler * ess-inf.el (ess-complete-object-name): add comment (ess-get-object-list): some more (ess-write-to-dribble-..) diagnostic output. 2006-08-31 Martin Maechler * ess-swv.el (ess-makeLatex): improved 2006-08-30 Martin Maechler * noweb-mode.el (noweb-mode-prefix-map): do *not* override M-n C-h 2006-08-28 Martin Maechler * ess-swv.el (ess-makeSweave): improve to show *R* buffer; also add comments about more "TODO"s * ess-swv.el (ess-make*): using (search .) needs 'cl. 2006-07-31 Martin Maechler * essddr.el (Rd-mode-map): add C-c C-c (as in ess-mode) 2006-05-23 Martin Maechler * essd-r.el (Snw-mode): synonym for Rnw-mode * ess-site.el (auto-mode-alist): *.Snw -> Snw-mode * essl-s.el (ess-toggle-S-assign-key): changes (ess-S-assign-key): new default -- the one Seth uses. 2006-05-16 Stephen Eglen * ess-utils.el (ess-find-exec): Remove explicit loop counter (i) and rewrite while loop. (ess-find-exec-completions): Remove explicit loop counters (i,j) and rewrite while loops. Add test to check that a directory on exec-path is not "" (which signifies current working directory) as that confuses tramp. (ess-return-list): Indent/doc fix. (ess-clone-local-variables): Indent. (ess-directory-sep): Indent (perhaps this should be deleted?) 2006-05-12 Martin Maechler * essd-r.el (R-site-search): experimental function provided by Sebastian Luque on ess-help, May 1--2, 2006 2006-05-03 Martin Maechler * ess-inf.el (ess-eval-function): and *-or-para...: use (ess-read-object-name-default) instead of simpler but slightly buggy (ess-extract-word-name). 2006-04-29 Martin Maechler * ess-mode.el (ess-mode-map): work around Xemacs bug ("Meta backspace") 2006-04-04 Richard M. Heiberger * essd-sp6w.el (S+6) and (S+6-msdos): change string to detect S-Plus 6.0, previous string was catching the date 2006.03.30. * ess-cust.el (ess-SHOME-versions): add splus80 2006-04-03 Richard M. Heiberger * ess-help.el (inferior-ess-help-filetype): distinguish between regular S language help files that can appear in an emacs buffer and "chm" (compiled html) used by S-Plus that cannot appear in an emacs buffer. * essd-r.el * essd-s*[3456]*.el * ess-cust.el * ess-inf.el * ess-mode.el 2006-04-03 Stephen Eglen * ess-inf.el (ess-show-buffer): Use ess-select-frame-set-input-focus. * ess-utils.el (ess-select-frame-set-input-focus): New defun. 2006-03-26 Stephen Eglen * ess-help.el (ess-help-mode): Dynamically set section keys. (ess-submit-bug-report): Use insert-buffer-substring, not insert-buffer (byte compiler warning). 2006-03-25 Stephen Eglen * ess-help.el (ess-describe-sec-map): make sure to get proper *-sec-keys-alist 2006-03-24 Martin Maechler * ess-inf.el (ess-eval-linewise): now calls (ess-eval-linewise-ddeclient .) when appropriate; similar in other functions; the same applies to * ess-help.el: autoload and *-ddeclient functions when needed. * ess-mode.el: dito * ess-dde.el: renamed from ess-iw32.el: removed all function *RE*definitions and all (require .) leaving only `*-ddeclient' function definitions; * ess-help.el(ess-help-mode-map): and menu; added one of the new ess-eval-*and-step (of a week ago). 2006-03-23 Richard M. Heiberger * ess-iw32.el (ess-display-help-on-object) repair prompt on Windows to suggest a default as on Unix. 2006-03-21 Martin Maechler * essl-s.el (ess-toggle-S-assign-key): based on code by Seth Falcon; see ESS-help; TODO: a better 'toggle' 2006-03-17 Martin Maechler * ess-inf.el (ess-eval-paragraph-and-step): new; (ess-eval-paragraph-and-go): dito. (ess-eval-region): now returns a (beg end) list (ess-eval-function-or-paragraph-and-step): new, to be bound to C-cC-c * ess-mode.el (ess-beginning-of-function): &optional no-error (ess-mode-map): add ess-eval-paragraph-and-(go|step) and ess-eval-function-or-paragraph-and-step (ess-mode-menu): dito 2006-03-02 Stephen Eglen * ess-utils.el (ess-find-exec-completions): Doc fix. 2006-03-01 Martin Maechler * ess-inf.el (ess-execute-screen-options): fix for case where there's more than one S process. 2006-02-09 AJ Rossini * ess-comp.el: copyright dates changed. * ess-debug.el: added minimal documentation. Removed cruft (this is cruft?). copyright dates changed. 2006-02-09 Anthony Rossini * ess-inf.el (ess-proc-name): better logic, cleanup. * ess-cust.el (ess-use-inferior-program-name-in-buffer-name): new variable. * ess-site.el: documentation for this * ess-inf.el (inferior-ess): use new variable for buffername construction. 2006-02-09 Anthony Rossini * ess-inf.el (ess-proc-name): cleaned up truly ugly logic. 2006-02-08 Martin Maechler * essl-s.el (ess-dump-to-src): minimal improvement 2006-02-04 Martin Maechler * essl-sas.el (SAS-mode-font-lock-keywords): font-lock in any case, also for dumb terminals 2006-01-20 Martin Maechler * essl-s.el (ess-add-MM-keys): add *-execute-screen-options 2006-01-06 Stephen Eglen * ess-install.el (ess-install-byte-compile): New defun. * msdos.el (msdos-minor-mode): Shouldn't msdos-minor-mode be defined earlier in the file? Have not moved yet, as I cannot test on Unix. * ess-swv.el (ess-makePS): let* needed so that namestem can be used within definitions of let. * ess-inf.el (ess-bufs-in-frame): Defvar. * mouseme.el (mouse-me-execute): This function is broken, so I've made it just report an error [w32-shell-execute not present]. * essddr.el (Rd-font-list): Move to top of document, before it is used in defuns. (Rd-active-mark): Put empty definition of defun before defining conditional on Emacs/Xemacs. This silences the compiler. * essd-sp4.el (S+4, S+4-msdos): Replace (beginning-of-buffer) with (goto-char (point-min)). * essd-sp3.el (S+3-mode): Correct call to imenu (defun was broken). * essd-r.el (ess-rterm-versions-create): version-root should be a local variable. * ess.el (ess-write-to-dribble-buffer): Chnage insert-string to insert. * ess-swv.el (ess-makeSweave): ess-command is local variable. * ess-rdired.el (ess-rdired-sort-num): Make defvar. * ess-mode.el (ess-parse-errors): Change string-to-int (obsolete) to string-to-number. * ess-iw32.el (ess-eval-region-ddeclient): Replace (beginning-of-buffer) with (goto-char (point-min)). * ess-emcs.el: Change string-to-int (obsolete) to string-to-number. * ess-cust.el (inferior-ess-primary-prompt): Add group, type. (inferior-ess-secondary-prompt): Add group, type. (ess-process-name-list): Make defvar. * ess-install.el: Add call to byte compiler to recompile all files in the new lisp directory. 2005-12-29 Stephen Eglen * essd-sp6.el (ess-s-versions-create): If ess-s-versions is nil, do not search for other versions of S using this method (ess-s-versions-list will still be examined). * essd-r.el (ess-r-versions-create): If ess-r-versions is nil, do not search for other versions of R. 2005-12-13 Martin Maechler * essd-r.el (R-customize-alist): ess-*lastvalue-command's now use baseenv(). (R): make sure 'baseenv()' will work. 2005-11-24 Martin Maechler * essl-s.el (ess-fix-EQ-assign): slight improvement in regexp. 2005-11-24 AJ Rossini * essd-r.el (R): cygwin, at least older versions, probably need to consider adding the --ess flag rather than the --no-readline, since we most likely are using Rterm and not R. 2005-11-22 Martin Maechler * essl-s.el (ess-dump-args-and-go): don't use (replace-string ..) (ess-fix-miscellaneous): also remove trailing ";" 2005-11-09 Stephen Eglen * ess-inf.el (inferior-ess): Update doc string to describe inferior-ess-same-window and inferior-ess-same-window. * essd-sp6.el (ess-s-versions-create): kill temporary buffer after new defuns have been loaded. 2005-11-07 AJ Rossini * essa-sas.el (ess-sas-submit-pre-command): make sure that if there is no shell, i.e. (= (getenv "SHELL") nil), that we don't die. This is true for old cygwins. 2005-10-12 Stephen Eglen * ess-toolbar.el (ess-add-icon-xemacs): Swap caddr for (nth 2) * essd-sp6.el (ess-s-versions-create): Use nth rather than car, cadr, caddr. Much more readable and removes reliance on cl library for caddr. 2005-10-03 Stephen Eglen * essd-sp6.el (ess-s-versions-list): New variable. (ess-s-versions): New variable. (ess-s-versions-create): New defun to allow other versions of S to be added to ESS, similar to ess-r-versions-create. 2005-09-26 Martin Maechler * essd-r.el (R): add space after inferior-R-args 2005-09-07 Martin Maechler * ess-inf.el (ess-complete-filename): work around Xemacs bug: (comint-dynamic-complete-filename) fails in Xemacs 21.4.17 2005-09-06 Martin Maechler * ess-trns.el (ess-transcript-mode-menu): add entry "Switch S process" 2005-09-02 Stephen Eglen * essd-r.el, ess-cust.el (ess-r-versions): Moved this variable from ess-cust.el. (As a custom variable, it could be set after ess-site had been loaded, which is the time when its value is used. Hence customized values were ignored.) (ess-r-versions-create): Apply unique to list of list of R binaries after stripping off the directory. This prevents multiple entries with the same name occuring in the ESS -> Start Process -> Other menu. 2005-08-20 Martin Maechler * essl-sta.el (STA-syntax-table): allow // for comments 2005-08-03 Martin Maechler * ess-inf.el (inferior-R-1-input-help): '^ *help': do not trigger for, e.g., showMyhelp(). 2005-07-28 Stephen Eglen * ess-help.el (ess-nuke-help-bs): Add doc string and remove interactive specification. 2005-07-09 Martin Maechler * ess-mode.el (ess-beginning-of-function): * ess-mode.el (ess-R-function-pattern) etc: moved here from * ess-cust.el: greatly improved to also catch things like "names<-.foo" <- function(.) { .... } 2005-07-08 Martin Maechler * ess-menu.el (ess-imenu-S-generic-expression): adding SetAs(..), but also e.g., setGroupMethod(..) 2005-07-05 Stephen Eglen * ess-help.el (ess-help-bogus-buffer-p): Document NR-FIRST, and reinstate code such that if NR-FIRST is nil, we search just the first 120 characters of a help buffer to see if it is bogus. Have removed check for R text of the form "Help for topic `rlm'..." since this is caught elsewhere (see below). (ess-display-help-on-object): In R help buffers, if options("help.try.all.packages" = TRUE) then ?rlm will list which packages rlm is defined in. This help buffer is not bogus, but instead is now relabelled *help[R](rlm in packages)*. 2005-07-05 Martin Maechler * ess-mode.el (ess-beginning-of-function): more helpful error message for finding the bug with A <- # comment ... function(.){..} 2005-06-23 Martin Maechler * essl-s.el (ess-fix-EQ-assign): extend to propose more s/=/<-/ 2005-05-05 Stephen Eglen * ess-inf.el (ess-complete-filename): Add doc string. (inferior-ess-mode): Change order of functions added to comint-dynamic-complete-functions local hook. Removed the value `t' from that hook to prevent the global value of that hook also being used. 2005-04-16 Stephen Eglen * ess-toolbar.el (ess-make-toolbar): If Emacs is running in a terminal, tool-bar-map is not defined (because tool-bars cannot be displayed) and hence we should not bother trying to make a tool-bar. 2005-04-15 A.J. Rossini * ess-swv.el: New file for Sweave, slightly modified from code done by David Whiting. 2005-04-08 Stephen Eglen * essl-s.el (R-editing-alist): Changed comment-start to # and set comment-add to 1 so that ## is put on empty lines at correction indentation. 2005-04-07 Martin Maechler * ess-mode.el (ess-mode-menu): add "Toggle Auto-Fill Mode" 2005-04-06 Stephen Eglen * ess-toolbar.el (ess-toolbar-items): Use :set so that when this variable is customized, the toolbar is remade for the current session. 2005-04-06 Martin Maechler * essl-s.el (ess-mode-hook): set *normal-*auto-fill-function, not auto-fill-function itself. 2005-03-21 Martin Maechler * ess-emcs.el (enable-multibyte-characters): define (to nil) if not bound. Workaround for Xemacs problems with (ess-do-auto-fill). 2005-03-08 Stephen Eglen * ess-inf.el (inferior-ess-output-filter, inferior-ess-strip-ctrl-g): New defuns. (inferior-ess-output-filter): Add filter to catch ^G for ringing bell. Code taken from Kurt's octave-mod.el. 2005-03-07 Martin Maechler * ess-cust.el (ess-S-keywords): add "terminate" 2005-03-04 Martin Maechler * ess-cust.el: use (regexp-opt .) constructor 2005-03-03 Martin Maechler based on much from Kurt Hornik * ess-cust.el (ess-R-function-pattern): and ess-S-function-pattern instead of ess-function-pattern. * essl-s.el (S+common-cust-alist): set ess-function-pattern * essd-r.el (R-customize-alist): set ess-function-pattern * ess-cust.el (ess-R-mode-font-lock-keywords): and ess-S-* instead of just one ess-mode-font-lock * essl-s.el (R-editing-alist): additionally to S-editing-alist * essd-r.el (R-customize-alist): use R-editing-alist * ess-cust.el (inferior-ess-R-font-lock-keywords): and ess-S-* instead of just one; building on auxiliary variables. * essl-s.el (S+common-cust-alist): set inferior-ess-font-lock-* * essd-r.el (R-customize-alist): dito 2005-03-03 Martin Maechler from Kurt Hornik * essl-s.el (add-hook 'ess-mode-hook): new ess-do-auto-fill * ess-emcs.el (line-beginning-position): if needed by older Xemacsen * ess-utils.el (ess-do-auto-fill): new - slight change of GNU emacs' do-auto-fill. * ess-utils.el (ess-inside-string-p): new (ess-inside-string-or-comment-p): renamed from 'inside-string/comment-p' 2005-02-11 Rodney Sparapani * essl-sas.el: do not turn on sas-listing-mode via auto-mode-alist. 2005-02-09 Martin Maechler really 2005-02-09 Kurt Hornik * essd-r.el (R): do not (let .. default-process-coding-system) !! 2005-01-29 Martin Maechler * ess-inf.el (ess-quit-r): comment out all "questioning": it's wrong to do this when a user had something like "--save" on startup. 2005-01-24 Martin Maechler * ess-inf.el (ess-quit): drop 'dont-cleanup' argument 2005-01-24 Stephen Eglen * ess-inf.el (ess-cleanup): Use ess-S-quit-kill-buffers-p. * ess-cust.el (ess-S-quit-kill-buffers-p): New variable. 2005-01-22 Stephen Eglen * ess-inf.el (ess-quit-r): Default response (if RET pressed on its own) is that workspace image will not be saved. Do not append "-exited" to iESS buffers (likewise for ess-quit). 2005-01-18 Stephen Eglen * ess-inf.el (ess-quit-r): New function to handle killing an *R* process. (ESS asks whether you wish to save image.) * ess-inf.el (ess-quit): Use ess-quit-R only for *R* processes. Document the dont-cleanup argument. 2005-01-18 Martin Maechler * ess-inf.el (ess-complete-object-name): add S4 object slot name completion. * ess-inf.el (ess-slot-names): new (simplistic) function 2005-01-05 Martin Maechler * ess-inf.el (ess-prompt-wait): new 3rd argument sleep (ess-command): move the (sleep-for *) part into to ess-prompt-wait. * ess-inf.el (ess-get-object-list): use ess-uniq-list to get completion list of unique entries. 2005-01-04 Martin Maechler * ess-cust.el (ess-cmd-delay): use this instead of `ess-need-delay': Either 'nil or a number specifying the delay *factor* to be used. * ess-inf.el, essl-s.el, essd-r.el: ditto 2005-01-01 Martin Maechler * ess-inf.el (ess-command): 3rd argument sleep; internally using ess-need-delay; decreased sleep factors to (.05, .4, .05). * ess-cust.el (ess-need-delay): and ess-R-*, ess-S+-*: instead of ess-ms-slow. (ess-editor): and (ess-pager): defvar instead of defcustom * essl-s.el (S+common-cust-alist): and (S-common-cust-alist): new variables to store all common S language and S+ "customize-alist"s * essd*.el (-customize-alist): append the above variables 2004-12-30 Martin Maechler * ess-inf.el (ess-save-lastvalue-command): newly (defvar .) and buffer local, {instead of defcustom}; ditto for ess-retr-last.... * ess-cust.el: drop them here 2004-12-29 Stephen Eglen * ess-mode.el (ess-mode): Remove call to ess-load-object-name-db-file. * ess-menu.el (ess-imenu-S): Shorten doc string. * ess-inf.el (inferior-ess-mode): Remove vall to ess-load-object-name-db-file. (ess-create-object-name-db): Comment out for now, maybe delete later? * ess-cust.el (ess-object-name-db-file): Change from defcustom to defvar. Also, add note that probably this variable (and others) can be deleted in future ESS versions. 2004-12-24 Stephen Eglen * ess-emcs.el (ess-replace-regexp-in-string): New function, reapplied from Camm's patch. This time the function is now used in all relevant customization-alists. This function is needed since other elisp packages may also define replace-regexp-in-string. 2004-12-20 Stephen Eglen * ess-cust.el (ess-ms-slow): New variable. * ess-inf.el (ess-command): Condition use of sleep-for (to add delays) upon ess-microsoft-p [not 'window-system] and a new variable ess-ms-slow. 2004-12-04 Stephen Eglen * ess-inf.el (inferior-ess-mode): setq inferior-ess-prompt at the start of function so that its value can be used later in the function (e.g. to set comint-prompt-regexp). 2004-12-03 Martin Maechler * ess-cust.el: replace inferior-ess-objects-command by the two inferior-R-objects-command and inferior-Splus-... (which differ). * ess-inf.el (inferior-ess-objects-command): defvar here, instead * essd-r.el, essd-sp6.el -- and all essd-sp*.el essdsp6w.el: replace inferior-ess-objects-command 2004-12-03 Stephen Eglen * ess-cust.el (inferior-ess-prompt): Make this a defvar as the value is constructed from other values, rather than being set by the user. * essd-els.el (ess-add-ess-process): Check first that the current buffer has a process. (ess-select-alist-dialect): Add colon to prompt string. * ess-inf.el (inferior-ess-mode): Set inferior-ess-mode here, rather than within ess-multi. (ess-multi is not run when ess-remote is used, and so prompt was not set for remote buffers running ESS processes.) 2004-11-24 Martin Maechler * essl-s.el (S-editing-alist): change comment-start from "#" to "##" 2004-11-19 Martin Maechler * ess-noweb.el: remove setting of global-font-lock-mode 2004-11-09 Stephen Eglen * ess-inf.el (inferior-ess-mode): Add elements to comint-dynamic-complete-functions using `add-hook' rather than `setq', on advice from Emacs developers. 2004-11-07 Stephen Eglen * ess-inf.el (ess-multi): Fix bug: when inferior-ess-own-frame is non-nil, it should override the value of inferior-ess-same-window. 2004-10-28 Martin Maechler * ess-help.el: ess-help-mode-hook is now run correctly. 2004-10-27 Martin Maechler * essd-sp6.el: added Debian patches from Camm Maguire * ess-help.el: dito for these: * ess-utils.el * ess.el * ess-latex.el * ess-emcs.el 2004-10-14 Stephen Eglen * ess-cust.el (ess-default-style): Customize. 2004-08-29 Stephen Eglen * ess-inf.el (ess-multi): Use inferior-ess-same-window to decide whether to replace or split current window. * ess-cust.el (inferior-ess-same-window): New variable. 2004-08-25 Stephen Eglen * essd-sp6.el (S+6-customize-alist): Use inferior-Splus-args. * ess-cust.el (inferior-Splus-args): New variable. 2004-08-24 Stephen Eglen * ess-cust.el (inferior-R-args): New variable. * essd-r.el (R): pass inferior-R-args to R when starting up. 2004-08-23 Martin Maechler * ess-inf.el (inferior-R-page): only match "page()", not "grid.newpage()" !! 2004-08-09 Stephen Eglen * ess-inf.el (ess-prompt-for-directory): use the XEmacs read-directory-name routine (dialog box when using mouse differs from read-file-name). Thanks to John Fox for reporting this. 2004-08-03 Stephen Eglen * ess-mode.el (ess-mode-menu): Change function name for the default entry in "Start Process -> Other" submenu from R to nil. When it was set to R, this caused the R toolbar icon to not work since this menu entry was being found rather than the real menu entry for R. 2004-07-09 Stephen Eglen * ess-utils.el (ess-find-exec-completions): After checking that ess-tmp-file is executable, check that it is not a directory. 2004-07-04 Stephen Eglen * essdsp6w.el (ess-sqpe-versions-created): Variable deleted. * essd-r.el (ess-r-versions-created): Variable deleted. (ess-rterm-versions-created): Variable deleted. * ess-site.el: Use let binding for storing local values of ess-r-versions-created etc, rather than global variables. Global variables deleted. 2004-07-02 Richard Heiberger * essdsp6w.el (ess-sqpe-versions-create): New function to auto-generate defuns to allow other versions of Sqpe to be called. * essd-r.el (ess-rterm-versions-create): New function to auto-generate defuns to allow other Windows versions of R to be called. 2004-07-02 Stephen Eglen * essd-r.el (ess-r-versions-create): Do not set the value of ess-r-versions-created here, just return the required value. * ess-site.el (ess-versions-created): Tidy up the code for calling older versions of R and Sqpe. Old version did not work on Unix, since ess-sqpe-versions-created was not bound. New version checks that variable is bound before using it. * ess-utils.el (ess-flatten-list): Standard defun needed for flattening a list. Copied from lpr.el. 2004-07-01 Stephen Eglen * ess-inf.el (ess-quit): Delete call to ess-switch-to-ESS; ess-cleanup will have already done that. (ess-cleanup): Add save-excursion to preserve current buffer. * essd-r.el (ess-r-versions-created): New variable to store the names of the new defuns created. (ess-r-versions-create): Set ess-r-versions-created. Doc string update. * ess-site.el: Add the new R defuns, if any, to the "Other" menu under "Start Process". * ess-mode.el (ess-mode-menu): Add new submenu "Other" to "Start Process" where the other versions of R will be placed. 2004-06-30 Stephen Eglen * ess-mode.el (ess-mode-menu): Add entries to jump to top-level of ESS info file. * ess-cust.el (ess-rterm-versions): Condition initial value on ess-microsoft-p. 2004-06-29 Stephen Eglen * Makefile (ELC): Add ess-toolbar.elc to list of .elc files. 2004-06-24 Stephen Eglen * ess-toolbar.el (ess-use-toolbar): Set to nil if images cannot be displayed on the running Emacs. * essd-r.el (ess-r-versions-create): Remove full pathname from versions of R executables. Add note in the *ESS* buffer to say which new defuns have been created. 2004-06-23 Stephen Eglen * ess-toolbar.el (ess-use-toolbar): Default value should check if we are running XEmacs. Other small doc updates to file made. * ess-utils.el (ess-uniq-list): New defun for removing duplicate strings from a list. * ess-site.el: Set up call to `ess-r-versions-create'. * essd-r.el (ess-r-versions-create): New function to auto-generate defuns to allow other versions of R to be called. * ess-cust.el (ess-r-versions): New variable to control which other versions of R are found. 2004-06-21 Stephen Eglen * ess-toolbar.el: Add test at end to check for toolbar support. * ess-mode.el (ess-mode-menu): Add Sqpe and S+6-existing to "Start Process" menu but their active state is determined by ess-microsoft-p and so will be greyed out unless on microsoft. (SAS-menu): Simple wrapper to report error if SAS invoked on microsoft machine. 2004-06-20 Stephen Eglen * essd-sp6.el (S+6-mode): Hook in toolbar support. * essd-r.el (R-mode): Hook in toolbar support. * ess-toolbar.el: Update toolbar support so that we have only one ESS toolbar that can be used over multiple modes. This makes it simpler to use I feel. 2004-05-22 Stephen Eglen * ess-inf.el (ess-eval-linewise): Try again to get the point at the end of the S buffer after evaluation. Previous attempt still didn't work, but I forgot that I had set comint-scroll-to-bottom-on-output. This version should work even with that comint var set to nil. 2004-05-18 Stephen Eglen * ess-inf.el (ess-eval-linewise): If eob, remember to go to the end of the S buffer after evaluation. This was a bug that I introduced when introducing the ability to have R in different frames. 2004-05-17 Martin Maechler * essl-s.el (ess-fix-EQ-assign): new S source cleaners; (ess-fix-dot-more) : ditto added to ess-MM-fix-src's actions 2004-05-17 Stephen Eglen * ess-toolbar.el (ess-icon-directory): Need / after etc directory. * ess-mode.el (ess-mode-menu): Remove :help elements from menus, since XEmacs does not yet recognise it. * essd-els.el (ess-remote): Update doc string. (S+elsewhere, ESS-elsewhere): Add note in doc string to say these commands are obsolete and ess-remote should be used instead. 2004-05-13 Stephen Eglen * ess.el: Update copyright; remove old comments; update URL. * ess-site.el (ess-etc-directory): Move out of ess-cust.el and into ess-site.el, otherwise various other .el files that are loaded before ess-cust will complain. * essl-bug.el: Comment possible use of ess-etc-directory here. * essl-s.el (ess-function-outline-file): Use ess-etc-directory. * essd-sas.el (ess-SAS-pre-run-hook): Use ess-etc-directory. * ess-toolbar.el (ess-icon-directory): Use ess-etc-directory. * ess-cust.el (ess-etc-directory): New variable. * ess-toolbar.el (ess-make-toolbar-R-emacs, ess-make-toolbar-S-emacs): Since R and S are now on the menubar, use tool-bar-add-item-from-menu for consistency. * ess-mode.el (ess-mode-menu): Add sub menu to allow S, R, SAS to be started from menu. Each menu item has a little tooltip help. 2004-05-10 Stephen Eglen * ess-toolbar.el (ess-make-toolbar-R-emacs,ess-make-toolbar-S-emacs): Check that tool-bar-map is non-nil before attempting copy-keymap (generates error on Emacs 21.3+). 2004-05-08 Stephen Eglen * ess-toolbar.el (ess-icon-directory): Guess default value based upon ess-lisp-directory. (ess-toolbar-R, ess-toolbar-S): Store toolbars here. (ess-make-toolbar-S): Make toolbar for S mode too, similar to R mode, but using new S-plus icons from David Smith. (ess-make-toolbar-S-emacs,ess-make-toolbar-S-xemacs): New defuns. 2004-05-07 Stephen Eglen * essa-sas.el (ess-sas-submit-mac-virtual-pc): Assign :type to be boolean. Reformat defcustoms (whitespace changes only). * essl-sas.el (sas-get-options, sas-file-name, ess-sas-run-make-regexp): Correct :type to prevent mismatch in customization. * essa-sas.el (ess-sas-shell-buffer-remote-host): Ditto. 2004-05-06 Stephen Eglen * ess-toolbar.el (ess-make-toolbar-r-emacs): Use ess-load-file rather than ess-eval-buffer in toolbars. * ess-help.el (ess-display-help-on-object): Use ess-help-frame-alist. * ess-inf.el (ess-multi): Use inferior-ess-frame-alist. * ess-cust.el (ess-help-frame-alist, inferior-ess-frame-alist): New variables to store frame parameters for iESS buffers and help frames. (ess-help-own-frame, inferior-ess-own-frame): Doc fixes. * ess-help.el (ess-display-help-on-object): Fix bug introduced in 5.2.0 (reported by Robert Hankin). If ess-help-own-frame is nil, and we are currently in a help buffer, show new help buffer in same window. 2004-05-05 Stephen Eglen * ess-inf.el (ess-request-a-process): Use ess-show-buffer to display iESS buffer; update doc string. 2004-05-02 A.J. Rossini * essd-sp6.el (S+6-mode): * essd-sp5.el (S+5-mode): * essd-sp4.el (S+4-mode): * essd-s4.el (S4-mode): * essd-sp3.el (S+3-mode): * essd-s3.el (S3-mode): fixed imenu variable name, extended copyrights from 1997 to 2004. * essa-sas.el (ess-sas-image-viewer): Moved function after ess-sas-submit-method defvar, since we need that value to set this function. 2004-04-27 Stephen Eglen * ess.el (ess-write-to-dribble-buffer): Check if ess-dribble-buffer has been deleted. Remove the defadvice code that used to do this. 2004-04-26 Stephen Eglen * ess-inf.el (ess-switch-to-ESS): Use `ess-show-buffer' to show the iESS buffer. (ess-show-buffer): New function to be used when an iESS buffer is to be displayed. See its doc string for the rules it follows as to how to display the iESS buffer. (ess-get-bufname,ess-get-buffers-in-frames, ess-buffer-visible-this-frame,ess-buffer-visible-other-frame): New helper functions for ess-show-buffer, adapted from iswitchb.el. 2004-04-22 Stephen Eglen * ess-cust.el (ess-speedbar-use-p, ess-funcmenu-use-p): Use fboundp. * ess-menu.el (ess-imenu-use-S): Change default value and update doc string. (ess-imenu-regexp-S-function): Delete unused variable. * ess-cust.el (ess-use-menus): Delete unused variable. (ess-imenu-use-p): Set default value to (fboundp 'imenu) rather than (featurep 'imenu) since the former is more useful for seeing whether Imenu is available. (The latter is true only if Imenu has already been loaded.) 2004-04-19 Stephen Eglen * ess-help.el (ess-display-help-on-object): If ess-help-own-frame is 'one, use the dedicated frame. Use pop-to-buffer rather than switch-to-buffer if currently in a help buffer, * ess-cust.el (ess-help-own-frame): Add new value 'one to specify that all help buffers should be displayed in one frame. 2004-04-18 Stephen Eglen * ess-help.el (ess-display-help-on-object): If ess-help-own-frame is true, use ess-help-own-frame function to display help buffer. (ess-help-own-frame): New function and variable to display all ESS help buffers into one frame. * ess-cust.el (ess-help-own-frame): New variable. (ess-help-kill-bogus-buffers): Change to ess-help group. (ess-help): New customize group. * ess-cust.el (inferior-ess-own-frame): New variable. * ess-inf.el (ess-switch-to-ESS): Respect inferior-ess-own-frame. (ess-multi): Use pop-to-buffer if process already running, and respect inferior-ess-own-frame. 2004-04-16 Stephen Eglen * ess-inf.el (ess-multi): Use pop-to-buffer rather than switch-to-buffer, so that special-display-regexps should work. 2004-04-15 Stephen Eglen * ess-cust.el (inferior-ess-client-command): Set :group and :type. (R-editor, S-editor): reformat. (R-pager, ess-pager): reformat and allow type to be nil or string. 2004-03-31 A.J. Rossini * ess-site.el: added a more explicit commented out Windows example. Cleaned up documentation inconsistencies for noweb/Rnw modes. * essd-r.el (R): added autoload cookie for XEmacs. doc edits. (R-mode): added autoload cookie for XEmacs. Removed R-package generator; a better version is part of R (package.skeleton()). * ess-menu.el (ess-imenu-S-generic-expression): fixed imenu routine -- now provides links to functions, classes, methods, and "other" objects. 2004-03-23 Martin Maechler * essd-els.el (ess-select-alist-dialect): (let* ..) : thanks to Na Li. 2004-03-04 Martin Maechler * ess-site.el (ess-restore-asm-extns): thanks to Ed Cashin 2004-02-19 Stephen Eglen * essd-els.el (ess-select-alist-dialect): Use completing-read to select dialect. 2004-02-12 Stephen Eglen * essl-s.el (ess-smart-underscore): Only be smart in buffers where `ess-language' is "S". * ess-site.el ("[ess-site:] require 'essd-els ..."): oRemove the code that fixes ess-smart-underscore in SAS mode. 2004-01-20 Stephen Eglen * essl-s.el (ess-smart-underscore): Pressing _ twice inserts _ rather than the assignment operator. 2004-01-19 Stephen Eglen * ess-cust.el (inferior-R-program-name): Customize. Add description of file to line 1. (ess-version): Change from defcustom to defvar; presumably no-one will want to customize this variable! Comment line prior to definiton already says that this variable is not user-changeable. (ess-dialect): Change from defcustom to defvar. 2003-12-08 Stephen Eglen * ess-noweb.el (ess-eval-chunk): The code chunk is evaluated in a temp buffer, and should inherit the value of ess-local-process-name from the source value. If the source buffer did not set ess-local-process-name, it is set once the chunk has been evaluated. 2003-11-24 Martin Maechler * ess-emcs.el (replace-regexp-in-string): also needed for Emacs 20. 2003-11-06 Martin Maechler * ess-cust.el (ess-S-loop-timeout): new variable (and same for -XLS-) * essd-*.el use these new customizable variables. 2003-11-05 Martin Maechler * ess-inf.el (inferior-ess): make comint-use-prompt-... buffer-local such that we no longer "pollute" other comint modes such as M-x shell 2003-10-29 Martin Maechler * ess-trns.el (ess-transcript-mode-map): add C-a := comint-bol * ess-inf.el (inferior-ess-mode-map): ditto 2003-09-25 Martin Maechler * ess-cust.el (ess-dump-filename-template-proto): renamed, new functionality: used as prototype * essd-*.el: ess-dump-filename-template now uses and modifies the above prototype. 2003-08-19 Stephen Eglen * ess-help.el (ess-help-underline): New function to convert ^_H in help buffers to the underline face. 2003-08-05 Stephen Eglen * ess.el (ess-setq-vars-local): Prevent e.g. ess-local-process-name getting reset to nil when re-entering a code chunk in mixed mode buffers (like Latex/R). 2003-07-24 Stephen Eglen * essa-r.el (ess-r-var): New function for loading numbers from any Emacs buffer into an existing *R* process. 2003-01-01 Stephen Eglen * ess-site.el (ess-rdired): Add autoload for ess-rdired. * ess-rdired.el: New file. 2002-11-12 Martin Maechler * essd-r.el (Rnw-mode): new (experimental) for Sweave{R} editing. 2002-11-01 Stephen Eglen * essl-s.el (ess-help-R-sec-regex): Restrict regex so that capital letter must be at start of line. 2002-04-27 Martin Maechler * essd-sp6.el (S+6-customize-alist): ess-setup-directory-function and other changes from Jeff Mincy; not yet fully tested. 2002-04-23 Martin Maechler * ess-trns.el (ess-transcript-mode-menu): add ..DO-clean-region to menu, using new argument (prefix) for escaping read-only state. 2002-02-15 Martin Maechler * essl-s.el (S-editing-alist): introduce S "global" `inferior-S-language-start' * essd-r.el (R-customize-alist): use inferior-S-language-start above. * essd-sp[3-6].el, essd-s[34].el, essdsp6w.el, essd-els.elc -- ditto. 2002-02-13 Martin Maechler * ess-cust.el (S-pager) and others: s/emacslient/emacsclient/ 2002-01-26 Martin Maechler * essddr.el (Rd-font): new function, put on C-c C-f à la TeX-font (Rd-font-list): e.g. `C-c C-f l' now surrounds word by \code{\link{.}}! 2002-01-16 Martin Maechler * ess-menu.el (ess-imenu-S): use improved ess-S-imenu-generic-expression (and clean up), by Stephen Eglen. 2002-01-15 Martin Maechler * essl-s.el (S-editing-alist): new add-log-...regep from Stephen Eglen. Allows `C-x 4 a' (adding to Changelog) find the S function name. (R-help-sec-keys-alist): "Usage" and "Details" as the S lists. 2002-01-14 Richard Heiberger * ess-mous.el: ess-mous is now on submenu of C-mouse-3 in ess-transript-mode, inferior-ess-mode, ess-mode. This feature is still beta. 2002-01-11 Richard Heiberger * ess-inf.el: remove .in.ESS * essd-r.el: first draft of options("STERM") 2002-01-10 Richard Heiberger * ess-mous.el: S-mouse-3 gets information from S/R about the highlighted phrase or about the word at the cursor location. 2002-01-10 Martin Maechler * ess-help.el (ess-help-bogus-buffer-p): now also works in R when help.try.all.packages = TRUE. 2002-01-03 Martin Maechler * ess-inf.el (ess-ddeclient-p): new function from Rich and a few related changes 2001-10-16 Martin Maechler * ess-inf.el (ess-execute-objects): use (number-to-string ..) for Emacs 21 (thanks to Stephen Eglen). * ess-trns.el: typo "o" fixed (S.Eglen) 2001-09-27 Martin Maechler * ess-inf.el (ess-multi): .in.ESS <- TRUE for S dialects 2001-09-20 Martin Maechler * ess-mode.el and others: do use ess-running-xemacs from ess-emcs.el! * ess-menu.el: fix the (require 'imenu ..) [for E 19.34] 2001-09-05 Martin Maechler * essddr.el (Rd-mode-map): add C-c C-v (help) 2001-08-31 Martin Maechler * ess-menu.el (require 'imenu): try to do this only when available [not tested; I have imenu "everywhere"] 2001-08-30 Martin Maechler * ess-mode.el (ess-narrow-to-defun): new function 2001-08-21 Martin Maechler * ess-inf.el (ess-directory-function): also ess-cust.el, essd-sp6.el: Implement Jeff Mincy's patches for new function --- currently only for S+6 (Unix) -- FIXME: Support R, other Spluses 2001-08-10 Martin Maechler * ess.el: (defadvice ess-write-to-dribble-buffer ....) from Jeff Mincy 2001-06-19 Martin Maechler * ess-utils.el (nuke-trailing-whitespace-p): make interactive; cosmetic 2001-03-02 Martin Maechler * ess-site.el: On Linux, default to S+5, since there's no S+3 2001-02-28 Martin Maechler * ess-utils.el (ess-space-around): new utility * essd-r.el (R-fix-T-F): also fix after "_" * essl-s.el (ess-fix-miscellaneous): Fix bug which broke "<=" & ">=" Further fix bug which broke "<<-" (and "->"). separate e.g., "){" ; space around "else". 2000-10-23 Martin Maechler * essl-s.el (ess-smart-underscore): remove extra spaces when ess-S-assign is used. 2000-10-11 Martin Maechler * essl-s.el (ess-smart-underscore): new function, assigned to "_" key. 2000-10-09 A.J. Rossini * /home/ess/src/cvsroot/gnu/ess/lisp/ess-vars.el: Merged with changes in another location. 2000-10-09 maechler * /home/ess/src/cvsroot/gnu/ess/lisp/ChangeLog, /home/ess/src/cvsroot/gnu/ess/lisp/essl-s.el: new (ess-fix-miscellaneous) & (ess-toggle-underscore) 2000-10-09 Martin Maechler * essl-s.el (ess-fix-miscellaneous): new function for prettifying S language code. (ess-toggle-underscore): new function for "_" toggling. 2000-10-04 Martin Maechler * essl-s.el (ess-add-MM-keys): define-key "_" to ess-S-assign. * ess-cust.el (ess-S-assign): new variable (" <- ") for left assign. * ess-vars.el (ess-S-assign): --ditto-- 2000-08-16 Martin Maechler * essd-r.el (R): Win32: don't give spurious warning anymore. 2000-08-09 Martin Maechler * ess-help.el (ess-display-help-on-object): Inherit syntax-table; this should make the "default prompt" work for "help inside help". 2000-07-08 Martin Maechler * essl-sas.el (SAS-mode-font-lock-keywords): only when window-system! fixes "emacs -nw -f R" 2000-06-28 Martin Maechler * ess-site.el : load-path setting *MUST* come first. 2000-04-14 Martin Maechler * ess-inf.el (ess-dir-modtime): RMH: use file-directory-p instead of string-match. 2000-04-04 Martin Maechler * ess-inf.el (ess-eval-line-and-step): new even-empty argument, [prefix] allowing to send even empty lines to the ESS process. * ess-vars.el: New logical variable ess-eval-empty. * ess-inf.el (ess-command): applied the "FIXME": ess-command should have two arguments only. -- Few adjustments in other *.el files. 2000-04-03 Martin Maechler * ess-inf.el and other files: Replace (function) ess-eval-visibly by ess-eval-linewise Replace (function) ess-eval-line-and-next-line by *-line-and-step 2000-03-31 Martin Maechler * ess-inf.el (ess-next-code-line): new function from Stephen Eglen (ess-eval-line-and-next-line): new prefix arg for turning off the use of new ess-next-code-line. Further : Use (forward-line 1) instead of (next-line 1). * ess-mode.el: added a few autoloads (and a comment for AJR !?). s/"Step through line"/"Eval line & step"/ white space [n*8 column starts] * ess-inf.el (inferior-R-input-sender): Fixed the regexps for help() and {even more} for ?<...>, using new variable ess-help-arg-regexp {in ess-vars.el}. 2000-03-30 Martin Maechler * almost ALL lisp files : Docstring fixes, thanks to Stephen Eglen . 2000-03-21 Martin Maechler * ess-vars.el (ess-temp-point): new for fixing multiline commands in transcript. Similar fix in * ess-trns.el, and * ess-inf.el. --- really all by RMH! * ess.el (cadr): define if not available. 2000-03-20 Martin Maechler * ess-help.el (ess-help-error-buffer-p): new utility, improve detection of help error messages for (ess-display-help-on-object). * essl-sas.el: new variables sas-white-chars & sas-comment-comment-chars * essl-sas.el: (beginning-of-sas-statement): don't quote blank 2000-02-10 Martin Maechler * ess-help.el: Add menu; fix ess-display-sec-map * essddr.el (Rd-mode): one menu entry. * essd-sp5.el (S+5-customize-alist): search-list-command=search("paths") 1999-12-21 Martin Maechler * essd-sp5.el: S+5-customize-alist was there *TWICE* finally replaced cat by "slynx -dump" 1999-12-08 Martin Maechler * essl-sta.el (setq max-lisp-eval-depth): increase necessary 1999-11-22 ess * ess-vars.el: Updated to 5.1.11 1999-11-17 ess * essddr.el: 'bold isn't defined in XEmacs. Using reference-face instead of Rd-bold-face. 1999-11-16 ess * ess-vars.el: Fixed small version update errors * Makefile, ess-help.el, ess-site.el, essd-els.el, make-regexp.el, noweb-mode.el: updated version numbers * essl-sta.el: added local variables for editing and indexing. * essl-sta.el: added Brendan's suggested function. * essl-sta.el: added make-regexp to ESS, and finished integrating Brendan's code. Need to test it now! * make-regexp.el: needed for Stata-mode extensions * essl-sta.el: added Brendan Halpin's corrections. * ess-inf.el: concat needs number-to-string conversion. * essd-omg.el: Omegahat fixes (for commandline flags) 1999-11-11 ess * noweb-mode.el: C-c C-n shouldn't be TeX-normalmode, since it is too close to submit-line with ESS! (overwrite). * essd-omg.el: Use prefix for setting Omegahat arguments. 1999-11-10 rossini * essl-omg.el: S- becomes OMG- Comments redone (to use //, ///, and //// for levels of indentation) OMG-syntax started, variable defined, needs to be fixed. * essd-omg.el: further Omegahat dialect changes (use OMG syntax, which needs fixing!) 1999-11-05 Martin Maechler * ess.el: added a definition of (functionp ..) if there isn't any 1999-11-05 Martin Maechler * ChangeLog, ess.el, noweb-mode.el: functionp definition if necessary * noweb-mode.el: functionp for emacs-19.34 1999-11-04 A.J. Rossini * TONS of things -- see ../ChangeLog 1999-11-04 rossini * essd-els.el: fixed paren error. * Makefile, ess-site.el, ess-vars.el, essd-sas.el: Changed version numbers 1999-11-03 rossini * Makefile, ess-inf.el, ess-site.el, ess-vars.el, essd-sp5.el: Changes for ESS-elsewhere. * essd-els.el: added a generic ESS-elsewhere function. 1999-10-06 Anthony Rossini * ess-inf.el: fixed extraneous echoes in Stata. 1999-10-04 rossini * essd-sta.el: fset both stata-mode and Stata-mode. * ess-site.el: cleaned up autoload conflicts between 2 local (AJR) copies. 1999-09-27 Martin Maechler * ChangeLog, Makefile: don't byte-compile ess-debug.el * ChangeLog, essd-r.el: for R, use help(. , htmlhelp=F) 1999-09-27 Martin Maechler * Makefile (SOURCES): use new $(TOCOMPILE) -- don't ess-debug.el ! 1999-09-27 Martin Maechler * essd-r.el (R-customize-alist): help( .. htmlhelp = FALSE) Wed Sep 15 22:34:37 1999 A.J. Rossini * ess-inf.el (inferior-ess-mode): preliminary support for Omegahat. Wed Sep 15 22:21:42 1999 A.J. Rossini * essd-omg.el (omegahat-mode): fset for OMG-mode. use it. (omegahat): fset for OMG. use it. Documentation fixes. Wed Sep 15 22:20:37 1999 A.J. Rossini * ess-site.el (essd-omg): require this, now. Wed Sep 15 22:19:08 1999 A.J. Rossini * ess-site.el: added omegahat, comment about ssh (for ess-elsewhere) Wed Sep 15 22:17:04 1999 A.J. Rossini * ess-vars.el (inferior-STA-program-name): documentation fixes Wed Sep 15 22:16:55 1999 A.J. Rossini * ess-vars.el (inferior-OMG-program-name): new variable Tue Sep 14 22:55:55 1999 A.J. Rossini * essd-xls.el (xlispstat-mode): added as a synonym. Tue Sep 14 16:53:21 1999 A.J. Rossini * noweb-mode.el: Emacs/XEmacs compatibility done. Tue Sep 14 16:53:07 1999 A.J. Rossini * ess-debug.el: This is customized for me (AJR). Tue Sep 14 16:52:35 1999 A.J. Rossini * ess-site.el: added noweb-mode by default. Tue Sep 14 16:10:04 1999 A.J. Rossini * ess-noweb.el (global-font-lock-mode): set true to prevent XEmacs from barfing. Tue Sep 14 13:26:36 1999 A.J. Rossini * ess?-sta.el: cleaned up stata mode to work. Tue Sep 14 11:06:38 1999 A.J. Rossini * ess-inf.el: white space, documentation, stata hacks. 1999-09-06 Martin Maechler * essddr.el (Rd-indent-level): default 2 (back from 4): We need horizontal space, and there's not a lot of nesting. 1999-09-01 Martin Maechler * ess-mode.el : add "Switch Process" menu entry to [ESS] menu. 1999-07-22 Martin Maechler * ess-mode.el : Define cheap (line-end-position) if not there [e.g. for GNU emacs 19.34] 1999-07-22 Martin Maechler * ess-mode.el (ess-beginning-of-function): Delimit (search-forward "(" ..) ---> fixed bug ! 1999-07-21 Martin Maechler * ess-inf.el (ess-eval-function): Use (ess-end-function) only, since that now returns beginning & end; further, use (ess-extract-word-name) only once. * ess-mode.el (ess-beginning-of-function): return beginning * (ess-end-of-function): accept optional `beginning' argument; return BOTH beginning & end * (ess-mark-function): use new beg/end functions. 1999-07-06 Martin Maechler * essd-r.el (R-fix-T-F): Fix buglet: should catch more cases 1999-06-17 Martin Maechler * essd-*.el (ess-loop-timeout): Default multiplied by 5 to 500000. * essd-R.el -- simplified primary-prompt ! 1999-04-23 Martin Maechler * ess-site.el (auto-mode-alist): Change regexp's in order to work with NTemacs which is has a non-case-sensitive `find-file'. 1999-04-05 A.J. Rossini * ess-site.el, ess-vars.el: text from 5.1.7 to 5.1.8 * ess-site.el: cleaned up misguided comment. * ess-site.el: cleaned up, removed R unix/microsoft hack. * essd-r.el: using a solitary R. * ess-inf.el: conditioned out the slowdown in ess-prompt-wait for Microsoft. * ChangeLog: doc updates 1999-04-05 A.J. Rossini * ess.el: franz.stat.wisc.edu -> ess.stat.wisc.edu * ess-site.el, ess-vars.el: 5.1.6 to 5.1.7 changes for possible release * ess-inf.el: ess-prompt-wait duration changed? 1999-04-01 maechler * ess-inf.el: typo 1999-04-01 A.J. Rossini * ess-site.el: about to release 5.1.6 * ess-vars.el: anything else? 1999-03-31 A.J. Rossini * ess-iw32.el: whitespace modifications. * ChangeLog: *** empty log message *** * essd-r.el: reverted. We can simply leave R as given, and not worry about R-unix (thanks to Martin). * essd-r.el: R -> R-unix. * ess-inf.el: sleep-fors are commented out except for Microsoft "operating systems", sigh... * essd-r.el: preliminary changes Wed Mar 31 15:46:37 1999 A.J. Rossini * essd-r.el (R): reverted. Martin fixed this right in ess-site. * essd-r.el (R-unix): renamed from R. * ess-inf.el (ess-command): sleep-for only used for Splus 4.5, i.e. Microsoft "operating systems", sigh. 1999-03-18 Martin Maechler * ess-site.el (auto-mode-alist): OOps for last change *.sty became ESS S-transcript; now fixed 1999-03-17 A.J. Rossini * essd-r.el, ess-site.el, ess-vars.el: RMH's changes 1999-03-16 A.J. Rossini * essd-r32-sh-dos.el, essd-sp4com.el: MS Dos stuff for R, S+4.x * ChangeLog: Prep for 5.1.4 * essd-sp4.el, ess-iw32.el: RMH changes. * ess-site.el: Merged RMH's work. * ess-vars.el: incremented. * ess-inf.el: RMH's changes. 1999-03-16 Martin Maechler * ChangeLog: mini change "foobar.Sout-45" * ess-site.el: auto-mode-alist: "foobar.Sout-4.5" also turns on S-transcript-mode 1999-03-16 A.J. Rossini * essd-sp4.el, ess-iw32.el: RMH changes. * ess-site.el: Merged RMH's work. * ess-vars.el: incremented. * ess-inf.el: RMH's changes. 1999-03-16 maechler * ChangeLog: mini change "foobar.Sout-45" * ess-site.el: auto-mode-alist: "foobar.Sout-4.5" also turns on S-transcript-mode 1999-03-16 Martin Maechler * ess-site.el (auto-mode-alist): "foobar.Sout-4.5" also turns on S-transcript-mode 1999-03-03 A.J. Rossini * Makefile: updated version information converted s+3 to sp3. * ess-vars.el: updated version information. * ess-iw32-load-file.el, essd-s+3.el, essd-s+4.el, essd-s+5.el, essd-s_2b4-msdos-existing.el, essd-s_2b4-msdos.el: Tidied up ess-iw32*.el files. * ess-iw32.el: copied all changes from ess-iw32-load-file.el here. * ess-iw32-load-file.el: fixed. * essd-s_2b4.el: essd-s_2b4-msdos*.el were not needed. Contents moved into base file. * ess-iw32-load-file.el, ess-iw32.el, essd-r32.el, essd-s_2b4-msdos-existing.el, essd-s_2b4-msdos.el, essd-s_2b4.el, msdos.el: RMH's changes, up to March 2nd 1999-02-24 A.J. Rossini * ess-iw32.el: temp val left in distribution. whoops (RMH). 1999-02-22 A.J. Rossini * essd-els.el, essd-s3.el, essd-s4.el, essd-sta.el, ess-site.el, essd-sp4.el, essd-sp5.el, essd-sp3.el: Removed s+# to sp# for S-PLUS commands 1999-02-12 Martin Maechler * Makefile: emacs, not "19.34" 1999-02-10 Martin Maechler * essd-sas.el: added RMH's new fixes for the 5.1.2 version. 1999-02-02 Martin Maechler * ess-inf.el: (last commit was with unsaved file) * ChangeLog, ess-inf.el: fix regex for "help(..);" also work for "?" with R-input-sender 1999-02-02 Martin Maechler * ess-inf.el (inferior-R-input-sender): Change the regexp such that e.g. "help(pt, offline=T)" is treated as normal command; New: "?lm" (e.g.) is also recognized as help command Mon Dec 14 18:04:45 1998 A.J. Rossini * ess-mode.el: fixed copyright and header information * ess-site.el: commented out SHOME definition. Fri Dec 11 19:51:18 1998 A.J. Rossini * ess-vars.el: fixed copyright, rossini's email address. * ess-iw32.el: fixed rossini's email address, headers, copyright. * essd-els.el, essd-s+4.el: fixed rossini's email address. * essd-sq4.el: fixed copyright and header attributions. * essd-els.el: fixed header files and copyright. * essd-s+4.el: added changes to copyright and header docs. * ess-vars.el: Merged RMH's changes. * ess-iw32.el, essd-els.el, essd-s+4.el, essd-sq4.el: New files for ESS for Splus/MSW/NT/98/95 New files for remote-ESS on Unix. * ess-site.el: Added RMH's changes for Microsoft Windows and Splus. Mon Nov 30 17:37:57 1998 hornik * Makefile: Add essd-s+5.el to SOURCES (as it gets required in ess-site). Mon Nov 23 20:03:17 1998 A.J. Rossini * ChangeLog: *** empty log message *** Fri Nov 20 20:57:33 1998 A.J. Rossini * ess-vars.el: ess-help-w3-url-prefix points to pyrite. * ess-vars.el: removed spurrious comment about generic function, in front of a variable. * essd-s+5.el: trimmed out old S4 stuff. Mon Nov 16 17:29:25 1998 Martin Maechler * ess-inf.el: do not need comint echo anymore.. Sat Nov 14 00:23:19 1998 A.J. Rossini * ChangeLog: whitespace editing. Fri Nov 13 18:25:51 1998 A.J. Rossini * ess-site.el: added sample entry for S+5. * ChangeLog: *** empty log message *** * ess-site.el: added suffix for StatSci's script files. Thu Nov 12 17:27:30 1998 Martin Maechler * essd-r.el, essd-s+3.el, essd-s+5.el, essd-s3.el: newline in dribble buff * ess-inf.el: more details in prompt for ess-get-dir; more dribble; WHITE SPACE * ess.el: slightly better dribble output * essd-s4.el: drop doubled comments * ess-vars.el: . Wed Nov 11 12:45:15 1998 Martin Maechler * essd-s+5.el: omit .Smode() extras; new "S+" instead of "S+3" * essl-s.el: new "S+" instead of "S+3" * ess-inf.el: comint-echo : OFF for S+5 * essd-s3.el: comments only * essd-s+3.el: comment out ess-mode-edit * Makefile, ess-vars.el: new version numbers * essd-s+5.el: several more s4 -> s+5 changes; still not ok * essd-s+3.el: transpose to defs * ess-vars.el: require s+5 Tue Nov 10 17:45:11 1998 Martin Maechler * ess-site.el: s+5 is now distributed * essd-s+5.el: provide typo fixed Mon Nov 9 23:28:14 1998 A.J. Rossini * ChangeLog, Makefile, ess-site.el: New material for Makefiles * essl-sta.el: removed possible problems from stata mode. -- provide 'essl-sta * essd-s+5.el: This is for Splus5, based on S4. * ess-web.nw: last change, sigh. * ess-web.nw: emacs lisp mode is wrong, sigh. * ess-web.nw: Contains interface code between Noweb and ESS * ChangeLog: added stata-dialect/lang to makefile * Makefile: added Stata stuff. Thu Sep 24 23:32:14 1998 A.J. Rossini * ChangeLog: more stuff. * essd-sta.el: should be sta, not stt * ChangeLog: update for ess-site. * ess-site.el: added stata mode, which is now STA (ref: Thomas Lumley) Thu Sep 17 09:11:51 1998 Martin Maechler * ChangeLog, ess-utils.el: several small things Fri Sep 11 16:20:14 1998 Martin Maechler * essd-r.el: (R-fix-T-F): new function Fri Sep 11 15:39:57 1998 Martin Maechler * essd-s4.el: Extraneous end deleted * ess.el ess-inf.el ess-mode.el Makefile: Adaptions to new ess-utils. * ess-utils.el: new file for ``General Utilities'' useful and usable *outside* ESS. 1998-09-09 A.J. Rossini * essd-sta.el: new file (STA-customize-alist): edited according to essl-sta.el. (STA-mode): New function (stata): New function (STA-transcript-mode): New function * Makefile (BATCHFLAGS): --no-init-file, not --no-init-fil Tue Sep 8 19:18:07 1998 Martin Maechler * essl-s.el: added "&optional dont-ask" argument to ess-dump-to-src, ess-fix-comments,.... ess-MM-fix-src Mon Sep 7 18:26:47 1998 Martin Maechler * essl-s.el (ess-time-string): 4 digit year! Wed Aug 26 14:16:35 1998 Martin Maechler * essl-s.el (S-editing-alist): font-lock-defaults: treat "." as word constituent (from Kurt). Thu Aug 20 08:45:11 1998 Martin Maechler * essddr.el (Rd-section-names): and (Rd-keywords): expanded according to Kurt's suggestion. Tue Aug 18 10:42:08 1998 Martin Maechler maechler * essd-s+3.el (S+3-dialect-name): new variable for customization. Tue Aug 18 10:28:22 1998 Martin Maechler * essd-r.el (R): add the "--no-readline" argument to r-start-args. Tue Aug 14 18:32:11 1998 Martin Maechler * ess-vars.el: new version "pre5.1" * Makefile: ditto * essl-s.el: renamed "ease:time-string" to "ess-time-string"; cleaned up Mon Apr 6 11:27:52 1998 Tony Rossini * ess-inf.el (ess-object-names): * ess-inf.el (ess-execute-objects): add argument to call to inferior-ess-objects-command, for S4 (suggested by Stephen Pope). Mon Apr 6 11:22:22 1998 Tony Rossini * ess-vars.el (inferior-ess-font-lock-keywords): change, as suggested by Stephen Pope (remove parens). Mon Dec 15 19:17:27 1997 Anthony Rossini * essd-s4.el (S4-mode): New function, use it. Wed Dec 10 10:33:59 1997 Anthony Rossini * essd-xls.el: make sure that the major-mode is 'XLS-mode (might need to do this for _all_ modes :-(. But let's first see if anything breaks. Tue Dec 9 17:54:31 1997 Anthony Rossini * essd-r.el: removed non-necessary autoload for a non-existant function (was intended for start-args, but never was written or used). Tue Dec 9 15:45:18 1997 Anthony Rossini * essddr.el: one too many parens. Tue Dec 9 15:44:23 1997 Anthony Rossini * essddr.el: added commented out face. DB's error doesn't exist for me, though. Fri Dec 5 10:12:54 1997 Anthony Rossini * ess-site.el: added comments about Emacs 20.2 errors. Fri Dec 5 10:09:59 1997 Anthony Rossini * CVS (ChangeLog): Starting 5.1 series.