# Buffer Manipulation Commands

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## BUFFER MANIPULATION COMMANDS

A buffer is where MicroEmacs stores text. Normally text is read from a file and is visible in an editing window. The name, associated file and operating modes of the buffer, are generally shown in the mode line.

Commands that deal with buffers include:

## Commands

buffer-info(2) (C-x =) Status information on current buffer position
buffer-major-mode(3) Change the operating mode of a buffer
change-buffer-name(2) (esc C-n) Change name of current buffer
change-file-name(2) (C-x n) Change the file name of the current buffer
delete-buffer(2) (C-x k) Delete a buffer
delete-some-buffers(2) Delete buffers with query
execute-buffer(2) Execute script lines from a buffer
execute-line(2) Execute a typed in script line
find-buffer(2) (C-x b) Switch to a named buffer
insert-file-name(2) (C-x C-y) Insert filename into current buffer
list-buffers(2) (C-x C-b) List all buffers and show their status
narrow-buffer(2) Hide buffer lines
next-buffer(2) (C-x x) Switch to the next buffer
save-all(3) Save all modified files (with query)
save-some-buffers(2) Save contents of all changed buffers to file (with query)

## Variables

$MEBACKUPPATH(5) Backup file location
$MEBACKUPSUB(5) Backup file name modifier
$buffer-backup(5) Buffer backup file name
$buffer-bname(5) Name of the current buffer
$buffer-fmod(5) Buffer file modes (or attributes)
$buffer-fname(5) Name of the current buffer's file name
$buffer-indent-width(5) Buffer indentation width in characters
$buffer-mask(5) Current buffer word class mask
$buffer-mode-line(5) Buffer mode line string
$buffer-names(5) Filtered buffer name list
$file-names(5) Filtered file name list
$global-fmod(5) Global file modes (or attributes)
$indent-width(5) Global indentation width in characters
$mode-chars(5) Mode characters
$mode-line(5) Mode line format
$mode-line-scheme(5) Mode line color scheme
$show-modes(5) Select buffer modes to display

(c) Copyright JASSPA 2009
Last Modified: 2009/10/12
Generated On: 2009/10/12

</HMTL>