branch: elpa/teco commit 28fbc121bc8b925adf111d32ece9177cff93e40b Author: Mark T. Kennedy <m...@acm.org> Commit: Mark T. Kennedy <m...@acm.org>
just editing --- README.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 28c9781c5e..54c570264b 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # TECO.EL -TECO is an ancient text editor written in the days before most of you +TECO was an ancient text editor written in the days before most of you reading this were born. It supported macros of editing commands as an -extension mechanism. The original version of EMACS was written in -TECO by loading macros that provided the EMACS functionality and then +extension mechanism. The original version of EMACS was written by +loading macros into TECO that provided EMACS functionality and then saving the memory image of the combined TECO command interpreter and -macros as a new program ("dumping" an EMACS). +the macros as a new program ("dumping an EMACS"). As an editor, the TECO commands (the operators of the macro language) -were terse and powerful. From within EMACS, one could open a +were terse and powerful. Within TECO-based EMACS, one could open a 'minibuffer' by typing ESC ESC and then enter a TECO program which would be run (by typing ESC ESC again) to modify the underlying EMACS buffer. E.g. if you wanted to add a new column containing the string @@ -18,23 +18,22 @@ execute the TECO program `<.-z; 2fwl i,EMPTY$ l>` * "<" loop body ">" - * ".-z" (point - end of buffer) - * ";" end loop test (if prefix arg ".-z" is >= 0) - * "2fwl" is really three things: "2" => repeat count, "fw" => bounds - of a word, "l" => move forward + * ".-z" - an integer expression: current point - end of buffer + * ";" - end loop test, if prefix arg ".-z" is >= 0, you exit the loop + * "2fwl" - really three things: "2" => repeat count, "fw" => bounds + of a word, and "l" => move forward using prefix arg bounds * "iSTRING-TO-INSERT$" (where $ is actually ESC) - * "l" (with no args) move to the beginning of the next line + * "l" - with no args, move to the beginning of the next line -While this is easily done with a keyboard macro, the TECO language -offers more functionality and is often quicker to use if you're -willing to pay the cost of learning how to use it. Personally, I'm -addicted to clearing a buffer by executing the TECO program `hk`. +While this is easily done in modern ELisp-based EMACS with a keyboard +macro, the TECO language offers more functionality than keyboard +macros and is often quicker to use. Personally, I'm addicted to +clearing a buffer by executing the short TECO program `hk`. Dale Worley (wor...@alum.mit.edu) implemented this TECO interpreter in Elisp. It was originally available from the old EMACS LCD archive and -was still kicking around the EmacsWiki. Since I still use it, I -created this package to make it available from the modern Emacs -package system. +is still kicking around the EmacsWiki. I created this package to make +it available from the modern Emacs package system. <https://en.wikipedia.org/wiki/TECO_(text_editor)>