Previous: DWIM, Up: Further commands

4.5 Describing the selection

The command versor-describe-selection, normally bound to C-x ? (or C-? if you are using M- rather than C-x for selecting dimensions) will show a description of the current selection, if it knows how to for the current mode.

Here are some sample descriptions:

The selection is the function-name part of a function call.
The selection is the condition of an if-then or an if-then-else.
if-then-body; 2 parts
The selection is two statements, which make up the whole body of an if statement that has no else clause.
let-bindings; 3 bindings
The selection is the entire list of variables in a form that allows variable declarations (such as let in Lisp).
The selection is a whole compound statement of the kind that simply sequences the statements within it.
The selection is just a symbol.
The selection is the declaration of a new local variable.

These descriptions are meant to be as closely equivalent as possible between all supported programming languages. (They are used by Languide to decide whether various high-level editing operations are appropriate for a particular selection.)

If the variable versor-describe-selection is non-nil, this is done automatically at the end of most Versor commands; See Verbose. Logo