Harmonia
 Harmonia-Mode User's Guide Printer-Friendly Version  

XEmacs Keybindings

This page lists all user-level commands provided by Harmonia-Mode. It is divided into the following subsections:

Except for the I-Search filters, any of the commands listed below can be invoked with their keybinding or with M-x [command]. For example, typing M-x harmonia-mode will invoke the harmonia-mode command.

The I-Search filters are applied by first entering I-Search mode (with C-s or C-r), and then by entering the particular filter's I-Search command, specified below.


All Languages

Command Keybinding Description
harmonia-mode Switches to harmonia-<language>-mode on the current buffer, auto-detecting the language
harmonia-structure-browse-larger C-M-left
C-M-u
Structure-browses to the structure enclosing the current structure, or initiates structure-browsing at an enclosing structure
harmonia-structure-browse-smaller C-M-right
C-M-d
Structure-browses to the current structure's first sub-structure, or initiates structure-browsing at an enclosing structure
harmonia-structure-browse-next C-M-down
C-M-n
Structure-browses to the next structure of the same size as the current structure, or initiates structure-browsing at a following structure
harmonia-structure-browse-previous C-M-up
C-M-p
Structure-browses to the preceding structure of the same size as the current structure, or initiates structure-browsing at a preceding structure
harmonia-refresh C-c C-r Redraws the text of the XEmacs buffer from Harmonia's internal data structures
harmonia-force-analyses C-c C-a Forces all analyses to be run immediately
harmonia-grow-region-to-branch M-h Enlarges the current XEmacs region (selection) to select the smallest structure enclosing the region, or the current cursor location if the region is inactive.
harmonia-undo C-x u
C-_
C-/
<undo>
Reverts the buffer to a previous version in the same way as XEmacs' undo, but uses Harmonia's history mechanism rather than XEmacs' (Note: also bound to C-_, C-/, and <undo>)
harmonia-goto-next-error C-} Moves the cursor to the first syntactic or semantic error following its current location
harmonia-goto-previous-error C-{ Moves the cursor to the first syntactic or semantic error preceding its current location
harmonia-save-log Saves a log of all edits into the file <filename>.hlog
harmonia-report-bug Enables user to send a bug report to harmonia-bugs@sequoia.cs.berkeley.edu

Java

Command Keybinding Description
harmonia-java-mode Switches to harmonia-java-mode in the current buffer

Harmonia-Java-Mode I-Search

Command Filters To Description
C-s M-t Class and Interface names Filter the current interactive search to class or interface names
C-s M-m Method and Constructor names Filter the current interactive search to method or constructor names
C-s M-v Variable and Field names Filter the current interactive search to variables and field names
C-s M-i Identifier names Filter the current interactive search to identifiers
C-s M-w Words Filter the current interactive search to tokens
C-s M-c Comments Filter the current interactive search to comments
C-s M-s Strings Filter the current interactive search to strings

Titanium

Command Keybinding Description
harmonia-titanium-mode Switches to harmonia-titanium-mode in the current buffer

Harmonia-Titanium-Mode I-Search

Command Filters To Description
C-s M-t Class, Interface and Immutable names Filter the current interactive search to class, interface or immutable names
C-s M-m Method and Constructor names Filter the current interactive search to method or constructor names
C-s M-v Variable and Field names Filter the current interactive search to variables and field names
C-s M-i Identifier names Filter the current interactive search to identifiers
C-s M-w Words Filter the current interactive search to tokens
C-s M-c Comments Filter the current interactive search to comments
C-s M-s Strings Filter the current interactive search to strings

C

Command Keybinding Description
harmonia-c-mode Switches to harmonia-c-mode in the current buffer

Harmonia-C-Mode I-Search

Command Filters To Description
C-s M-m Function names Filter the current interactive search to function names
C-s M-n Symbol definition names Filter the current interactive search to symbol definitions
C-s M-t Struct, Union, and Enum names Filter the current interactive search to structure, union, and enumeration names
C-s M-w Words Filter the current interactive search to tokens
C-s M-c Comments Filter the current interactive search to comments
C-s M-s Strings Filter the current interactive search to strings

Scheme

Command Keybinding Description
harmonia-scheme-mode Switches to harmonia-scheme-mode in the current buffer

Cool

Command Keybinding Description
harmonia-cool-mode Switches to harmonia-cool-mode in the current buffer

Harmonia-Cool-Mode I-Search

Command Filters To Description
C-s M-t Class names Filter the current interactive search to class names
C-s M-m Method names Filter the current interactive search to method names
C-s M-v Variable names Filter the current interactive search to variable names
C-s M-i Identifiers Filter the current interactive search to identifiers
C-s M-w Words Filter the current interactive search to tokens
C-s M-c Comments Filter the current interactive search to comments
C-s M-s Strings Filter the current interactive search to strings

Next Section: Customizable Settings