This file documents changes and new features found in JED New since 0.94-0 : ------------------------------------------------------------ PageUP/Down functions scroll other window if called from the minibuffer. Some defaults changed in jed.rc: Display line numbers on the status line is now the default. Regular expression matching (search/replace): re_search_forward, re_search_backward, query_replace_match New S-Lang intrinsics include: prefix_argument() : returns value of prefix argument. set_status_line(format, flag) : enables user to customize status line re_fsearch, re_bsearch, replace_match : regular expression intrinsics getpid : returns process pid New user variables: DISPLAY_TIME if non-zero, allows %t processing in status line format. ALT_CHAR (ibmpc only) enables Alt-key processing. Specifically, setting this to 27 (Ascii 27) causes ALT-X to generate ESCAPE-X, etc... C_BRA_NEWLINE if non-zero, insert a newline before inserting '{' in C-mode. This was the default in previous versions but it now user selectable. ------------------------------------------------------------------------------ New features in 0.94-0 0.94-0 does not really add any new functionality to 0.93. However, there is a major change: S-Lang is now very C-Like. (It can still be programmed as RPN though, see e.g., info.sl) By C-like, I mean that you can write S-Lang functions that look like: define sum(a, b) % sum integers from a to b { variable s, i; s = 0; for (i = a; i <= b; i++) s += i; return (s); } S-Lang has not lost any functionality, rather, its new syntax makes it more accessable to others. The new philosophy is that JED is an editor which just happens to embed S-Lang as its extension language. Actually, this has always been the philosophy but not it is even more clear cut. To compile the new JED (0.94) you will need to pick up /pub/slang/slang.tar.Z as well. This is the S-Lang interpreter code to be compiled as a library and linked in with JED. The only other ``major'' changes are: 1. do_while construct added: do { stuff... } while (expression); 2. `defined?' replaced by `is_defined'. 3. Temporary global variables $0, $1, ... $9 added for convenience and clarity. 4. Comment delimeter changed from `;' to `%'. 5. Arrays are indexed from 0 not 1. 6. \??? is now Octal ??? NOT decimal ???. \d??? is decimal. 7. Sprintf added to intrinsics (formats strings) In addition, you should ``bytecompile'' the .sl files after installing the new version of jed. It is this simple: jed -batch -l bytecomp.sl