(backward-balanced-paren-line expression)

Moves dot backwards until either the beginning of the buffer is reached, or an unmatched open parenthesis is encountered, or the beginning of a line is encountered at parenthesis level zero, that is, a line without an unmatched ")" existing between that position and the starting position of dot).

The definition of a parenthesis is derived from the syntax table for the current buffer.

expression is the number of parentheses to skip before applying the match.

Default binding: none

See also:

(backward-character repeat-count) ^B

Moves dot backwards repeat-count characters. If repeat-count is omitted, 1 is assumed. End-of-line and tab each count as one character. You cannot move back further than the beginning of the buffer.

You can also use prefix-argument to specify how far to move back.

Examples: two ways to move backwards 22 characters

(backward-character 22)

(provide-prefix-argument 22 (backward-character))

See also:

(backward-paragraph)

Loaded from the paragraph.ml package.

Moves to the beginning of the current or previous paragraph. Blank lines, Scribe and DSR/RNO command lines which separate paragraphs are not considered parts of paragraphs.

Paragraphs are defined by the variable paragraph-delimiters.

Default binding: ESC-)

See also:

(backward-paren expression)

Moves dot backward until an unmatched open parenthesis or the beginning of the buffer is found. This can be used to quickly skip over Lisp S-expressions.

The definition of a parenthesis is derived from the syntax table for the current buffer.

expression is the number of parentheses to skip before applying the match.

See also:

(backward-word repeat-count) ESC-f

Moves dot backward to the start of the prefix-argument times repeat-count word. If repeat-count is omitted, 1 is assumed. If dot is not currently in the middle of a word, the command skips all intervening punctuation. It then skips over the words, leaving dot positioned after the last character of the word.

A word is defined by the current syntax table.

See also:

(backward-sentence)

Loaded from the sentence.ml package

Moves dot to the beginning of the current sentence, or if dot is not in a sentence, moves dot to the beginning of the previous sentence.

A sentence is defined by the regular expression search string contained in the variable sentence-delimiters.

Default binding: ESC-a

See also:

(baud-rate)

A function that returns what Emacs thinks is the baud rate of the communication line to the terminal. The baud rate is (usually) 10 times the number of characters transmitted per second.

baud-rate does not return anything reasonable under GUI interfaces.

Default binding: none

(beginning-of-file)

Moves dot to just before the first character of the current buffer.

Default binding: ESC-<

See also:

(beginning-of-line)

Moves dot to the beginning of the line in the current buffer that contains dot; that is, to just after the preceding end-of-line or the beginning of the buffer.

Default binding: ^A

See also:

(beginning-of-window)

Moves dot to just in front of the first character of the first line displayed in the current window.

Default binding: ESC-,

See also:

(bind-to-key "command-name" "key-sequence")

Bind the extended command command-name to a given key sequence. All future hits on the key sequence will cause the extended command to be called.

For example, if you want ESC-= to behave the way ESC-X print does, then typing ESC-x bind-to-key print ESC-= will do it. The binding will be in effect in all buffer except those with an identical local binding. If a key sequence specifies a keymap that does not exist, then the keymap is automatically generated.

The <keys> parameter can use the symbolic key names that Emacs supports:

See the User Guide for details of the symbolic keynames

Default binding: none

See also:

(bobp)

An MLisp function which returns 1 if dot is at the beginning of the buffer.

Default binding: none

See also:

(bolp)

An MLisp function which is 1 if dot is at the beginning of a line.

Default binding: none

See also:

(bounds-of-array)

This command return an output-array describing the bounds of the input-array that is its argument. The output-array is a two dimensional array. Its first index ranges from 1 to 2 and the second from 0 to the number of dimension of the input-array.

Element 1,0 in the output-array is the number of dimension of the input-array. Element 2,0 is the total size of the array.

Elements 1,1 to 1,n are the lower bounds of the input-array, where n is the number of dimensions. Elements 2,1 to 2,n are the high bounds of the input-array.

Example:

The following MLisp code inserts into the current buffer an analysis of the input-array.

(setq output-array (bounds-of-array input-array))
(setq dims (fetch-array output-array 1 0))
(setq i 1)
(insert-string (concat "Array has " dims " dimensions\n"))
(insert-string "low\thigh\n")
(while (> i dims)
    (insert-string
        (concat
            (fetch-array output-array 1 i) "\t"
            (fetch-array output-array 2 i) "\n"
        )
    )
)

Default binding: none

See also:

(breakpoint "function-name" value)

Sets the breakpoint flag on the specified function. If the flag is set non-zero for a particular function, and the variable breakpoint-hook contains the name of a function, just before the function is executed, the breakpoint function will be invoked.

Default binding: none

See also:

(buffer-size)

An MLisp function that returns the number of characters in the current buffer.

Default binding: none