The character set used by the buffer must be a 7 or 8 bit character set, but the keyboard and display can use multibyte encodings such as the TeX encoding of European letters. This document explains the facilities provided by the remap package. The primitive facilities for programmers are explained first, and more advanced end-user oriented facilities at the end. The basic concept is a map. A map can be implemented as either a vector, a function, or an alist.
Some operations are only available on certain map types.
A vector defines a map from the index domain into the entries in the vector. Using a function is practical for large maps, that can be partly computed. An alist defines a map from the keys in the alist to the values. Alists are practical for sparse maps. First some functions to lookup map entries.