home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / FREEMACS / EMACS16A.ZIP / MINTED.EDD < prev    next >
Text File  |  1990-02-24  |  7KB  |  254 lines

  1.  
  2.  
  3. Name:M:give-name
  4. Insert a null string definition.
  5. [*]
  6.  
  7. Name:M:done-editing
  8. Reads strings from the current buffer.
  9. [*]
  10.  
  11. Name:M:keys-read
  12. Read the keymap inserted by #(M:keys-edit)
  13. [*]
  14.  
  15. Name:Mstrings-delimiter
  16. Returns the string delimiter for Mstrings-read and M:strings-edit.
  17. [*]
  18.  
  19. Name:M:compare-ed
  20. Read a .ED file.  Convert the file into an EDIT type file, preserving
  21. only those functions that DIFFER from the current ones.  This is very
  22. useful for making diffs between the currently loaded .ED files and
  23. other .ED files.
  24. [*]
  25.  
  26. Name:Mread-ed
  27. Read a .ED file.  Return ##(name) and ##(data).  Dependent upon the format
  28. of .ED files.
  29. [*]
  30.  
  31. Name:Mread-ed-chars
  32. Given a character count, read that many chars out of the buffer and
  33. advance point.
  34. [*]
  35.  
  36. Name:Mread-ed-word
  37. Return a word from the two chars following point.
  38. [*]
  39.  
  40. Name:M:copy-key
  41. Copy one key definition to another.
  42. [*]
  43.  
  44. Name:M:syntax-edit
  45. Edit the syntax table.
  46. [*]
  47.  
  48. Name:M:syntax-read
  49. Read the syntax table back in.
  50. [*]
  51.  
  52. Name:Mdebug
  53. Announce a string and wait for a key to be pressed.
  54. [*]
  55.  
  56. Name:Mgrep-do
  57. Grep the strings in the library whose lib letter is arg1
  58. [*]
  59.  
  60. Name:Mgrep-do-do
  61. Grep the string named by arg1.
  62. [*]
  63.  
  64. Name:Mstrings-edit-do
  65. Insert one string into the buffer for editing, unless it's already there.
  66. [*]
  67.  
  68. Name:Mstrings-read
  69. Read all the strings out of the text buffer.
  70. [*]
  71.  
  72. Name:Mstrings-read-do
  73. Read the string arg2 out of the text buffer.  The string belongs in the library
  74. whose lib letter is arg1.
  75. [*]
  76.  
  77. Name:M:erase-string
  78. Erase the string named by arg1.
  79. [*]
  80.  
  81. Name:M:remove-nonexistant
  82. Remove non-existant functions from the documentation file.
  83. [*]
  84.  
  85. Name:M:mef
  86. Edit a group of strings whose names begin with arg1.  Include executable
  87. strings (beginning with :), and search every library.
  88. [*]
  89.  
  90.  
  91.  
  92. Name:Mcompare-read
  93. Define ##(name) and ##(data) to be the name and data of the next string.
  94. [*]
  95.  
  96. Name:Mfilename
  97. I included Jost Kreiger's cref and trace packages in the minted library.
  98. -russ
  99.  
  100. Russ, I got your letter a bit late because of a typo in my name,
  101. so here I hurry the text of the cross-reference thing. Unfortunately,
  102. I forgot all about it in the meantime, as it was not really useful because
  103. of memory problems. It turned out to be in no good shape at all, so I reworked
  104. it a bit. MINT debugging is not easy, so I also remembered a rudimentray trace
  105. tool I wrote at the same time. It comes in the same text.
  106.  
  107. Here it comes with a few remarks:
  108.  
  109. 1. There were a few loose ends. I need sole left and right parentheses,
  110.    to pass them to a function (wait, what did I do then ...). These are
  111.    given names here instead of recalculating them every time. (I put this
  112.    in M&setup in the meantime.) I don't know if this is a general problem.
  113.    [ I changed it to use ##(bc,40,d,a) and ##(bc,41,d,a) -russ]
  114.  
  115. 2. The trace-functions are everything else but smart, and they slow down
  116.    interpretation very much (if you trace, e.g., Fmultiple-do). I find them
  117.    helpful, though. Problems:
  118. The trace buffer overflows rapidly with unfortunate side-effects.
  119. You may never, never forget to untrace everything before saving.
  120. (In this version the original text is part of the traced one, though.)
  121. The indentation tends to get messed up very often.
  122.    In effect, its more of an idea than a facility. Everything is possible,
  123.    but most things will make it slower.
  124.  
  125. 3. I called everything D: to make it part of a "DEVELOP" library.
  126.    Thats easy to change, of course.  [I put it in minted -russ]
  127.  
  128. The probably obsolete contents of my comments file for you to check:
  129.  Fset-mode-by-ext sets spell mode, although the speller is not installed.
  130.  In Freadline, you can edit the old text with backspace (feature ?).
  131.  The x command always suggests x as a command.
  132.  
  133. I hope this can be of use
  134.  
  135. Jost Krieger
  136.  
  137. P.S.:
  138. Please contact me under the nonmnemonical name "P920031@DBORUB01" in BITNET,
  139. thats safest and our mailer doesn't mess up the incoming messages any more.
  140. [*]
  141.  
  142. Name:Mtrace-do
  143. Redefine a string such that it inserts its invocation and its result.
  144.   arg1 = name of string to redefine.
  145.   arg2 = value of string.
  146.   arg3 = arglist.
  147. [*]
  148.  
  149. Name:M:trace
  150. This function redefines a function to issue tracing output to a special buffer
  151. called *trace* whenever it is called or returns. The name of the function is
  152. prompted for.
  153. [*]
  154.  
  155. Name:M:untrace
  156. This function undoes the effect of M:trace.
  157. [*]
  158.  
  159. Name:M:untrace-all
  160. This function untraces all functions that have been traced.
  161. [*]
  162.  
  163. Name:M:cref-all
  164. Generate a buffer named *cref* containing a cross reference of all
  165. defined strings. Each used string is listed on a new line, followed by an
  166. asterisk if it is defined anywhere, and then followed by lines filled with
  167. the names of functions that reference it.
  168. [*]
  169.  
  170. Name:M:cref-lib
  171. Generate a buffer called *cref* containing a cross reference of all
  172. strings used in a library. A prompt is issued for the library letter.
  173. Each used string is listed on a new line, followed by an asterisk if it
  174. is defined in the library, and then followed by lines filled with
  175. the names of functions in the library that reference it.
  176. [*]
  177.  
  178. Name:Mcref-lib-do
  179. Called with arg1 = a lib letter to cref.
  180. [*]
  181.  
  182. Name:Mcref-one
  183. Called with the name of a function to cref.
  184. Get rid of syntactic sugar like ( and ) and #( and ##( and comma.
  185. [*]
  186.  
  187. Name:Min-documentation
  188. Locate the documentation for the function arg2 in the library arg1.
  189. Execute arg3 if the documentation exists [with point just before the
  190. string-delimiter, and mark 0 just after the Name:.], otherwise execute
  191. arg4 if the documentation doesn't exist.
  192. [*]
  193.  
  194. Name:Mfind-documentation
  195. Return the documentation for a string.
  196. [*]
  197.  
  198. Name:M:check-parens
  199. [*]
  200.  
  201.  
  202.  
  203. Name:M:ek
  204. Edit a key definition and it's assocated function.
  205. [*]
  206.  
  207. Name:M:mint-expand
  208. Expand the MINT word to the left of point as much as possible.
  209. [*]
  210.  
  211. Name:M!Mint-mode
  212. Enter Mint mode.
  213. [*]
  214.  
  215. Name:M:mint-newline
  216. Mint mode newline with auto indent, current indent level, and if breaking a
  217. line then indent it a little more.
  218. [*]
  219.  
  220. Name:Mcurrent-indent
  221. Return the indenting of the previous open paren.
  222. [*]
  223.  
  224. Name:Mget-indent
  225. Return the indenting of the current line.
  226. [*]
  227.  
  228. Name:M:mint-rpar
  229. If we are putting our RPar on a line of code the just flash it, otherwise match
  230. the indenting of the LPar and then flash it.
  231. [*]
  232.  
  233. Name:M:mint-grep
  234. #(M:mint-grep) will edit all strings containing STRING
  235. [*]
  236.  
  237. Name:Mdefun
  238. arg1 is the name of the function.
  239. arg2 is the documentation of the function.
  240. arg3 is the body of the function.
  241. arg4 is the test code for the function.
  242. [*]
  243.  
  244. Name:Mstrings-edit-do-do
  245. Insert one string into the buffer for editing.
  246. [*]
  247.  
  248. Name:M:eval-expression
  249. Execute a primitive.  If preceded by !, insert the result into the buffer.
  250. [*]
  251.  
  252. Name:M:eval-last-sexp
  253. Evaluate the MINT expression before point.
  254. [*]