没有合适的资源?快使用搜索试试~ 我知道了~
首页Programming in Emacs Lisp
Programming in Emacs Lisp

Most of the GNU Emacs text editor is written in the programming language called Emacs Lisp. The code written in this programming language is the software|the sets of instructions| that tell the computer what to do when you give it commands. Emacs is designed so that you can write new code in Emacs Lisp and easily install it as an extension to the editor. This is why Emacs is called the \extensible editor".
资源详情
资源评论
资源推荐

Programming in Emacs Lisp
An Introduction


Programming in Emacs Lisp
An Introduction
Edition 1.05, 21 October 1997
by Robert J. Chassell

Copyright
c
1990, ’91, ’92, ’93, ’94, ’95, ’97 Free Software Foundation, Inc.
Published by the Free Software Foundation, Inc.
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
ISBN-1882114-41-8
Permission is granted to make and distribute verbatim copies of this manual provided the copy-
right notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the condi-
tions for verbatim copying, provided that the entire resulting derived work is distributed under
the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language,
under the above conditions for modified versions, except that this permission notice may be
stated in a translation approved by the Free Software Foundation.

i
Short Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1 List Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Practicing Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 How To Write Function Definitions . . . . . . . . . . . . . . . . . . . . . 21
4 A Few Buffer–Related Functions . . . . . . . . . . . . . . . . . . . . . . . 37
5 A Few More Complex Functions . . . . . . . . . . . . . . . . . . . . . . . 45
6 Narrowing and Widening . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
7 car, cdr, cons: Fundamental Functions . . . . . . . . . . . . . . . . 59
8 Cutting and Storing Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9 How Lists are Implemented . . . . . . . . . . . . . . . . . . . . . . . . . . 81
10 Yanking Text Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
11 Loops and Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12 Regular Expression Searches . . . . . . . . . . . . . . . . . . . . . . . . . 101
13 Counting: Repetition and Regexps . . . . . . . . . . . . . . . . . . . . 115
14 Counting Words in a defun. . . . . . . . . . . . . . . . . . . . . . . . . 125
15 Readying a Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
16 Your ‘.emacs’ File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
17 Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
18 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Appendix A The the-the Function . . . . . . . . . . . . . . . . . . . . . 169
Appendix B Handling the Kill Ring . . . . . . . . . . . . . . . . . . . . . . 171
Appendix C A Graph with Labelled Axes . . . . . . . . . . . . . . . . . . 181
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
剩余229页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论1