Next: Documentation, Previous: Drag and Drop, Up: Top [Contents][Index]
A mode is a set of definitions that customize SXEmacs and can be turned on and off while you edit. There are two varieties of modes: major modes, which are mutually exclusive and used for editing particular kinds of text, and minor modes, which provide features that users can enable individually.
This chapter describes how to write both major and minor modes, how to indicate them in the modeline, and how they run hooks supplied by the user. For related topics such as keymaps and syntax tables, see Keymaps, and Syntax Tables.
• Major Modes: | Defining major modes. | |
• Minor Modes: | Defining minor modes. | |
• Modeline Format: | Customizing the text that appears in the modeline. | |
• Hooks: | How to use hooks; how to write code that provides hooks. |