Before learning how to write a function definition in Emacs Lisp, it is useful to spend a little time evaluating various expressions that have already been written. These expressions will be lists with the functions as their first (and often only) element. Since some of the functions associated with buffers are both simple and interesting, we will start with those. In this section, we will evaluate a few of these. In another section, we will study the code of several other buffer-related functions, to see how they were written.
|• How to Evaluate:||Typing editing commands or C-x C-e causes evaluation.|
|• Buffer Names:||Buffers and files are different.|
|• Getting Buffers:||Getting a buffer itself, not merely its name.|
|• Switching Buffers:||How to change to another buffer.|
|• Buffer Size & Locations:||Where point is located and the size of the buffer.|
|• Evaluation Exercise:|