CONTENTS Title Page Copyright Page Preface Part I Guide to Editor Programming 1 Editor Overview 1.1 Some Common Editor Extensions 1.1.1 Changing the Frequency of Checkpointing 1.1.2 Changing the Number of Windows Displayed 1.1.3 Changing the Default Major Style 1.1.4 Binding a Command to a Key Sequence 1.1.5 Defining a Command to Change Screen Width 1.2 Editor Components 1.2.1 Text Operations 1.2.2 Window and Display Operations 1.2.3 Binding Contexts 1.2.4 Other Subsystems and Utilities 1.3 Referencing Editor Objects 1.3.1 Functions, Macros, and LISP Variables 1.3.2 Editor Objects 1.3.3 Named and Unnamed Editor Objects 1.3.3.1 Referencing Unnamed Objects 1.3.3.2 Referencing Named Objects 1.3.3.3 A Note on Efficiency 1.3.4 Context-Independent and Context-Dependent Editor Objects 1.3.4.1 Referencing Context-Independent Objects 1.3.4.2 Referencing Context-Dependent Objects 1.3.5 The Editor Package 1.3.5.1 The Package Prefix 1.3.5.2 Using USE-PACKAGE 1.3.5.3 Using IN-PACKAGE 2 Creating Editor Commands 2.1 Commands and Their Associated Functions 2.2 Using DEFINE-COMMAND 2.2.1 Specifying the Names 2.2.2 Specifying the Argument List 2.2.3 Supplying Documentation Strings 2.2.4 Specifying the Action 2.2.5 Modular Definition of Commands 2.2.6 Commands and Context 2.3 Some Special Command Facilities 2.3.1 Errors 2.3.1.1 Getting the User's Attention 2.3.1.2 Signaling an Error 2.3.1.3 Error Handling 2.3.2 Prompting 2.3.2.1 Simple Prompting 2.3.2.2 General Prompting 2.3.3 Command Categories 3 Binding Commands to Keys and Pointer Actions 3.1 Using BIND-COMMAND 3.2 The Command to Be Bound 3.3 The Key or Key Sequence to Be Bound 3.3.1 Choosing a Key or Sequence 3.3.2 Specifying a Character Key or Sequence 3.3.3 Specifying a Function Key, Keypad Key, or Sequence 3.4 The Binding Context 3.4.1 Specifying the Binding Context 3.4.1.1 Global 3.4.1.2 Style 3.4.1.3 Buffer 3.4.2 Search Order and Shadowing 3.5 Using BIND-POINTER-COMMAND 3.5.1 Specifying a Pointer Action 3.5.1.1 Pointer Cursor Movement 3.5.1.2 Pointer Button Transitions in UIS 3.5.1.3 Pointer Button Transitions in DECwindows 3.5.2 Specifying a Button State 3.5.3 Getting the State of the Pointer 3.5.3.1 Testing Pointer State 3.5.3.2 Accessing Pointer-State Information 4 Text Operations 4.1 Operations on a Character Position 4.1.1 Retrieving and Changing a Character 4.1.2 Inserting a Character 4.1.3 Inserting a String of Characters 4.1.4 Deleting Characters 4.2 Operations on a Group of Characters 4.2.1 Inserting a Region 4.2.2 Copying a Region 4.2.3 Deleting a Region 4.2.4 Writing a Region to a File 4.2.5 Operating on Buffers 4.2.5.1 Deleting the Text in a Buffer 4.2.5.2 Inserting One Buffer into Another 4.2.5.3 Writing a Buffer to a File 4.2.5.4 Inserting a File into a Buffer 4.3 Moving and Searching Operations 4.3.1 Moving by Character Positions 4.3.2 Searching by Pattern 4.3.2.1 Making a Search Pattern 4.3.2.2 Locating a Search Pattern 4.3.2.3 Replacing a Pattern 4.3.3 Searching by Attribute 4.3.3.1 Using LOCATE-ATTRIBUTE 4.3.3.2 Mark and Cursor Behavior 4.3.3.3 Using LOCATE-ATTRIBUTE Repeatedly 4.4 Miscellaneous Text Operations 4.4.1 Creating Marks 4.4.1.1 Mark Types and Their Behavior 4.4.1.2 Using COPY-MARK 4.4.1.3 Using WITH-MARK 4.4.2 Operating on Lines 4.4.2.1 Retrieving and Altering the Text in a Line 4.4.2.2 Retrieving and Altering a Single Character 4.4.2.3 Moving by Line 4.4.2.4 Testing Relative Line Positions 4.4.2.5 Retrieving and Testing Mark Positions 4.4.2.6 Example of an Operation on Lines 5 Window and Display Operations 5.1 Accessing Windows 5.1.1 The Current Window 5.1.2 The Windows onto a Buffer 5.1.3 All the Windows on the Screen 5.1.4 The ``Next'' Window 5.2 Window Content 5.2.1 Window Position in a Buffer 5.2.2 The Window Point 5.2.3 Moving a Window in the Buffer 5.2.3.1 Scrolling 5.2.3.2 Moving to a Specified Position 5.2.4 Wrapping the Lines in a Window 5.3 Window Appearance 5.3.1 Altering Window Rendition 5.3.2 Making Highlight Regions 5.3.3 Operations on Window Labels and Borders 5.3.3.1 Borders, Labels, and Label Content 5.3.3.2 Label Position 5.3.3.3 Label Rendition 5.4 Display Management 5.4.1 The Display Area 5.4.1.1 Display Area Dimensions 5.4.1.2 Reserved Display Area 5.4.1.3 Available Display Area 5.4.2 Window Types and Their Behavior 5.4.2.1 Display Behavior by Window Type 5.4.2.2 Window Size and Display Behavior 5.4.2.3 Window Position and Display Behavior 5.4.2.4 Window Borders and Display Behavior 5.4.3 Displaying and Removing Windows 5.4.3.1 Using SHOW-WINDOW 5.4.3.2 Using PUSH-WINDOW 5.4.3.3 Using REMOVE-WINDOW 5.5 Making and Deleting Windows 5.6 Example of Window and Display Operations 6 Operations on Styles 6.1 Activating and Deactivating Styles 6.1.1 Styles in a New Buffer 6.1.2 Editor's Default Styles 6.1.2.1 Default Major Style 6.1.2.2 Default Minor Style(s) 6.1.2.3 Default Minor Style(s) by Type of Buffer 6.1.2.4 Example of Activating Default Styles 6.1.3 Styles in an Existing Buffer 6.1.3.1 A Buffer's Major Style 6.1.3.2 A Buffer's Minor Style(s) 6.2 Modifying a Style Provided by Digital 6.2.1 Binding Keys and Pointer Actions 6.2.1.1 Finding Key Bindings 6.2.1.2 Review of BIND-COMMAND 6.2.1.3 Choosing Commands to Bind 6.2.2 Binding Variables and Setting Variable Values 6.2.2.1 Finding Style Variables 6.2.2.2 Altering Variable Values 6.2.2.3 Binding a Variable in a Style 6.2.2.4 Defining New Variables 6.2.3 Binding Attributes and Setting Attribute Values 6.2.3.1 Finding Style Attributes 6.2.3.2 Altering Attribute Values 6.2.3.3 Binding an Attribute in a Style 6.2.3.4 Defining New Attributes 6.3 Creating a New Style 6.3.1 Making a Style Object 6.3.2 Style Activation and Deactivation Hooks 6.3.3 Adding Capabilities to the Style 6.3.4 Activating the Style Part II Concepts in Editor Programming Attributes Buffers Characters Checkpointing Commands Context Debugging Support Editor Variables Errors Hooks Information Area Lines Marks Named Editor Objects Prompting Regions Rings Streams String Tables Styles Windows Part III Editor Object Descriptions ACTIVATE MINOR STYLE Command ALTER-WINDOW-HEIGHT Function ANCHORED WINDOW SHOW LIMIT Editor Variable APROPOS Command APROPOS-STRING-TABLE Function APROPOS WORD Command ATTENTION Function ATTRIBUTE-NAME Function BACKWARD CHARACTER Command BACKWARD KILL RING Command BACKWARD PAGE Command BACKWARD SEARCH Command BACKWARD WORD Command BACKWARD-WORD-COMMAND Function BEGINNING OF BUFFER Command BEGINNING OF LINE Command BEGINNING OF OUTERMOST FORM Command BEGINNING OF PARAGRAPH Command BEGINNING OF WINDOW Command BIND-ATTRIBUTE Function BIND COMMAND Command BIND-COMMAND Function BIND-POINTER-COMMAND Function BIND-VARIABLE Function BREAK-LINE Function BUFFER-CHECKPOINTED Function BUFFER-CHECKPOINTED-TIME Function BUFFER CREATION HOOK Editor Variable BUFFER-CREATION-TIME Function BUFFER DELETION HOOK Editor Variable BUFFER-END Function BUFFER ENTRY HOOK Editor Variable BUFFER EXIT HOOK Editor Variable BUFFER-HIGHLIGHT-REGIONS Function BUFFER-MAJOR-STYLE Function BUFFER-MINOR-STYLE-ACTIVE Function BUFFER-MINOR-STYLE-LIST Function BUFFER-MODIFIED-P Function BUFFER-NAME Function BUFFER NAME HOOK Editor Variable BUFFER-OBJECT Function BUFFER OBJECT HOOK Editor Variable BUFFER-PERMANENT Function BUFFER-POINT Function BUFFER-REGION Function BUFFER RIGHT MARGIN Editor Variable BUFFER SELECT MARK Editor Variable BUFFER SELECT REGION Editor Variable BUFFER-START Function BUFFER-TYPE Function BUFFER-VARIABLES Function BUFFER-WINDOWS Function BUFFER-WRITABLE Function BUFFER-WRITTEN-TIME Function BUFFERP Function CANCEL-CHARACTER Function CAPITALIZE REGION Command CAPITALIZE WORD Command CATEGORY-COMMANDS Function CENTER-WINDOW Function CHARACTER-ATTRIBUTE Function CHARACTER ATTRIBUTE HOOK Editor Variable CHARACTER-OFFSET Function CHECKPOINT-BUFFER Function CHECKPOINT-FREQUENCY Function CLEAR-INFORMATION-AREA Function CLOSE OUTERMOST FORM Command COMMAND-CATEGORIES Function COMMAND-NAME Function COMPLETE-STRING Function COPY FROM POINTER Command COPY-MARK Function COPY-REGION Function COPY TO POINTER Command COUNT-REGION Function CURRENT-BUFFER Function CURRENT-BUFFER-POINT Function * CURRENT-COMMAND-FUNCTION * Variable CURRENT-WINDOW Function DEACTIVATE MINOR STYLE Command DEFAULT BUFFER VARIABLES Editor Variable DEFAULT FILETYPE MINOR STYLES Editor Variable DEFAULT LISP OBJECT MINOR STYLES Editor Variable DEFAULT MAJOR STYLE Editor Variable DEFAULT MINOR STYLES Editor Variable DEFAULT SEARCH CASE Editor Variable DEFAULT WINDOW LABEL Editor Variable DEFAULT WINDOW LABEL EDGE Editor Variable DEFAULT WINDOW LABEL OFFSET Editor Variable DEFAULT WINDOW LABEL RENDITION Editor Variable DEFAULT WINDOW LINES WRAP Editor Variable DEFAULT WINDOW RENDITION Editor Variable DEFAULT WINDOW TRUNCATE CHAR Editor Variable DEFAULT WINDOW TYPE Editor Variable DEFAULT WINDOW WIDTH Editor Variable DEFAULT WINDOW WRAP CHAR Editor Variable DEFINE-ATTRIBUTE Macro DEFINE-COMMAND Macro DEFINE-EDITOR-VARIABLE Macro DEFINE-KEYBOARD-MACRO Function DELETE-AND-SAVE-REGION Function DELETE-BUFFER Function DELETE-CHARACTERS Function DELETE CURRENT BUFFER Command DELETE LINE Command DELETE-MARK Function DELETE NAMED BUFFER Command DELETE NEXT CHARACTER Command DELETE NEXT WORD Command DELETE PREVIOUS CHARACTER Command DELETE PREVIOUS WORD Command DELETE-REGION Function DELETE WHITESPACE Command DELETE-WINDOW Function DELETE WORD Command DESCRIBE Command DESCRIBE-OBJECT-COMMAND Function DESCRIBE WORD Command DESCRIBE WORD AT POINTER Command DOWNCASE REGION Command DOWNCASE WORD Command ED Command ED Function EDIT FILE Command EDIT-LISP-OBJECT-COMMAND Function * EDITOR-ATTRIBUTE-NAMES * Variable * EDITOR-BUFFER-NAMES * Variable * EDITOR-COMMAND-NAMES * Variable * EDITOR-DEFAULT-BUFFER * Variable EDITOR ENTRY HOOK Editor Variable EDITOR-ERROR Function EDITOR-ERROR-WITH-HELP Function EDITOR EXIT HOOK Editor Variable EDITOR-HELP-BUFFER Buffer EDITOR INITIALIZATION HOOK Editor Variable * EDITOR-KEYBOARD-MACRO-NAMES * Variable EDITOR-LISTEN Function EDITOR PAUSE HOOK Editor Variable EDITOR-PROMPTING-BUFFER Buffer EDITOR-READ-CHAR Function EDITOR-READ-CHAR-NO-HANG Function EDITOR RECURSIVE ENTRY HOOK Editor Variable * EDITOR-RETAIN-SCREEN-STATE * Variable * EDITOR-STYLE-NAMES * Variable EDITOR-UNREAD-CHAR Function * EDITOR-VARIABLE-NAMES * Variable * EDITOR-WORKSTATION-BANNER * Variable EDT APPEND Command EDT BACK TO START OF LINE Command EDT BEGINNING OF LINE Command EDT CHANGE CASE Command EDT CUT Command EDT DELETE CHARACTER Command EDT DELETE LINE Command EDT DELETE PREVIOUS CHARACTER Command EDT DELETE PREVIOUS LINE Command EDT DELETE PREVIOUS WORD Command EDT DELETE TO END OF LINE Command EDT DELETE WORD Command EDT DELETED CHARACTER Editor Variable EDT DELETED LINE Editor Variable EDT DELETED WORD Editor Variable EDT DESELECT Command EDT DIRECTION MODE Editor Variable EDT EMULATION Style EDT END OF LINE Command EDT MOVE CHARACTER Command EDT MOVE PAGE Command EDT MOVE WORD Command EDT PASTE Command EDT PASTE AT POINTER Command EDT PASTE BUFFER Editor Variable EDT QUERY SEARCH Command EDT REPLACE Command EDT SCROLL WINDOW Command EDT SEARCH AGAIN Command EDT SELECT Command EDT SET DIRECTION BACKWARD Command EDT SET DIRECTION FORWARD Command EDT SPECIAL INSERT Command EDT SUBSTITUTE Command EDT UNDELETE CHARACTER Command EDT UNDELETE LINE Command EDT UNDELETE WORD Command EMACS Style EMACS BACKWARD SEARCH Command EMACS FORWARD SEARCH Command EMPTY-BUFFER-P Function EMPTY-LINE-P Function EMPTY-REGION-P Function END KEYBOARD MACRO Command END-KEYBOARD-MACRO Function END OF BUFFER Command END OF LINE Command END-OF-LINE-P Function END OF OUTERMOST FORM Command END OF PARAGRAPH Command END OF WINDOW Command ENQUEUE-EDITOR-COMMAND Function EVALUATE LISP REGION Command EXCHANGE POINT AND SELECT MARK Command EXECUTE KEYBOARD MACRO Command EXECUTE NAMED COMMAND Command EXIT Command EXIT-EDITOR-COMMAND Function EXIT RECURSIVE EDIT Command FIND-AMBIGUOUS Function FIND-ATTRIBUTE Function FIND-BUFFER Function FIND-COMMAND Function FIND-STYLE Function FIND-VARIABLE Function FIRST-LINE-P Function FORWARD CHARACTER Command FORWARD KILL RING Command FORWARD PAGE Command FORWARD SEARCH Command FORWARD WORD Command FORWARD-WORD-COMMAND Function GENERAL PROMPTING Buffer GET-BOUND-COMMAND-FUNCTION Function GET-POINTER-STATE Function GET-STRING-TABLE-VALUE Function GROW WINDOW Command HELP Buffer HELP Command HELP ON EDITOR ERROR Command HELP TEXT Editor Variable HIGHLIGHT-REGION-P Function ILLEGAL OPERATION Command INDENT LISP LINE Command INDENT LISP REGION Command INDENT OUTERMOST FORM Command INFORMATION-AREA-HEIGHT Function * INFORMATION-AREA-OUTPUT-STREAM * Variable INITIALIZE-EDITOR Function INSERT BUFFER Command INSERT-CHARACTER Function INSERT CLOSE PAREN AND MATCH Command INSERT FILE Command INSERT-FILE-AT-MARK Function INSERT-REGION Function INSERT-STRING Function INVOKE-HOOK Function KILL ENCLOSING LIST Command KILL LIST Command KILL NEXT FORM Command KILL PARAGRAPH Command KILL PREVIOUS FORM Command KILL REGION Command KILL REST OF LIST Command * LAST-CHARACTER-TYPED * Variable LAST-LINE-P Function LAST SEARCH DIRECTION Editor Variable LAST SEARCH PATTERN Editor Variable LAST SEARCH STRING Editor Variable LINE-BUFFER Function LINE-CHARACTER Function LINE-END Function LINE-LENGTH Function LINE-NEXT Function LINE-OFFSET Function LINE-PREVIOUS Function LINE-START Function LINE-STRING Function LINE-TO-REGION Function LINE TO TOP OF WINDOW Command LINEP Function LINES-RELATED-P Function LINE/= Function LINE< Function LINE<= Function LINE= Function LINE> Function LINE>= Function LISP COMMENT COLUMN Editor Variable LISP EVALUATION RESULT Editor Variable LISP SYNTAX Attribute LIST BUFFERS Command LIST KEY BINDINGS Command LOCATE-ATTRIBUTE Function LOCATE-PATTERN Function MAJOR STYLE ACTIVATION HOOK Editor Variable MAKE-BUFFER Function MAKE-COMMAND Function MAKE-EDITOR-STREAM-FROM-REGION Function MAKE-EDITOR-STREAM-TO-MARK Function MAKE-EMPTY-REGION Function MAKE-HIGHLIGHT-REGION Function MAKE-MARK Function MAKE-REGION Function MAKE-RING Function MAKE-SEARCH-PATTERN Function MAKE-STRING-TABLE Function MAKE-STYLE Macro MAKE-WINDOW Function MAP-BINDINGS Function MAP-BUFFERS Function MAP-STRINGS Function MARK-CHARPOS Function MARK-COLUMN Function MARK-LINE Function MARK-TYPE Function MARK-VISIBLE-P Function MARK-WINDOW-POSITION Function MARKP Function MARK/= Function MARK< Function MARK<= Function MARK= Function MARK> Function MARK>= Function MAYBE RESET SELECT AT POINTER Command MINOR STYLE ACTIVATION HOOK Editor Variable MOVE-MARK Function MOVE-MARK-AFTER Function MOVE-MARK-BEFORE Function MOVE-MARK-TO-POSITION Function MOVE POINT AND SELECT REGION Command MOVE POINT TO POINTER Command MOVE TO LISP COMMENT Command MOVE-WINDOW Function NEW LINE Command NEW LISP LINE Command NEXT-CHARACTER Function NEXT FORM Command NEXT LINE Command NEXT-LISP-FORM Function NEXT PARAGRAPH Command NEXT SCREEN Command NEXT WINDOW Command NEXT-WINDOW Function OPEN LINE Command PAGE DELIMITER Attribute PAGE NEXT WINDOW Command PAGE-OFFSET Function PAGE PREVIOUS WINDOW Command PAUSE EDITOR Command POINTER-STATE-ACTION Function POINTER-STATE-BUTTONS Function POINTER-STATE-P Function POINTER-STATE-TEXT-POSITION Function POINTER-STATE-WINDOW-POSITION Function POSITION-WINDOW-TO-MARK Function PREFIX-ARGUMENT Function PREVIOUS-CHARACTER Function * PREVIOUS-COMMAND-FUNCTION * Variable PREVIOUS FORM Command PREVIOUS LINE Command PREVIOUS-LISP-FORM Function PREVIOUS PARAGRAPH Command PREVIOUS SCREEN Command PREVIOUS WINDOW Command PRINT REPRESENTATION Attribute PROMPT ALTERNATIVES Editor Variable PROMPT ALTERNATIVES ARGUMENTS Editor Variable PROMPT COMPLETE STRING Command PROMPT COMPLETION Editor Variable PROMPT COMPLETION ARGUMENTS Editor Variable PROMPT DEFAULT Editor Variable PROMPT ERROR MESSAGE Editor Variable PROMPT ERROR MESSAGE ARGUMENTS Editor Variable PROMPT-FOR-INPUT Function PROMPT HELP Command PROMPT HELP Editor Variable PROMPT HELP ARGUMENTS Editor Variable PROMPT HELP CALLED Editor Variable PROMPT READ AND VALIDATE Command PROMPT RENDITION COMPLEMENT Editor Variable PROMPT RENDITION SET Editor Variable PROMPT REQUIRED Editor Variable PROMPT SCROLL HELP WINDOW Command PROMPT SHOW ALTERNATIVES Command PROMPT START Editor Variable PROMPT VALIDATION Editor Variable PUSH-WINDOW Function QUERY SEARCH REPLACE Command QUOTED INSERT Command READ FILE Command REDISPLAY SCREEN Command REDISPLAY-SCREEN Function REGION-END Function REGION-READ-POINT Function REGION-START Function REGION-TO-STRING Function REGIONP Function REMOVE CURRENT WINDOW Command REMOVE-HIGHLIGHT-REGION Function REMOVE OTHER WINDOWS Command REMOVE-STRING-TABLE-ENTRY Function REMOVE-WINDOW Function REPLACE-PATTERN Function RETURN-FROM-EDITOR Macro REVERSE-INVOKE-HOOK Function RING-LENGTH Function RING-POP Function RING-PUSH Function RING-REF Function RING-ROTATE Function RINGP Function SAME-LINE-P Function SCREEN-HEIGHT Function SCREEN MODIFICATION HOOK Editor Variable SCREEN-WIDTH Function SCROLL-WINDOW Function SCROLL WINDOW DOWN Command SCROLL WINDOW UP Command SECONDARY SELECT REGION Command SELECT BUFFER Command SELECT ENCLOSING FORM AT POINTER Command SELECT OUTERMOST FORM Command SELECT REGION RENDITION COMPLEMENT Editor Variable SELECT REGION RENDITION SET Editor Variable SELF INSERT Command SET DECWINDOWS POINTER SYNTAX Command SET SCREEN HEIGHT Command SET SCREEN WIDTH Command SET SELECT MARK Command SET UIS POINTER SYNTAX Command SHOW-MARK Function SHOW TIME Command SHOW-WINDOW Function SHRINK WINDOW Command SIMPLE-PROMPT-FOR-INPUT Function SPLIT WINDOW Command START KEYBOARD MACRO Command START NAMED KEYBOARD MACRO Command START-OF-LINE-P Function STRING-TABLE-P Function STRING-TO-REGION Function STYLE-NAME Function STYLE-VARIABLES Function STYLEP Function SUPPLY EMACS PREFIX Command SUPPLY PREFIX ARGUMENT Command SWITCH WINDOW HOOK Editor Variable TARGET COLUMN Editor Variable TEXT OVERSTRIKE MODE Editor Variable TRANSPOSE PREVIOUS CHARACTERS Command TRANSPOSE PREVIOUS WORDS Command UNBIND-ATTRIBUTE Function UNBIND-COMMAND Function UNBIND-POINTER-COMMAND Function UNBIND-VARIABLE Function UNDO PREVIOUS YANK Command UNSET SELECT MARK Command UPCASE REGION Command UPCASE WORD Command UPDATE-DISPLAY Function UPDATE-WINDOW-LABEL Function VARIABLE-BOUNDP Function VARIABLE-FBOUNDP Function VARIABLE-FUNCTION Function VARIABLE-NAME Function VARIABLE-VALUE Function VAX LISP Style VIEW FILE Command VISIBLE-WINDOWS Function WHAT CURSOR POSITION Command WHITESPACE Attribute WHITESPACE-AFTER-P Function WHITESPACE-BEFORE-P Function WHITESPACE-BETWEEN-P Function WHITESPACE-LINE-P Function WINDOW-BUFFER Function WINDOW BUFFER HOOK Editor Variable WINDOW CREATION HOOK Editor Variable WINDOW-CREATION-TIME Function WINDOW DELETION HOOK Editor Variable WINDOW-DISPLAY-COLUMN Function WINDOW-DISPLAY-END Function WINDOW-DISPLAY-ROW Function WINDOW-DISPLAY-START Function WINDOW-HEIGHT Function WINDOW-LABEL Function WINDOW-LABEL-EDGE Function WINDOW-LABEL-OFFSET Function WINDOW-LABEL-RENDITION Function WINDOW-LINES-WRAP-P Function WINDOW MODIFICATION HOOK Editor Variable WINDOW-POINT Function WINDOW-RENDITION Function WINDOW-TRUNCATE-CHAR Function WINDOW-TYPE Function WINDOW-WIDTH Function WINDOW-WRAP-CHAR Function WINDOWP Function WITH-INPUT-FROM-REGION Macro WITH-MARK Macro WITH-OUTPUT-TO-MARK Macro WITH-SCREEN-UPDATE Macro WORD DELIMITER Attribute WORD-OFFSET Function WRITE CURRENT BUFFER Command WRITE-FILE-FROM-REGION Function WRITE MODIFIED BUFFERS Command WRITE NAMED FILE Command YANK Command YANK AT POINTER Command YANK PREVIOUS Command YANK REPLACE PREVIOUS Command Appendixes A Editor Objects by Category A.1 Attributes A.2 Attributes Provided with VAX LISP A.3 Buffers A.4 Buffers Provided with VAX LISP A.5 Commands A.6 Commands Provided with VAX LISP A.7 Display A.8 Editor Variables A.9 Editor Variables Provided with VAX LISP A.10 Error Signaling and Debugging A.11 Files A.12 Help A.13 Hooks A.14 Hook Variables Provided with VAX LISP A.15 Invoking and Exiting the Editor A.16 Kill Ring A.17 Lines A.18 LISP Syntax A.19 Marks A.20 Miscellaneous A.21 Pointing Device A.22 Prompting and Terminal Input A.23 Regions A.24 Rings A.25 Searching A.26 String Tables A.27 String Tables Provided with VAX LISP A.28 Styles A.29 Styles Provided with VAX LISP A.30 Style Bindings, "EDT Emulation" Style A.31 Style Bindings, "EMACS" Style A.32 Style Bindings, "VAX LISP" Style A.33 Text Operations A.34 Windows B Editor Commands and Bindings C Bound Keys and Key Sequences D Function Keys and Keypad Keys FIGURES 4-1 Before Moving the Mark 4-2 Moving a Mark Forward 4-3 Moving a Mark Backward 5-1 Display Area Coordinates 5-2 Altered Display Area Dimensions 5-3 A Window Display Position Concepts-1Hierarchy of Named Objects Concepts-2Before Deleting Region Concepts-3After Deleting Region TABLES Objects-1 LISP Syntax Attribute Values B-1 Editor Commands and Key Bindings C-1 Editor Key Bindings D-1 Characters Generated by Keys