home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / modes / S-mode / CHANGES next >
Encoding:
Text File  |  1992-06-25  |  4.7 KB  |  125 lines

  1. This file documents the changes from version 2.1 of S.el (also known
  2. as gnuemacs3 on Statlib) and the current version.
  3.  
  4. For current users of S-mode, here are some of the incompatible
  5. changes and features new to version 3.3 of S-mode:
  6.  
  7.    * Command-line completion of object names, and faster completion in
  8.      other situations.
  9.  
  10.    * `Hot Keys' for the commonly-used functions `objects()',
  11.      `search()' and `attach()' and a facility to add your own hot keys
  12.      with keyboard macros.
  13.  
  14.    * Simultaneous multiple function editing, with integrated
  15.      error-checking and parsing. Mnemonic names for edit buffers.
  16.  
  17.    * Debugging features: facility for stepping through S code and
  18.      evaluating portions of code with the output appearing as if the
  19.      commands has been typed in manually.
  20.  
  21.    * S can now be run from a different directory each session.
  22.  
  23.    * A dedicated mode for viewing S help files. Individual help
  24.      buffers are maintained for quick repeated access. Completion for
  25.      help files without a corresponding object.
  26.  
  27.    * Facility for maintaining organised backups of S source code.
  28.  
  29.    * Indenting and formatting commands for editing S source code.
  30.  
  31.    * Special handling of the S graphics facilities, including an
  32.      experimental Tek graphics mode.
  33.  
  34.    * Better handling of temporary files and buffers.
  35.  
  36.  
  37.    * Some keybindings have changed to conform to GNU guidelines.
  38.  
  39. Here are the changes to the keybindings from version 2.1:
  40.  
  41. INFERIOR-S-MODE:
  42.  
  43. C-c h    S-display-help-on-object    MOVED TO       C-c C-h         [*]
  44. C-c d    S-dump-object-into-scratch  MOVED TO       C-c C-d       [*]
  45. C-c l    S-load-file             MOVED TO       C-c C-l       [*]
  46. C-c C-o  comint-kill-output          REDEFINED AS  S-kill-output
  47. C-c C-z     comint-stop-subjob         REDEFINED AS  S-abort
  48.  
  49. S-MODE:
  50.  
  51. C-c h    S-display-help-on-object    MOVED TO       C-c C-h       [*]
  52. C-c l    S-load-file             MOVED TO       C-c C-l       [*]
  53. C-c z    switch-to-S             MOVED TO       C-c C-y       [*]
  54. C-c C-k  S-eval-line-and-go          MOVED TO       C-c M-j       [*]
  55. C-c k     S-eval-line             MOVED TO       C-c C-j       [*]
  56. C-c C-e  S-eval-function-and-go      MOVED TO       C-c M-f
  57.                      REDEFINED AS  S-execute-in-tb
  58. C-c e    S-eval-function         MOVED TO       C-c C-f       [*]
  59. C-c C-b     S-eval-buffer-and-go         MOVED TO       C-c M-b       
  60. C-c b     S-eval-buffer             MOVED TO       C-c C-b       [*]
  61. C-c C-r     S-eval-region-and-go         MOVED TO       C-c M-r
  62. C-c r     S-eval-region             MOVED TO       C-c C-r       [*]
  63.  
  64. If your fingers insist on using the old bindings, place the following
  65. piece of code in your .emacs to emulate the bindings marked [*] above:
  66.  
  67. (setq S-mode-load-hook
  68.       '(lambda nil
  69.      (define-key inferior-S-mode-map "\C-ch" 'S-display-help-on-object)
  70.      (define-key inferior-S-mode-map "\C-cl" 'S-load-file)
  71.      (define-key inferior-S-mode-map "\C-cd" 'S-dump-object-into-edit-buffer)
  72.      (define-key S-mode-map "\C-ch" 'S-display-help-on-object)
  73.      (define-key S-mode-map "\C-cl" 'S-load-file)
  74.      (define-key S-mode-map "\C-cz" 'S-switch-to-S)
  75.      (define-key S-mode-map "\C-c\C-k" 'S-eval-line-and-go)
  76.      (define-key S-mode-map "\C-ck" 'S-eval-line)
  77.      (define-key S-mode-map "\C-ce" 'S-eval-function)
  78.      (define-key S-mode-map "\C-cb" 'S-eval-buffer)
  79.      (define-key S-mode-map "\C-cr" 'S-eval-region)))
  80.  
  81. However, I do encourage you to become familiar with the new bindings.
  82.  
  83.  
  84.    * General code cleanups and optimizations.
  85.  
  86. In particular, a number of variable and function names have been
  87. changed. You may need to modify any hooks you used in version 2.1. The
  88. changes are:
  89.  
  90. Before version 3.3        Version 3.3
  91. ------------------        -----------
  92. explicit-Splus-args        inferior-Splus-args
  93. make-S-comint            inferior-S-make-comint
  94. S-send-input            inferior-S-send-input
  95. S-get-old-input            inferior-S-get-old-input
  96. wait-for-S-prompt        inferior-S-wait-for-prompt
  97. S-dump-object-into-scratch    S-dump-object-into-edit-buffer
  98. find-S-object-default        S-read-object-name-default
  99. find-S-object            S-read-object-name
  100. get-S-search-list        S-get-search-list
  101. get-S-object-list-r        S-get-object-list-r
  102. get-S-object-list        S-get-object-list
  103. command-to-S            S-command
  104. beginning-of-S-function        S-beginning-of-function
  105. end-of-S-function        S-end-of-function
  106. extract-word-name        S-extract-word-name
  107. switch-to-S            S-switch-to-S
  108. switch-to-end-of-S        S-switch-to-end-of-S
  109. make-S-function            S-make-function
  110. electric-S-brace        S-electric-brace
  111. calculate-S-indent        S-calculate-indent
  112. mark-S-function            S-mark-function
  113. indent-S-exp            S-indent-exp
  114. set-S-style            S-set-style
  115. find-S-help-file        S-find-help-file
  116. get-S-help-files-list        S-get-help-files-list
  117. nuke-S-help-bs            S-nuke-help-bs
  118. default-S-style            S-default-style
  119.  
  120. (some of these symbols were not present in version 2.1 of S.el, but
  121. have been used in `private' releases since 2.1)
  122.  
  123. In addition, many of the internal functions have been modified in
  124. implementation and/or usage. See S.el for more information.
  125.