Describe improved detection of bogus help buffers.
[ess.git] / doc / newfeat.texi
blob49e38d10cba519892b45af78bcab460dc41d839b
1 Changes/New Features in 5.2.9:
2 @itemize @bullet
3 @item @ESS{[R]} for Windows:  the \ directory character bug
4 with respect to ess-load-file has been eradicated.
5 @item @iESS{[SAS]}: @kbd{C-c C-r} and @kbd{C-c C-b} once again
6 work as intended and documented.
7 @item @ESS{[S]}: M-x ess-fix-EQ-assign is a bit more agressive.
8 @item @ESS{[S]}: Imenu now also shows setAs(), etc.
9 @item @ESS{[R]}: R function pattern enhanced with underlying code such that
10  @kbd{M-C-a} (@code{ess-beginning-of-function}) etc now work for many more
11  cases, including S4 method definitions.
12 @item @iESS{[R]}: myOwnhelp(1) no longer wrongly triggers help(1).
13 @item @ESS{[R]}: Improved detection of bogus help buffers: valid help
14  buffers containing with the string ``no documentation''(e.g. contour)
15  were being treated as bogus.
16 @item @ESS{[R]}: In R help buffers, if @code{options("help.try.all.packages" =
17  TRUE)} then @code{?rlm} will list which packages rlm is defined in.  This help
18  buffer is not bogus, but instead is now relabelled ``*help[R](rlm in
19  packages)*''.
20 @end itemize
22 Changes/New Features in 5.2.8:
23 @itemize @bullet
24 @item iESS: [Tab] completes @strong{file} names ``inside string'' as in
25 earlier (<= 5.2.3) ESS versions.
26 @end itemize
28 Changes/New Features in 5.2.7:
29 @itemize @bullet
30 @item If you use Custom to change the variable ess-toolbar-items,
31 the new toolbar is used in all subsequent ESS buffers.
32 @item @ESS{[SAS]}: new feature:  if ess-sas-log-max >0 and
33 your .log grows to more than ess-sas-log-max bytes, just
34 the first ess-sas-log-max bytes are refreshed; this is helpful when your .sas program
35 generates lots of error messages and gets too big for emacs to display
36 @item @ESS{[R/S]}: @kbd{M-;} in R/S editing modes will now indent with
37 either one or two hashes depending on context.
38 @item @ESS{[R]}: David Whiting's Sweave extensions (to 'noweb')
39 are now available (from ess-swv.el loaded by default).
40 @end itemize
42 Changes/New Features in 5.2.6:
43 @itemize @bullet
44 @item Removed non-ASCII characters in a few files.
45 @item @ESS{[R]}: now works better when UTF-8 locale is active; in
46  particular, you get correct directional quotes in R's startup message
47  for R-devel (unstable development version of R 2.1.0) when using
48  environment variables LANGUAGE=en@@quot LC_ALL=en_US.UTF-8
49 @item @ESS{[SAS]}: toggling of .log mode improved (@kbd{F10}); toggling of
50 .lst mode now also available (@kbd{C-F10}); killing all buffers associated
51 with .sas program no longer bound to @kbd{C-F10} since its a bit overzealous.
52 @item S-Plus 7 for Windows is now recognized.
53 @item @ESS{[S]} (incl.@: R): in auto-fill mode, strings are not wrapped anymore.
54 @item @ESS{[S]} (incl.@: R): font-lock now correctly differs between R and S,
55 e.g., for "_"; both now fontify warning(.) and S does terminate() additionally.
56 @item Support for `bell' aka `beep' aka `ding' aka `alarm' in all inferior
57 modes: When \a is output ``to the the console'' at the beginning of a line,
58 the bell is rung.
59 @end itemize
61 Changes/New Features in 5.2.5:
62 @itemize @bullet
63 @item @ESS{[R]}: @kbd{C-c C-q} or @samp{Quit S} from the menu now should work
64 (again and less klunkily) and do not append @samp{-exited} to the
65 buffer name.  Further, the behavior of @code{(ess-cleanup)}, called from
66 ess-quit, now depends on the new customizable variable
67 @code{ess-S-quit-kill-buffers-p} which defaults to @code{nil}.
68 Consequently, the question @emph{``Delete all buffers associated
69 with ..?''} will not be asked anymore by default.
70 @item @ESS{[SAS]} -- ess-ebcdic-to-ascii-search-and-replace will now work
71 with the @code{recode} application as well which is available on many platforms
72 @item @ESS{[S]} (incl.@: R): Name completion for slots of S4 objects now works!
73 @end itemize
75 Changes/New Features in 5.2.4:
76 @itemize @bullet
77 @item The documentation now includes an overview of how to use the emacs
78 TAGS facility for S functions.  (The distribution also used to contain a
79 directory @file{etc/other/Tags} where a ~1990 version of @file{etags.c} was
80 distributed; this is no longer relevant and so has been deleted.)
81 @item @ESS{[SAS]} -- When you are working with EBCDIC files on an ASCII
82 platform, .log NOTEs may display as gibberish since the EBCDIC
83 characters are not converted to ASCII prior to their display.  So,
84 the function ess-ebcdic-to-ascii-search-and-replace is provided for
85 convenience and is bound to @kbd{C-F11}.  This function requires the
86 @code{dd} command (only available on unix or unix-like platforms).
87 @item ESS: Completion of object names is now always done dynamically rather
88 than allowing the option of using a pre-computed database (by
89 @code{ess-create-object-name-db}) since modern computers seem fast
90 enough for dynamic completion.  (We expect few users, if any, have
91 been using the pre-computed database method.)
92 @item ESS: object completion in iESS buffers running on Windows was
93 very slow (for GNU Emacs, but not XEmacs) and has now been fixed.
94 Further, it was more or less broken for all versions of S-plus 6.x,
95 and has been fixed to work everywhere but with the Windows' GUI of
96 S-plus.  The list of objects now shows unique names also when an
97 object appears more than once in the search path.
98 @item @ESS{[R]}: Completion of object names now also includes those
99 starting with ``.''.
100 @end itemize
102 Changes/New Features in 5.2.3:
103 @itemize @bullet
104 @item ESS: When new inferior ESS processes are created, by default they
105 will replace the current buffer (this restores behavior from pre
106 5.2.0). If you wish new ESS processes to start in another window of the
107 current frame, set inferior-ess-same-window to nil.
108 @item New variables inferior-Splus-args and inferior-R-args provide a
109 way to pass command line arguments to starting S and R processes.
110 @end itemize
112 Changes/New Features in 5.2.2:
113 @itemize @bullet
114 @item bug-fixes for 5.2.1 (require 'executable), html docs, etc.
115 @item ess-lisp-directory/../doc/info added to Info-directory-list
116 if ess-info not found by info
117 @item @ESS{[R]}: If you have other versions of R on your
118 exec-path, such as "R-1.8.1" with Unix or "rw1081" with Windows,
119 ESS will find them and create appropriate functions, such as
120 @kbd{M-x R-1.8.1} or @kbd{M-x rw1081}, for calling them.
121 By default only Unix programs beginning "R-1" and
122 "R-2" and Windows programs parallel to the
123 version of R in your exec-path will be found,
124 but see ess-r-versions and ess-rterm-versions for ways to find other
125 versions of R.
126 @item @ESS{[R]}: Other versions of R, such as "R-1.8.1" on Unix and "rw1081" on
127 Windows, are added to the
128 "ESS / Start Process / Other" menu.
129 @item @ESS{[S]}: If you have other versions of S-Plus on your Windows computer,
130 such as S-Plus 6.1 or S-Plus 4.5, ESS will find them and create appropriate
131 functions, such as @kbd{M-x splus61}, for calling the console version (Sqpe)
132 inside an emacs buffer.  By default only
133 programs installed in the default location will be found, but see
134 ess-SHOME-versions for ways to find other versions of S-Plus.
135 @item @ESS{[S]}: Other versions of Sqpe on Windows, such as "splus61",
136 are added to the
137 "ESS / Start Process / Other" menu.
138 @item @ESS{[R]}: (bug fix) ess-quit (bound to @kbd{C-c C-q}) should now quit the
139 inferior R process, when issued from either the inferior buffer, or from
140 a .R buffer.
141 @end itemize
143 Changes/New Features in 5.2.1:
144 @itemize @bullet
145 @item @ESS{[S]} (R and S-plus): now have toolbar support
146 with icons to evaluate code in the inferior process or to switch
147 there.  This code is experimental and likely to change as XEmacs/Emacs
148 issues get resolved. The toolbar should be enabled if your Emacs
149 displays images, but can be disabled with the variable ess-use-toolbar.
150 Thanks to David Smith from Insightful for the S-plus logo.
151 @item @ESS{[SAS]}: ess-sas-graph-view (@kbd{F12}) enhanced; you can specify
152 external file viewers for each graphics file type via the alist
153 ess-sas-graph-view-viewer-alist; also .jpg/.gif are now handled
154 by image-mode on XEmacs, if available, otherwise by graphics
155 primitives as before
156 @end itemize
158 Changes/New Features in 5.2.0:
159 @itemize @bullet
160 @item @ESS{[BUGS]}:  new info documentation!  now supports interactive
161 processing thanks to @uref{mailto:Aki.Vehtari@@hut.fi, Aki Vehtari};
162 new architecture-independent unix support as well as support for BUGS v. 0.5
163 @item @ESS{[SAS]}:  convert .log to .sas with ess-sas-transcript;
164 info documentation improved; Local Variable bug fixes;
165 SAS/IML statements/functions now highlighted; files edited
166 remotely by ange-ftp/EFS/tramp are recognized and pressing
167 SUBMIT opens a buffer on the remote host via the local variable
168 ess-sas-shell-buffer-remote-init which defaults to "ssh";
169 changed the definition of the variable ess-sas-edit-keys-toggle
170 to boolean rather than 0/1; added the function ess-electric-run-semicolon
171 which automatically reverse indents lines containing only "run;";
172 @kbd{C-F1} creates MS RTF portrait from the current buffer;
173 @kbd{C-F2} creates MS RTF landscape from the current buffer;
174 @kbd{C-F9} opens a SAS DATASET with PROC INSIGHT rather than PROC FSVIEW;
175 "inferior" aliases for SAS batch:  @kbd{C-c C-r} for submit region,
176 @kbd{C-c C-b} for submit buffer, @kbd{C-c C-x} for goto .log; @kbd{C-c C-y} for goto .lst
177 @item @ESS{[S]}: Pressing underscore ("_") once inserts " <- " (as before);
178 pressing underscore twice inserts a literal underscore.  To stop this
179 smart behaviour, add "(ess-smart-underscore nil)" to your .emacs after
180 ess-site has been loaded;
181 ess-dump-filename-template-proto (new name!) now can be
182 customized successfully (for S language dialects);
183 Support for Imenu has been improved; set ess-imenu-use-S to non-nil to
184 get an "Imenu-S" item on your menubar;
185 ess-help: Now using nice underlines (instead of `nuke-* ^H_')
186 @item @ESS{[R]}:  After (require 'essa-r), @kbd{M-x ess-r-var} allows to load
187 numbers from any Emacs buffer into an existing *R* process;
188 @kbd{M-x ess-rdired} gives a ``directory editor'' of R objects;
189 fixed ess-retr-lastvalue-command, i.e. .Last.value bug
190 (thanks to David Brahm)
191 @item ESS: Support for creating new window frames has been added to
192 ESS.  Inferior ESS processes can be created in dedicated frames by
193 setting inferior-ess-own-frame to t.  ESS help buffers can also open in
194 new frames; see the documentation for ess-help-own-frame for details.
195 (Thanks to Kevin Rodgers for contributing code.)
196 @end itemize
198 Changes/New Features in 5.1.24:
199 @itemize @bullet
200 @item The version number is now correct even inside ESS/Emacs
201 @end itemize
203 Changes/New Features in 5.1.23:
204 @itemize @bullet
205 @item Minor more Makefile clean up.
206 @end itemize
208 Changes/New Features in 5.1.22:
209 @itemize @bullet
210 @item Besides info documentation, PDF and HTML
211 documentation are also provided (instead of built using "make") and available
212 on the web as well; see @uref{http://ess.r-project.org/,
213  ESS web page} and @uref{http://lib.stat.cmu.edu/general/ESS/doc, StatLib}
214 @item Now that info documentation is available, the
215 README.* files are no longer supported.  However, they
216 are still distributed for what it's worth.
217 @item ESS is now an XEmacs package!  See
218 @uref{http://www.xemacs.org/Install/index.html, XEmacs Installation HOWTO}
219 for details (specifically, items 10-15).
220 @item @ESS{[SAS]}: more user-friendly enhancements for remote
221 SAS batch jobs with Kermit file transfers (LOG and OUTPUT
222 function key features now supported).  Multiple shells
223 now supported so you can run SAS on different computers
224 from different buffers by setting the buffer-local variable
225 ess-sas-shell-buffer to unique buffer names.
226 @item Major re-vamping of Makefile/Makeconf.
227 @end itemize
229 Changes/New Features in 5.1.21:
230 @itemize @bullet
231 @item @ESS{[SAS]}: info documentation now available!, see
232 ESS->Help for SAS; @kbd{F12} opens GSASFILE nearest point for viewing
233 either within emacs, when available, or via an external viewer;
234 more syntax highlighting keywords; more enhancements for remote
235 SAS batch jobs with Kermit; new framework for remote SAS interactive
236 jobs, see ess-remote
237 @item @ESS{[S]}: info documentation now available!, see
238 ESS->Help for the S family
239 @item Makefile: tag now independent of rel; info files
240 made by doc/Makefile and installed in new info sub-directory
241 @end itemize
243 Changes/New Features in 5.1.20:
244 @itemize @bullet
245 @item New `options()$STERM' in the S dialects (S, S-Plus, R).
246 The S program can determine the environment in which it is
247 currently running.  ESS sets the option to `iESS' or `ddeESS'
248 when it starts an S language process.  We recommend other specific
249 values for S language processes that ESS does not start.
250 @item New `ess-mouse-me' function, assigned to S-mouse-3 by default.
251 User may click on a word or region and then choose from the
252 menu to display the item, or a summary, or a plot, etc.
253 This feature is still under development.
254 @item GNU Emacs 21.1 is now supported (fixed for S dialects, SAS & BUGS),
255 (some from Stephen Eglen).
256 @item XEmacs 21.x is now supported (fixed w32-using-nt bug)
257 @item XEmacs on Win (NT) is better supported.
258 @item Workaround for bug in Sqpe+6 (S-PLUS 6 for Win).
259 @item should now work even when imenu is not available (for old XEmacsen).
260 @item @ESS{[SAS]}: XEmacs-Imenu fix; @kbd{C-TAB} is globalized along with your
261 function-key definitions, if specified; you can specify your SAS
262 library definitions outside of autoexec.sas for ess-sas-data-view
263 with SAS code placed in the variable ess-sas-data-view-libname,
264 also the dataset name is defaulted to the nearest permanent dataset
265 to point; Speedbar support now works for permanent datasets, please
266 ignore first./last.; new font-locking is now the default with more
267 improvements for font-locking PROCs, macro statements, * ; and %* ;
268 comments; you can toggle sas-log-mode with @kbd{F10} which will font-lock
269 your .log (if it isn't too big); submit remote .sas files accessed
270 with ange-ftp, EFS or Tramp (Kermit is experimental) by setting
271 ess-sas-submit-method to 'sh; ess-sas-submit-command and
272 ess-sas-submit-command-options are buffer-local so you can have
273 local file variable sections at the end of your .sas files to
274 request different executables or specify special options and the
275 local file variables are re-read at submit instead of only at file
276 open so that if you make a change it is picked up immediately;
277 @item @ESS{[BUGS]}: font-lock with `in' fixed.
278 @item for STATA: font-lock bug fixed.
279 @item for Rd mode: @kbd{C-c C-v} and `switch-process' in menu.
280 further, @kbd{C-c C-f} prefix (Rd-font) for inserting or surrounding a word
281 by things such as \code@{.@}, \code@{\link@{.@}@}, \emph@{.@} etc.
282 @item new functions (ess-directory-function) and (ess-narrow-to-defun)
283 ess-directory <-> default-directory logic (Jeff Mincy).
284 @item Re-organized Makefile and fixed a few bugs.
285 @end itemize
287 Changes/New Features in 5.1.19:
288 @itemize @bullet
289 @item S+6 now supported (Tony Rossini (Unix) and Rich Heiberger (Windows))
290 @item New BUGS support through @ESS{[BUGS]} mode (Rodney Sparapani)
291 Templates assist you in writing .bug and .cmd code (.cmd and .log
292 are replaced by .bmd and .bog to avoid emacs extension collisions).
293 Substitution" parameters facilitate "automagic" generation of
294 data...in" and "init...in" filenames, "const N=" from your data
295 file and "monitor()/stats()" commands.  Activated by pressing @kbd{F12}.
296 @item Fixes for `ess-smart-underscore' SAS breakage (Rich Heiberger)
297 @item You can change between PC and Unix, local and global SAS function-key
298 definitions interactively (Rich Heiberger)
299 @item @kbd{C-Submit} a highlighted region to SAS batch (Rodney Sparapani)
300 @item New and improved SAS syntax highlighting (Rodney Sparapani)
301 To get the new functionality, set ess-sas-run-make-regexp to nil.
302 Also available in .log files via @kbd{F10}.
303 @item Open a permanent SAS dataset for viewing via @kbd{F9} (Rodney Sparapani)
304 You must have the library defined in autoexec.sas for it to work.
305 @item User-friendly defaults for `sas-program', `ess-sas-batch-pre-command'
306 and `ess-sas-batch-post-command' as well Customize support for these
307 and other @ESS{[SAS]} variables (Rodney Sparapani)
308 @item `ess-sas-suffix-2' now defaults to .dat via @kbd{F11} (Rodney Sparapani)
309 @item Emacs/XEmacs, Unix/Windows issues collectively handled in ess-emcs.el
310 @item defadvice solves problem of missing *ESS* (thanks to Jeff Mincy)
311 @item Improved manual a bit by including things that were only in `README'.
312 @end itemize
314 Changes/New Features in 5.1.18:
315 @itemize @bullet
316 @item New `ess-smart-underscore' function, now assigned to "_" by default.
317 Inserts `ess-S-assign' (customizable " <- "), unless inside string
318 and comments where plain "_" is used instead. (MM)
319 @item Fixes for longstanding interactive SAS breakage (RMH)
320 @end itemize
322 Changes/New Features in 5.1.17:
323 @itemize @bullet
324 @item Documentation for Windows Installation (Rich Heiberger)
325 @item removal of ess-vars, finalization of customize support (in the
326 sense that there is no more use of ess-vars, but that we need to
327 fix ess-cust) (AJ Rossini)
328 @item Many small (and large) fixes/contributions (MMaechler)
329 @item addition of the "S-equal" variable and provide @kbd{M-x ess-add-MM-keys}
330 a way to remap "_" to `ess-S-assign', typically " <- ", but
331 customizable. (MMaechler)
332 @end itemize
334 Changes/New Features in 5.1.16:
335 @itemize @bullet
336 @item BUG FIXES
337 @item Better SAS support
338 @end itemize
340 Changes/New Features in 5.1.15:
341 @itemize @bullet
342 @item BUG FIXES
343 @end itemize
345 Changes/New Features in 5.1.14:
346 @itemize @bullet
347 @item Yet more fixes to SAS mode, (Rich Heiberger and Rodney Sparapani)
348 @item Customize support (for most Emacsen which support it) (AJRossini)
349 @item ARC and ViSta support out of the box, and fixes for XLispStat (AJRossini)
350 @end itemize
352 Changes/New Features in 5.1.13:
353 @itemize @bullet
354 @item Version numbering finally all depending on the ./VERSION file,
355 thanks to Martin Maechler.
356 @item Yet more fixes to SAS mode, thanks to Rich Heiberger.
357 @end itemize
359 Changes/New Features in 5.1.12:
360 @itemize @bullet
361 @item Splus 5.1 stabilized, thanks to Martin Maechler, Bill Venables,
362 Chuck Taylor, and others.
363 @item More fixes to SAS mode, thanks to Rodney Sparapani
364 and Rich Heiberger.
365 @end itemize
367 Changes/New Features in 5.1.11:
368 @itemize @bullet
369 @item More fixes to Stata mode, thanks to
370 @uref{mailto:brendan@@essex.ac.uk, Brendan Halpin}.
371 @item fixed bugs in ESS-elsewhere, thanks to many testers
372 @item README.SPLUS4WIN has DETAILED instructions for S-PLUS 2000, thanks
373 to @uref{mailto:brahm@@alum.mit.edu, David Brahm}.
374 @item Fixes to SAS mode, thanks to Rodney Sparapani
375 @end itemize
377 Changes/New Features in 5.1.10:
378 @itemize @bullet
379 @item More fixes to Stata mode
380 @item primitive generic version of ESS-elsewhere
381 @item Small fixes to SAS/Stata.
382 @end itemize
384 Changes/New Features in 5.1.9:
385 @itemize @bullet
386 @item Stata mode works
387 @item Literate Data Analysis using Noweb works
388 @end itemize
390 Changes/New Features in 5.1.8:
391 @itemize @bullet
392 @item Bug fixes
393 @item R documentation mode defaults changed
394 @end itemize
396 Changes/New Features in 5.1.2:
397 @itemize @bullet
398 @item  able to use inferior iESS mode to
399 communicate directly with a running S-Plus 4.x process using the
400 Microsoft DDE protocol.  We use the familiar (from Unix ESS) @kbd{C-c C-n}
401 and related key sequences to send lines from the S-mode file to the
402 inferior S process.  We continue to edit S input files in @ESS{[S]} mode
403 and transcripts of previous S sessions in ESS Transcript mode.  All
404 three modes know the S language, syntax, and indentation patterns and
405 provide the syntactic highlighting that eases the programming tasks.
406 @end itemize