elisp.texi 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655
  1. \input texinfo @c -*-texinfo-*-
  2. @c %**start of header
  3. @setfilename ../../info/elisp.info
  4. @ifset VOL1
  5. @set volflag
  6. @set voltitle Volume 1
  7. @end ifset
  8. @ifset VOL2
  9. @set volflag
  10. @set voltitle Volume 2
  11. @end ifset
  12. @ifset volflag
  13. @settitle GNU Emacs Lisp Reference Manual: @value{voltitle}
  14. @end ifset
  15. @ifclear volflag
  16. @settitle GNU Emacs Lisp Reference Manual
  17. @end ifclear
  18. @include docstyle.texi
  19. @c %**end of header
  20. @c See two-volume-cross-refs.txt.
  21. @tex
  22. @ifset VOL1
  23. \message{Formatting for two volume edition...Volume 1...}
  24. %
  25. % Read special toc file, set up in two-volume.make.
  26. \gdef\tocreadfilename{elisp1-toc-ready.toc}
  27. %
  28. % Don't make outlines, they're not needed and \readdatafile can't pay
  29. % attention to the special definition above.
  30. \global\let\pdfmakeoutlines=\relax
  31. %
  32. % Start volume 1 chapter numbering at 1; this must be listed as chapno0.
  33. \global\chapno=0
  34. @end ifset
  35. @ifset VOL2
  36. \message{Formatting for two volume edition...Volume 2...}
  37. %
  38. % Read special toc file, set up in two-volume.make.
  39. \gdef\tocreadfilename{elisp2-toc-ready.toc}
  40. %
  41. % Don't make outlines, they're not needed and \readdatafile can't pay
  42. % attention to the special definition above.
  43. \global\let\pdfmakeoutlines=\relax
  44. %
  45. % Start volume 2 chapter numbering at 27; this must be listed as chapno26
  46. \global\chapno=26
  47. @end ifset
  48. @end tex
  49. @c Version of the manual and of Emacs.
  50. @c (See comments for EDITION in emacs.texi)
  51. @set VERSION 3.1
  52. @include emacsver.texi
  53. @set DATE October 2014
  54. @c in general, keep the following line commented out, unless doing a
  55. @c copy of this manual that will be published. The manual should go
  56. @c onto the distribution in the full, 8.5 x 11" size.
  57. @c @set smallbook
  58. @ifset volflag
  59. @smallbook
  60. @end ifset
  61. @ifset smallbook
  62. @smallbook
  63. @end ifset
  64. @c per rms and peterb, use 10pt fonts for the main text, mostly to
  65. @c save on paper cost.
  66. @c Do this inside @tex for now, so current makeinfo does not complain.
  67. @tex
  68. @ifset smallbook
  69. @fonttextsize 10
  70. @end ifset
  71. \global\hbadness=6666 % don't worry about not-too-underfull boxes
  72. @end tex
  73. @c Combine indices.
  74. @synindex cp fn
  75. @syncodeindex vr fn
  76. @syncodeindex ky fn
  77. @syncodeindex pg fn
  78. @c We use the "type index" to index new functions and variables.
  79. @c @syncodeindex tp fn
  80. @copying
  81. @iftex
  82. This is edition @value{VERSION} of the @cite{GNU Emacs Lisp Reference Manual},@*
  83. @end iftex
  84. @ifnottex
  85. This is the @cite{GNU Emacs Lisp Reference Manual}
  86. @end ifnottex
  87. corresponding to Emacs version @value{EMACSVER}.
  88. Copyright @copyright{} 1990--1996, 1998--2016 Free Software Foundation, Inc.
  89. @quotation
  90. Permission is granted to copy, distribute and/or modify this document
  91. under the terms of the GNU Free Documentation License, Version 1.3 or
  92. any later version published by the Free Software Foundation; with the
  93. Invariant Sections being ``GNU General Public License,'' with the
  94. Front-Cover Texts being ``A GNU Manual,'' and with the Back-Cover
  95. Texts as in (a) below. A copy of the license is included in the
  96. section entitled ``GNU Free Documentation License.''
  97. (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
  98. modify this GNU manual. Buying copies from the FSF supports it in
  99. developing GNU and promoting software freedom.''
  100. @end quotation
  101. @end copying
  102. @dircategory Emacs lisp
  103. @direntry
  104. * Elisp: (elisp). The Emacs Lisp Reference Manual.
  105. @end direntry
  106. @titlepage
  107. @title GNU Emacs Lisp Reference Manual
  108. @ifset volflag
  109. @subtitle @value{voltitle}
  110. @end ifset
  111. @subtitle For Emacs Version @value{EMACSVER}
  112. @subtitle Revision @value{VERSION}, @value{DATE}
  113. @author by Bil Lewis, Dan LaLiberte, Richard Stallman,
  114. @author the GNU Manual Group, et al.
  115. @page
  116. @vskip 0pt plus 1filll
  117. @insertcopying
  118. @sp 2
  119. Published by the Free Software Foundation @*
  120. 51 Franklin St, Fifth Floor @*
  121. Boston, MA 02110-1301 @*
  122. USA @*
  123. ISBN 1-882114-74-4
  124. @sp 2
  125. Cover art by Etienne Suvasa.
  126. @end titlepage
  127. @c Print the tables of contents
  128. @summarycontents
  129. @contents
  130. @ifnottex
  131. @node Top
  132. @top Emacs Lisp
  133. @ifset WWW_GNU_ORG
  134. @html
  135. <p>The homepage for GNU Emacs is at
  136. <a href="/software/emacs/">http://www.gnu.org/software/emacs/</a>.<br>
  137. For information on using Emacs, refer to the
  138. <a href="/software/emacs/manual/emacs.html">Emacs Manual</a>.<br>
  139. To view this manual in other formats, click
  140. <a href="/software/emacs/manual/elisp.html">here</a>.
  141. @end html
  142. @end ifset
  143. @insertcopying
  144. @end ifnottex
  145. @menu
  146. * Introduction:: Introduction and conventions used.
  147. * Lisp Data Types:: Data types of objects in Emacs Lisp.
  148. * Numbers:: Numbers and arithmetic functions.
  149. * Strings and Characters:: Strings, and functions that work on them.
  150. * Lists:: Lists, cons cells, and related functions.
  151. * Sequences Arrays Vectors:: Lists, strings and vectors are called sequences.
  152. Certain functions act on any kind of sequence.
  153. The description of vectors is here as well.
  154. * Hash Tables:: Very fast lookup-tables.
  155. * Symbols:: Symbols represent names, uniquely.
  156. * Evaluation:: How Lisp expressions are evaluated.
  157. * Control Structures:: Conditionals, loops, nonlocal exits.
  158. * Variables:: Using symbols in programs to stand for values.
  159. * Functions:: A function is a Lisp program
  160. that can be invoked from other functions.
  161. * Macros:: Macros are a way to extend the Lisp language.
  162. * Customization:: Making variables and faces customizable.
  163. * Loading:: Reading files of Lisp code into Lisp.
  164. * Byte Compilation:: Compilation makes programs run faster.
  165. * Debugging:: Tools and tips for debugging Lisp programs.
  166. * Read and Print:: Converting Lisp objects to text and back.
  167. * Minibuffers:: Using the minibuffer to read input.
  168. * Command Loop:: How the editor command loop works,
  169. and how you can call its subroutines.
  170. * Keymaps:: Defining the bindings from keys to commands.
  171. * Modes:: Defining major and minor modes.
  172. * Documentation:: Writing and using documentation strings.
  173. * Files:: Accessing files.
  174. * Backups and Auto-Saving:: Controlling how backups and auto-save
  175. files are made.
  176. * Buffers:: Creating and using buffer objects.
  177. * Windows:: Manipulating windows and displaying buffers.
  178. * Frames:: Making multiple system-level windows.
  179. * Positions:: Buffer positions and motion functions.
  180. * Markers:: Markers represent positions and update
  181. automatically when the text is changed.
  182. * Text:: Examining and changing text in buffers.
  183. * Non-ASCII Characters:: Non-ASCII text in buffers and strings.
  184. * Searching and Matching:: Searching buffers for strings or regexps.
  185. * Syntax Tables:: The syntax table controls word and list parsing.
  186. * Abbrevs:: How Abbrev mode works, and its data structures.
  187. * Processes:: Running and communicating with subprocesses.
  188. * Display:: Features for controlling the screen display.
  189. * System Interface:: Getting the user id, system type, environment
  190. variables, and other such things.
  191. * Packaging:: Preparing Lisp code for distribution.
  192. Appendices
  193. * Antinews:: Info for users downgrading to Emacs 23.
  194. * GNU Free Documentation License:: The license for this documentation.
  195. * GPL:: Conditions for copying and changing GNU Emacs.
  196. * Tips:: Advice and coding conventions for Emacs Lisp.
  197. * GNU Emacs Internals:: Building and dumping Emacs;
  198. internal data structures.
  199. * Standard Errors:: List of some standard error symbols.
  200. * Standard Keymaps:: List of some standard keymaps.
  201. * Standard Hooks:: List of some standard hook variables.
  202. * Index:: Index including concepts, functions, variables,
  203. and other terms.
  204. @ignore
  205. * New Symbols:: New functions and variables in Emacs @value{EMACSVER}.
  206. @end ignore
  207. @c Do NOT modify the following 3 lines! They must have this form to
  208. @c be correctly identified by 'texinfo-multiple-files-update'. In
  209. @c particular, the detailed menu header line MUST be identical to the
  210. @c value of 'texinfo-master-menu-header'. See texnfo-upd.el.
  211. @detailmenu
  212. --- The Detailed Node Listing ---
  213. ---------------------------------
  214. Here are other nodes that are subnodes of those already listed,
  215. mentioned here so you can get to them in one step:
  216. Introduction
  217. * Caveats:: Flaws and a request for help.
  218. * Lisp History:: Emacs Lisp is descended from Maclisp.
  219. * Conventions:: How the manual is formatted.
  220. * Version Info:: Which Emacs version is running?
  221. * Acknowledgments:: The authors, editors, and sponsors of this manual.
  222. Conventions
  223. * Some Terms:: Explanation of terms we use in this manual.
  224. * nil and t:: How the symbols @code{nil} and @code{t} are used.
  225. * Evaluation Notation:: The format we use for examples of evaluation.
  226. * Printing Notation:: The format we use when examples print text.
  227. * Error Messages:: The format we use for examples of errors.
  228. * Buffer Text Notation:: The format we use for buffer contents in examples.
  229. * Format of Descriptions:: Notation for describing functions, variables, etc.
  230. Format of Descriptions
  231. * A Sample Function Description:: A description of an imaginary
  232. function, @code{foo}.
  233. * A Sample Variable Description:: A description of an imaginary
  234. variable, @code{electric-future-map}.
  235. Lisp Data Types
  236. * Printed Representation:: How Lisp objects are represented as text.
  237. * Comments:: Comments and their formatting conventions.
  238. * Programming Types:: Types found in all Lisp systems.
  239. * Editing Types:: Types specific to Emacs.
  240. * Circular Objects:: Read syntax for circular structure.
  241. * Type Predicates:: Tests related to types.
  242. * Equality Predicates:: Tests of equality between any two objects.
  243. Programming Types
  244. * Integer Type:: Numbers without fractional parts.
  245. * Floating-Point Type:: Numbers with fractional parts and with a large range.
  246. * Character Type:: The representation of letters, numbers and
  247. control characters.
  248. * Symbol Type:: A multi-use object that refers to a function,
  249. variable, or property list, and has a unique identity.
  250. * Sequence Type:: Both lists and arrays are classified as sequences.
  251. * Cons Cell Type:: Cons cells, and lists (which are made from cons cells).
  252. * Array Type:: Arrays include strings and vectors.
  253. * String Type:: An (efficient) array of characters.
  254. * Vector Type:: One-dimensional arrays.
  255. * Char-Table Type:: One-dimensional sparse arrays indexed by characters.
  256. * Bool-Vector Type:: One-dimensional arrays of @code{t} or @code{nil}.
  257. * Hash Table Type:: Super-fast lookup tables.
  258. * Function Type:: A piece of executable code you can call from elsewhere.
  259. * Macro Type:: A method of expanding an expression into another
  260. expression, more fundamental but less pretty.
  261. * Primitive Function Type:: A function written in C, callable from Lisp.
  262. * Byte-Code Type:: A function written in Lisp, then compiled.
  263. * Autoload Type:: A type used for automatically loading seldom-used
  264. functions.
  265. * Finalizer Type:: Runs code when no longer reachable.
  266. Character Type
  267. * Basic Char Syntax:: Syntax for regular characters.
  268. * General Escape Syntax:: How to specify characters by their codes.
  269. * Ctl-Char Syntax:: Syntax for control characters.
  270. * Meta-Char Syntax:: Syntax for meta-characters.
  271. * Other Char Bits:: Syntax for hyper-, super-, and alt-characters.
  272. Cons Cell and List Types
  273. * Box Diagrams:: Drawing pictures of lists.
  274. * Dotted Pair Notation:: A general syntax for cons cells.
  275. * Association List Type:: A specially constructed list.
  276. String Type
  277. * Syntax for Strings:: How to specify Lisp strings.
  278. * Non-ASCII in Strings:: International characters in strings.
  279. * Nonprinting Characters:: Literal unprintable characters in strings.
  280. * Text Props and Strings:: Strings with text properties.
  281. Editing Types
  282. * Buffer Type:: The basic object of editing.
  283. * Marker Type:: A position in a buffer.
  284. * Window Type:: Buffers are displayed in windows.
  285. * Frame Type:: Windows subdivide frames.
  286. * Terminal Type:: A terminal device displays frames.
  287. * Window Configuration Type:: Recording the way a frame is subdivided.
  288. * Frame Configuration Type:: Recording the status of all frames.
  289. * Process Type:: A subprocess of Emacs running on the underlying OS.
  290. * Stream Type:: Receive or send characters.
  291. * Keymap Type:: What function a keystroke invokes.
  292. * Overlay Type:: How an overlay is represented.
  293. * Font Type:: Fonts for displaying text.
  294. Numbers
  295. * Integer Basics:: Representation and range of integers.
  296. * Float Basics:: Representation and range of floating point.
  297. * Predicates on Numbers:: Testing for numbers.
  298. * Comparison of Numbers:: Equality and inequality predicates.
  299. * Numeric Conversions:: Converting float to integer and vice versa.
  300. * Arithmetic Operations:: How to add, subtract, multiply and divide.
  301. * Rounding Operations:: Explicitly rounding floating-point numbers.
  302. * Bitwise Operations:: Logical and, or, not, shifting.
  303. * Math Functions:: Trig, exponential and logarithmic functions.
  304. * Random Numbers:: Obtaining random integers, predictable or not.
  305. Strings and Characters
  306. * String Basics:: Basic properties of strings and characters.
  307. * Predicates for Strings:: Testing whether an object is a string or char.
  308. * Creating Strings:: Functions to allocate new strings.
  309. * Modifying Strings:: Altering the contents of an existing string.
  310. * Text Comparison:: Comparing characters or strings.
  311. * String Conversion:: Converting to and from characters and strings.
  312. * Formatting Strings:: @code{format}: Emacs's analogue of @code{printf}.
  313. * Case Conversion:: Case conversion functions.
  314. * Case Tables:: Customizing case conversion.
  315. Lists
  316. * Cons Cells:: How lists are made out of cons cells.
  317. * List-related Predicates:: Is this object a list? Comparing two lists.
  318. * List Elements:: Extracting the pieces of a list.
  319. * Building Lists:: Creating list structure.
  320. * List Variables:: Modifying lists stored in variables.
  321. * Modifying Lists:: Storing new pieces into an existing list.
  322. * Sets And Lists:: A list can represent a finite mathematical set.
  323. * Association Lists:: A list can represent a finite relation or mapping.
  324. * Property Lists:: A list of paired elements.
  325. Modifying Existing List Structure
  326. * Setcar:: Replacing an element in a list.
  327. * Setcdr:: Replacing part of the list backbone.
  328. This can be used to remove or add elements.
  329. * Rearrangement:: Reordering the elements in a list; combining lists.
  330. Property Lists
  331. * Plists and Alists:: Comparison of the advantages of property
  332. lists and association lists.
  333. * Plist Access:: Accessing property lists stored elsewhere.
  334. Sequences, Arrays, and Vectors
  335. * Sequence Functions:: Functions that accept any kind of sequence.
  336. * Arrays:: Characteristics of arrays in Emacs Lisp.
  337. * Array Functions:: Functions specifically for arrays.
  338. * Vectors:: Special characteristics of Emacs Lisp vectors.
  339. * Vector Functions:: Functions specifically for vectors.
  340. * Char-Tables:: How to work with char-tables.
  341. * Bool-Vectors:: How to work with bool-vectors.
  342. * Rings:: Managing a fixed-size ring of objects.
  343. Hash Tables
  344. * Creating Hash:: Functions to create hash tables.
  345. * Hash Access:: Reading and writing the hash table contents.
  346. * Defining Hash:: Defining new comparison methods.
  347. * Other Hash:: Miscellaneous.
  348. Symbols
  349. * Symbol Components:: Symbols have names, values, function definitions
  350. and property lists.
  351. * Definitions:: A definition says how a symbol will be used.
  352. * Creating Symbols:: How symbols are kept unique.
  353. * Symbol Properties:: Each symbol has a property list
  354. for recording miscellaneous information.
  355. Symbol Properties
  356. * Symbol Plists:: Accessing symbol properties.
  357. * Standard Properties:: Standard meanings of symbol properties.
  358. Evaluation
  359. * Intro Eval:: Evaluation in the scheme of things.
  360. * Forms:: How various sorts of objects are evaluated.
  361. * Quoting:: Avoiding evaluation (to put constants in
  362. the program).
  363. * Backquote:: Easier construction of list structure.
  364. * Eval:: How to invoke the Lisp interpreter explicitly.
  365. Kinds of Forms
  366. * Self-Evaluating Forms:: Forms that evaluate to themselves.
  367. * Symbol Forms:: Symbols evaluate as variables.
  368. * Classifying Lists:: How to distinguish various sorts of list forms.
  369. * Function Indirection:: When a symbol appears as the car of a list,
  370. we find the real function via the symbol.
  371. * Function Forms:: Forms that call functions.
  372. * Macro Forms:: Forms that call macros.
  373. * Special Forms:: Special forms are idiosyncratic primitives,
  374. most of them extremely important.
  375. * Autoloading:: Functions set up to load files
  376. containing their real definitions.
  377. Control Structures
  378. * Sequencing:: Evaluation in textual order.
  379. * Conditionals:: @code{if}, @code{cond}, @code{when}, @code{unless}.
  380. * Combining Conditions:: @code{and}, @code{or}, @code{not}.
  381. * Iteration:: @code{while} loops.
  382. * Generators:: Generic sequences and coroutines.
  383. * Nonlocal Exits:: Jumping out of a sequence.
  384. Conditionals
  385. * Pattern matching case statement:: How to use @code{pcase}.
  386. Nonlocal Exits
  387. * Catch and Throw:: Nonlocal exits for the program's own purposes.
  388. * Examples of Catch:: Showing how such nonlocal exits can be written.
  389. * Errors:: How errors are signaled and handled.
  390. * Cleanups:: Arranging to run a cleanup form if an
  391. error happens.
  392. Errors
  393. * Signaling Errors:: How to report an error.
  394. * Processing of Errors:: What Emacs does when you report an error.
  395. * Handling Errors:: How you can trap errors and continue execution.
  396. * Error Symbols:: How errors are classified for trapping them.
  397. Variables
  398. * Global Variables:: Variable values that exist permanently, everywhere.
  399. * Constant Variables:: Variables that never change.
  400. * Local Variables:: Variable values that exist only temporarily.
  401. * Void Variables:: Symbols that lack values.
  402. * Defining Variables:: A definition says a symbol is used as a variable.
  403. * Tips for Defining:: Things you should think about when you
  404. define a variable.
  405. * Accessing Variables:: Examining values of variables whose names
  406. are known only at run time.
  407. * Setting Variables:: Storing new values in variables.
  408. * Variable Scoping:: How Lisp chooses among local and global values.
  409. * Buffer-Local Variables:: Variable values in effect only in one buffer.
  410. * File Local Variables:: Handling local variable lists in files.
  411. * Directory Local Variables:: Local variables common to all files in a
  412. directory.
  413. * Variable Aliases:: Variables that are aliases for other variables.
  414. * Variables with Restricted Values:: Non-constant variables whose value can
  415. @emph{not} be an arbitrary Lisp object.
  416. * Generalized Variables:: Extending the concept of variables.
  417. Scoping Rules for Variable Bindings
  418. * Dynamic Binding:: The default for binding local variables in Emacs.
  419. * Dynamic Binding Tips:: Avoiding problems with dynamic binding.
  420. * Lexical Binding:: A different type of local variable binding.
  421. * Using Lexical Binding:: How to enable lexical binding.
  422. Buffer-Local Variables
  423. * Intro to Buffer-Local:: Introduction and concepts.
  424. * Creating Buffer-Local:: Creating and destroying buffer-local bindings.
  425. * Default Value:: The default value is seen in buffers
  426. that don't have their own buffer-local values.
  427. Generalized Variables
  428. * Setting Generalized Variables:: The @code{setf} macro.
  429. * Adding Generalized Variables:: Defining new @code{setf} forms.
  430. Functions
  431. * What Is a Function:: Lisp functions vs. primitives; terminology.
  432. * Lambda Expressions:: How functions are expressed as Lisp objects.
  433. * Function Names:: A symbol can serve as the name of a function.
  434. * Defining Functions:: Lisp expressions for defining functions.
  435. * Calling Functions:: How to use an existing function.
  436. * Mapping Functions:: Applying a function to each element of a list, etc.
  437. * Anonymous Functions:: Lambda expressions are functions with no names.
  438. * Generic Functions:: Polymorphism, Emacs-style.
  439. * Function Cells:: Accessing or setting the function definition
  440. of a symbol.
  441. * Closures:: Functions that enclose a lexical environment.
  442. * Advising Functions:: Adding to the definition of a function.
  443. * Obsolete Functions:: Declaring functions obsolete.
  444. * Inline Functions:: Defining functions that the compiler
  445. will expand inline.
  446. * Declare Form:: Adding additional information about a function.
  447. * Declaring Functions:: Telling the compiler that a function is defined.
  448. * Function Safety:: Determining whether a function is safe to call.
  449. * Related Topics:: Cross-references to specific Lisp primitives
  450. that have a special bearing on how
  451. functions work.
  452. Lambda Expressions
  453. * Lambda Components:: The parts of a lambda expression.
  454. * Simple Lambda:: A simple example.
  455. * Argument List:: Details and special features of argument lists.
  456. * Function Documentation:: How to put documentation in a function.
  457. Advising Emacs Lisp Functions
  458. * Core Advising Primitives:: Primitives to manipulate advice.
  459. * Advising Named Functions:: Advising named functions.
  460. * Advice combinators:: Ways to compose advice.
  461. * Porting old advice:: Adapting code using the old defadvice.
  462. Macros
  463. * Simple Macro:: A basic example.
  464. * Expansion:: How, when and why macros are expanded.
  465. * Compiling Macros:: How macros are expanded by the compiler.
  466. * Defining Macros:: How to write a macro definition.
  467. * Problems with Macros:: Don't evaluate the macro arguments too many times.
  468. Don't hide the user's variables.
  469. * Indenting Macros:: Specifying how to indent macro calls.
  470. Common Problems Using Macros
  471. * Wrong Time:: Do the work in the expansion, not in the macro.
  472. * Argument Evaluation:: The expansion should evaluate each macro arg once.
  473. * Surprising Local Vars:: Local variable bindings in the expansion
  474. require special care.
  475. * Eval During Expansion:: Don't evaluate them; put them in the expansion.
  476. * Repeated Expansion:: Avoid depending on how many times expansion is done.
  477. Customization Settings
  478. * Common Keywords:: Common keyword arguments for all kinds of
  479. customization declarations.
  480. * Group Definitions:: Writing customization group definitions.
  481. * Variable Definitions:: Declaring user options.
  482. * Customization Types:: Specifying the type of a user option.
  483. * Applying Customizations:: Functions to apply customization settings.
  484. * Custom Themes:: Writing Custom themes.
  485. Customization Types
  486. * Simple Types:: Simple customization types: sexp, integer, etc.
  487. * Composite Types:: Build new types from other types or data.
  488. * Splicing into Lists:: Splice elements into list with @code{:inline}.
  489. * Type Keywords:: Keyword-argument pairs in a customization type.
  490. * Defining New Types:: Give your type a name.
  491. Loading
  492. * How Programs Do Loading:: The @code{load} function and others.
  493. * Load Suffixes:: Details about the suffixes that @code{load} tries.
  494. * Library Search:: Finding a library to load.
  495. * Loading Non-ASCII:: Non-@acronym{ASCII} characters in Emacs Lisp files.
  496. * Autoload:: Setting up a function to autoload.
  497. * Repeated Loading:: Precautions about loading a file twice.
  498. * Named Features:: Loading a library if it isn't already loaded.
  499. * Where Defined:: Finding which file defined a certain symbol.
  500. * Unloading:: How to unload a library that was loaded.
  501. * Hooks for Loading:: Providing code to be run when
  502. particular libraries are loaded.
  503. * Dynamic Modules:: Modules provide additional Lisp primitives.
  504. Byte Compilation
  505. * Speed of Byte-Code:: An example of speedup from byte compilation.
  506. * Compilation Functions:: Byte compilation functions.
  507. * Docs and Compilation:: Dynamic loading of documentation strings.
  508. * Dynamic Loading:: Dynamic loading of individual functions.
  509. * Eval During Compile:: Code to be evaluated when you compile.
  510. * Compiler Errors:: Handling compiler error messages.
  511. * Byte-Code Objects:: The data type used for byte-compiled functions.
  512. * Disassembly:: Disassembling byte-code; how to read byte-code.
  513. Debugging Lisp Programs
  514. * Debugger:: A debugger for the Emacs Lisp evaluator.
  515. * Edebug:: A source-level Emacs Lisp debugger.
  516. * Syntax Errors:: How to find syntax errors.
  517. * Test Coverage:: Ensuring you have tested all branches in your code.
  518. * Profiling:: Measuring the resources that your code uses.
  519. The Lisp Debugger
  520. * Error Debugging:: Entering the debugger when an error happens.
  521. * Infinite Loops:: Stopping and debugging a program that doesn't exit.
  522. * Function Debugging:: Entering it when a certain function is called.
  523. * Explicit Debug:: Entering it at a certain point in the program.
  524. * Using Debugger:: What the debugger does; what you see while in it.
  525. * Debugger Commands:: Commands used while in the debugger.
  526. * Invoking the Debugger:: How to call the function @code{debug}.
  527. * Internals of Debugger:: Subroutines of the debugger, and global variables.
  528. Edebug
  529. * Using Edebug:: Introduction to use of Edebug.
  530. * Instrumenting:: You must instrument your code
  531. in order to debug it with Edebug.
  532. * Edebug Execution Modes:: Execution modes, stopping more or less often.
  533. * Jumping:: Commands to jump to a specified place.
  534. * Edebug Misc:: Miscellaneous commands.
  535. * Breaks:: Setting breakpoints to make the program stop.
  536. * Trapping Errors:: Trapping errors with Edebug.
  537. * Edebug Views:: Views inside and outside of Edebug.
  538. * Edebug Eval:: Evaluating expressions within Edebug.
  539. * Eval List:: Expressions whose values are displayed
  540. each time you enter Edebug.
  541. * Printing in Edebug:: Customization of printing.
  542. * Trace Buffer:: How to produce trace output in a buffer.
  543. * Coverage Testing:: How to test evaluation coverage.
  544. * The Outside Context:: Data that Edebug saves and restores.
  545. * Edebug and Macros:: Specifying how to handle macro calls.
  546. * Edebug Options:: Option variables for customizing Edebug.
  547. Breaks
  548. * Breakpoints:: Breakpoints at stop points.
  549. * Global Break Condition:: Breaking on an event.
  550. * Source Breakpoints:: Embedding breakpoints in source code.
  551. The Outside Context
  552. * Checking Whether to Stop::When Edebug decides what to do.
  553. * Edebug Display Update:: When Edebug updates the display.
  554. * Edebug Recursive Edit:: When Edebug stops execution.
  555. Edebug and Macros
  556. * Instrumenting Macro Calls::The basic problem.
  557. * Specification List:: How to specify complex patterns of evaluation.
  558. * Backtracking:: What Edebug does when matching fails.
  559. * Specification Examples:: To help understand specifications.
  560. Debugging Invalid Lisp Syntax
  561. * Excess Open:: How to find a spurious open paren or missing close.
  562. * Excess Close:: How to find a spurious close paren or missing open.
  563. Reading and Printing Lisp Objects
  564. * Streams Intro:: Overview of streams, reading and printing.
  565. * Input Streams:: Various data types that can be used as
  566. input streams.
  567. * Input Functions:: Functions to read Lisp objects from text.
  568. * Output Streams:: Various data types that can be used as
  569. output streams.
  570. * Output Functions:: Functions to print Lisp objects as text.
  571. * Output Variables:: Variables that control what the printing
  572. functions do.
  573. Minibuffers
  574. * Intro to Minibuffers:: Basic information about minibuffers.
  575. * Text from Minibuffer:: How to read a straight text string.
  576. * Object from Minibuffer:: How to read a Lisp object or expression.
  577. * Minibuffer History:: Recording previous minibuffer inputs
  578. so the user can reuse them.
  579. * Initial Input:: Specifying initial contents for the minibuffer.
  580. * Completion:: How to invoke and customize completion.
  581. * Yes-or-No Queries:: Asking a question with a simple answer.
  582. * Multiple Queries:: Asking a series of similar questions.
  583. * Reading a Password:: Reading a password from the terminal.
  584. * Minibuffer Commands:: Commands used as key bindings in minibuffers.
  585. * Minibuffer Windows:: Operating on the special minibuffer windows.
  586. * Minibuffer Contents:: How such commands access the minibuffer text.
  587. * Recursive Mini:: Whether recursive entry to minibuffer is allowed.
  588. * Minibuffer Misc:: Various customization hooks and variables.
  589. Completion
  590. * Basic Completion:: Low-level functions for completing strings.
  591. * Minibuffer Completion:: Invoking the minibuffer with completion.
  592. * Completion Commands:: Minibuffer commands that do completion.
  593. * High-Level Completion:: Convenient special cases of completion
  594. (reading buffer names, variable names, etc.).
  595. * Reading File Names:: Using completion to read file names and
  596. shell commands.
  597. * Completion Variables:: Variables controlling completion behavior.
  598. * Programmed Completion:: Writing your own completion function.
  599. * Completion in Buffers:: Completing text in ordinary buffers.
  600. Command Loop
  601. * Command Overview:: How the command loop reads commands.
  602. * Defining Commands:: Specifying how a function should read arguments.
  603. * Interactive Call:: Calling a command, so that it will read arguments.
  604. * Distinguish Interactive:: Making a command distinguish interactive calls.
  605. * Command Loop Info:: Variables set by the command loop for you to examine.
  606. * Adjusting Point:: Adjustment of point after a command.
  607. * Input Events:: What input looks like when you read it.
  608. * Reading Input:: How to read input events from the keyboard or mouse.
  609. * Special Events:: Events processed immediately and individually.
  610. * Waiting:: Waiting for user input or elapsed time.
  611. * Quitting:: How @kbd{C-g} works. How to catch or defer quitting.
  612. * Prefix Command Arguments:: How the commands to set prefix args work.
  613. * Recursive Editing:: Entering a recursive edit,
  614. and why you usually shouldn't.
  615. * Disabling Commands:: How the command loop handles disabled commands.
  616. * Command History:: How the command history is set up, and how accessed.
  617. * Keyboard Macros:: How keyboard macros are implemented.
  618. Defining Commands
  619. * Using Interactive:: General rules for @code{interactive}.
  620. * Interactive Codes:: The standard letter-codes for reading arguments
  621. in various ways.
  622. * Interactive Examples:: Examples of how to read interactive arguments.
  623. * Generic Commands:: Select among command alternatives.
  624. Input Events
  625. * Keyboard Events:: Ordinary characters -- keys with symbols on them.
  626. * Function Keys:: Function keys -- keys with names, not symbols.
  627. * Mouse Events:: Overview of mouse events.
  628. * Click Events:: Pushing and releasing a mouse button.
  629. * Drag Events:: Moving the mouse before releasing the button.
  630. * Button-Down Events:: A button was pushed and not yet released.
  631. * Repeat Events:: Double and triple click (or drag, or down).
  632. * Motion Events:: Just moving the mouse, not pushing a button.
  633. * Focus Events:: Moving the mouse between frames.
  634. * Misc Events:: Other events the system can generate.
  635. * Event Examples:: Examples of the lists for mouse events.
  636. * Classifying Events:: Finding the modifier keys in an event symbol.
  637. Event types.
  638. * Accessing Mouse:: Functions to extract info from mouse events.
  639. * Accessing Scroll:: Functions to get info from scroll bar events.
  640. * Strings of Events:: Special considerations for putting
  641. keyboard character events in a string.
  642. Reading Input
  643. * Key Sequence Input:: How to read one key sequence.
  644. * Reading One Event:: How to read just one event.
  645. * Event Mod:: How Emacs modifies events as they are read.
  646. * Invoking the Input Method:: How reading an event uses the input method.
  647. * Quoted Character Input:: Asking the user to specify a character.
  648. * Event Input Misc:: How to reread or throw away input events.
  649. Keymaps
  650. * Key Sequences:: Key sequences as Lisp objects.
  651. * Keymap Basics:: Basic concepts of keymaps.
  652. * Format of Keymaps:: What a keymap looks like as a Lisp object.
  653. * Creating Keymaps:: Functions to create and copy keymaps.
  654. * Inheritance and Keymaps:: How one keymap can inherit the bindings
  655. of another keymap.
  656. * Prefix Keys:: Defining a key with a keymap as its definition.
  657. * Active Keymaps:: How Emacs searches the active keymaps
  658. for a key binding.
  659. * Searching Keymaps:: A pseudo-Lisp summary of searching active maps.
  660. * Controlling Active Maps:: Each buffer has a local keymap
  661. to override the standard (global) bindings.
  662. A minor mode can also override them.
  663. * Key Lookup:: Finding a key's binding in one keymap.
  664. * Functions for Key Lookup:: How to request key lookup.
  665. * Changing Key Bindings:: Redefining a key in a keymap.
  666. * Remapping Commands:: A keymap can translate one command to another.
  667. * Translation Keymaps:: Keymaps for translating sequences of events.
  668. * Key Binding Commands:: Interactive interfaces for redefining keys.
  669. * Scanning Keymaps:: Looking through all keymaps, for printing help.
  670. * Menu Keymaps:: Defining a menu as a keymap.
  671. Menu Keymaps
  672. * Defining Menus:: How to make a keymap that defines a menu.
  673. * Mouse Menus:: How users actuate the menu with the mouse.
  674. * Keyboard Menus:: How users actuate the menu with the keyboard.
  675. * Menu Example:: Making a simple menu.
  676. * Menu Bar:: How to customize the menu bar.
  677. * Tool Bar:: A tool bar is a row of images.
  678. * Modifying Menus:: How to add new items to a menu.
  679. * Easy Menu:: A convenience macro for defining menus.
  680. Defining Menus
  681. * Simple Menu Items:: A simple kind of menu key binding.
  682. * Extended Menu Items:: More complex menu item definitions.
  683. * Menu Separators:: Drawing a horizontal line through a menu.
  684. * Alias Menu Items:: Using command aliases in menu items.
  685. Major and Minor Modes
  686. * Hooks:: How to use hooks; how to write code that provides hooks.
  687. * Major Modes:: Defining major modes.
  688. * Minor Modes:: Defining minor modes.
  689. * Mode Line Format:: Customizing the text that appears in the mode line.
  690. * Imenu:: Providing a menu of definitions made in a buffer.
  691. * Font Lock Mode:: How modes can highlight text according to syntax.
  692. * Auto-Indentation:: How to teach Emacs to indent for a major mode.
  693. * Desktop Save Mode:: How modes can have buffer state saved between
  694. Emacs sessions.
  695. Hooks
  696. * Running Hooks:: How to run a hook.
  697. * Setting Hooks:: How to put functions on a hook, or remove them.
  698. Major Modes
  699. * Major Mode Conventions:: Coding conventions for keymaps, etc.
  700. * Auto Major Mode:: How Emacs chooses the major mode automatically.
  701. * Mode Help:: Finding out how to use a mode.
  702. * Derived Modes:: Defining a new major mode based on another major
  703. mode.
  704. * Basic Major Modes:: Modes that other modes are often derived from.
  705. * Mode Hooks:: Hooks run at the end of major mode functions.
  706. * Tabulated List Mode:: Parent mode for buffers containing tabulated data.
  707. * Generic Modes:: Defining a simple major mode that supports
  708. comment syntax and Font Lock mode.
  709. * Example Major Modes:: Text mode and Lisp modes.
  710. Minor Modes
  711. * Minor Mode Conventions:: Tips for writing a minor mode.
  712. * Keymaps and Minor Modes:: How a minor mode can have its own keymap.
  713. * Defining Minor Modes:: A convenient facility for defining minor modes.
  714. Mode Line Format
  715. * Mode Line Basics:: Basic ideas of mode line control.
  716. * Mode Line Data:: The data structure that controls the mode line.
  717. * Mode Line Top:: The top level variable, mode-line-format.
  718. * Mode Line Variables:: Variables used in that data structure.
  719. * %-Constructs:: Putting information into a mode line.
  720. * Properties in Mode:: Using text properties in the mode line.
  721. * Header Lines:: Like a mode line, but at the top.
  722. * Emulating Mode Line:: Formatting text as the mode line would.
  723. Font Lock Mode
  724. * Font Lock Basics:: Overview of customizing Font Lock.
  725. * Search-based Fontification:: Fontification based on regexps.
  726. * Customizing Keywords:: Customizing search-based fontification.
  727. * Other Font Lock Variables:: Additional customization facilities.
  728. * Levels of Font Lock:: Each mode can define alternative levels
  729. so that the user can select more or less.
  730. * Precalculated Fontification:: How Lisp programs that produce the buffer
  731. contents can also specify how to fontify it.
  732. * Faces for Font Lock:: Special faces specifically for Font Lock.
  733. * Syntactic Font Lock:: Fontification based on syntax tables.
  734. * Multiline Font Lock:: How to coerce Font Lock into properly
  735. highlighting multiline constructs.
  736. Multiline Font Lock Constructs
  737. * Font Lock Multiline:: Marking multiline chunks with a text property.
  738. * Region to Refontify:: Controlling which region gets refontified
  739. after a buffer change.
  740. Automatic Indentation of code
  741. * SMIE:: A simple minded indentation engine.
  742. Simple Minded Indentation Engine
  743. * SMIE setup:: SMIE setup and features.
  744. * Operator Precedence Grammars:: A very simple parsing technique.
  745. * SMIE Grammar:: Defining the grammar of a language.
  746. * SMIE Lexer:: Defining tokens.
  747. * SMIE Tricks:: Working around the parser's limitations.
  748. * SMIE Indentation:: Specifying indentation rules.
  749. * SMIE Indentation Helpers:: Helper functions for indentation rules.
  750. * SMIE Indentation Example:: Sample indentation rules.
  751. * SMIE Customization:: Customizing indentation.
  752. Documentation
  753. * Documentation Basics:: Where doc strings are defined and stored.
  754. * Accessing Documentation:: How Lisp programs can access doc strings.
  755. * Keys in Documentation:: Substituting current key bindings.
  756. * Describing Characters:: Making printable descriptions of
  757. non-printing characters and key sequences.
  758. * Help Functions:: Subroutines used by Emacs help facilities.
  759. Files
  760. * Visiting Files:: Reading files into Emacs buffers for editing.
  761. * Saving Buffers:: Writing changed buffers back into files.
  762. * Reading from Files:: Reading files into buffers without visiting.
  763. * Writing to Files:: Writing new files from parts of buffers.
  764. * File Locks:: Locking and unlocking files, to prevent
  765. simultaneous editing by two people.
  766. * Information about Files:: Testing existence, accessibility, size of files.
  767. * Changing Files:: Renaming files, changing permissions, etc.
  768. * File Names:: Decomposing and expanding file names.
  769. * Contents of Directories:: Getting a list of the files in a directory.
  770. * Create/Delete Dirs:: Creating and Deleting Directories.
  771. * Magic File Names:: Special handling for certain file names.
  772. * Format Conversion:: Conversion to and from various file formats.
  773. Visiting Files
  774. * Visiting Functions:: The usual interface functions for visiting.
  775. * Subroutines of Visiting:: Lower-level subroutines that they use.
  776. Information about Files
  777. * Testing Accessibility:: Is a given file readable? Writable?
  778. * Kinds of Files:: Is it a directory? A symbolic link?
  779. * Truenames:: Eliminating symbolic links from a file name.
  780. * File Attributes:: File sizes, modification times, etc.
  781. * Extended Attributes:: Extended file attributes for access control.
  782. * Locating Files:: How to find a file in standard places.
  783. File Names
  784. * File Name Components:: The directory part of a file name, and the rest.
  785. * Relative File Names:: Some file names are relative to a current directory.
  786. * Directory Names:: A directory's name as a directory
  787. is different from its name as a file.
  788. * File Name Expansion:: Converting relative file names to absolute ones.
  789. * Unique File Names:: Generating names for temporary files.
  790. * File Name Completion:: Finding the completions for a given file name.
  791. * Standard File Names:: If your package uses a fixed file name,
  792. how to handle various operating systems simply.
  793. File Format Conversion
  794. * Format Conversion Overview:: @code{insert-file-contents} and @code{write-region}.
  795. * Format Conversion Round-Trip:: Using @code{format-alist}.
  796. * Format Conversion Piecemeal:: Specifying non-paired conversion.
  797. Backups and Auto-Saving
  798. * Backup Files:: How backup files are made; how their names
  799. are chosen.
  800. * Auto-Saving:: How auto-save files are made; how their
  801. names are chosen.
  802. * Reverting:: @code{revert-buffer}, and how to customize
  803. what it does.
  804. Backup Files
  805. * Making Backups:: How Emacs makes backup files, and when.
  806. * Rename or Copy:: Two alternatives: renaming the old file
  807. or copying it.
  808. * Numbered Backups:: Keeping multiple backups for each source file.
  809. * Backup Names:: How backup file names are computed; customization.
  810. Buffers
  811. * Buffer Basics:: What is a buffer?
  812. * Current Buffer:: Designating a buffer as current
  813. so that primitives will access its contents.
  814. * Buffer Names:: Accessing and changing buffer names.
  815. * Buffer File Name:: The buffer file name indicates which file
  816. is visited.
  817. * Buffer Modification:: A buffer is @dfn{modified} if it needs to be saved.
  818. * Modification Time:: Determining whether the visited file was changed
  819. behind Emacs's back.
  820. * Read Only Buffers:: Modifying text is not allowed in a
  821. read-only buffer.
  822. * Buffer List:: How to look at all the existing buffers.
  823. * Creating Buffers:: Functions that create buffers.
  824. * Killing Buffers:: Buffers exist until explicitly killed.
  825. * Indirect Buffers:: An indirect buffer shares text with some
  826. other buffer.
  827. * Swapping Text:: Swapping text between two buffers.
  828. * Buffer Gap:: The gap in the buffer.
  829. Windows
  830. * Basic Windows:: Basic information on using windows.
  831. * Windows and Frames:: Relating windows to the frame they appear on.
  832. * Window Sizes:: Accessing a window's size.
  833. * Resizing Windows:: Changing the sizes of windows.
  834. * Preserving Window Sizes:: Preserving the size of windows.
  835. * Splitting Windows:: Splitting one window into two windows.
  836. * Deleting Windows:: Deleting a window gives its space to other windows.
  837. * Recombining Windows:: Preserving the frame layout when splitting and
  838. deleting windows.
  839. * Selecting Windows:: The selected window is the one that you edit in.
  840. * Cyclic Window Ordering:: Moving around the existing windows.
  841. * Buffers and Windows:: Each window displays the contents of a buffer.
  842. * Switching Buffers:: Higher-level functions for switching to a buffer.
  843. * Choosing Window:: How to choose a window for displaying a buffer.
  844. * Display Action Functions:: Subroutines for @code{display-buffer}.
  845. * Choosing Window Options:: Extra options affecting how buffers are displayed.
  846. * Window History:: Each window remembers the buffers displayed in it.
  847. * Dedicated Windows:: How to avoid displaying another buffer in
  848. a specific window.
  849. * Quitting Windows:: How to restore the state prior to displaying a
  850. buffer.
  851. * Window Point:: Each window has its own location of point.
  852. * Window Start and End:: Buffer positions indicating which text is
  853. on-screen in a window.
  854. * Textual Scrolling:: Moving text up and down through the window.
  855. * Vertical Scrolling:: Moving the contents up and down on the window.
  856. * Horizontal Scrolling:: Moving the contents sideways on the window.
  857. * Coordinates and Windows:: Converting coordinates to windows.
  858. * Window Configurations:: Saving and restoring the state of the screen.
  859. * Window Parameters:: Associating additional information with windows.
  860. * Window Hooks:: Hooks for scrolling, window size changes,
  861. redisplay going past a certain point,
  862. or window configuration changes.
  863. Frames
  864. * Creating Frames:: Creating additional frames.
  865. * Multiple Terminals:: Displaying on several different devices.
  866. * Frame Geometry:: Geometric properties of frames.
  867. * Frame Parameters:: Controlling frame size, position, font, etc.
  868. * Terminal Parameters:: Parameters common for all frames on terminal.
  869. * Frame Titles:: Automatic updating of frame titles.
  870. * Deleting Frames:: Frames last until explicitly deleted.
  871. * Finding All Frames:: How to examine all existing frames.
  872. * Minibuffers and Frames:: How a frame finds the minibuffer to use.
  873. * Input Focus:: Specifying the selected frame.
  874. * Visibility of Frames:: Frames may be visible or invisible, or icons.
  875. * Raising and Lowering:: Raising a frame makes it hide other windows;
  876. lowering it makes the others hide it.
  877. * Frame Configurations:: Saving the state of all frames.
  878. * Mouse Tracking:: Getting events that say when the mouse moves.
  879. * Mouse Position:: Asking where the mouse is, or moving it.
  880. * Pop-Up Menus:: Displaying a menu for the user to select from.
  881. * Dialog Boxes:: Displaying a box to ask yes or no.
  882. * Pointer Shape:: Specifying the shape of the mouse pointer.
  883. * Window System Selections::Transferring text to and from other X clients.
  884. * Drag and Drop:: Internals of Drag-and-Drop implementation.
  885. * Color Names:: Getting the definitions of color names.
  886. * Text Terminal Colors:: Defining colors for text terminals.
  887. * Resources:: Getting resource values from the server.
  888. * Display Feature Testing:: Determining the features of a terminal.
  889. Frame Geometry
  890. * Frame Layout:: Basic layout of frames.
  891. * Frame Font:: The default font of a frame and how to set it.
  892. * Size and Position:: Changing the size and position of a frame.
  893. * Implied Frame Resizing:: Implied resizing of frames and how to prevent it.
  894. Frame Parameters
  895. * Parameter Access:: How to change a frame's parameters.
  896. * Initial Parameters:: Specifying frame parameters when you make a frame.
  897. * Window Frame Parameters:: List of frame parameters for window systems.
  898. * Geometry:: Parsing geometry specifications.
  899. Window Frame Parameters
  900. * Basic Parameters:: Parameters that are fundamental.
  901. * Position Parameters:: The position of the frame on the screen.
  902. * Size Parameters:: Frame's size.
  903. * Layout Parameters:: Size of parts of the frame, and
  904. enabling or disabling some parts.
  905. * Buffer Parameters:: Which buffers have been or should be shown.
  906. * Management Parameters:: Communicating with the window manager.
  907. * Cursor Parameters:: Controlling the cursor appearance.
  908. * Font and Color Parameters:: Fonts and colors for the frame text.
  909. Positions
  910. * Point:: The special position where editing takes place.
  911. * Motion:: Changing point.
  912. * Excursions:: Temporary motion and buffer changes.
  913. * Narrowing:: Restricting editing to a portion of the buffer.
  914. Motion
  915. * Character Motion:: Moving in terms of characters.
  916. * Word Motion:: Moving in terms of words.
  917. * Buffer End Motion:: Moving to the beginning or end of the buffer.
  918. * Text Lines:: Moving in terms of lines of text.
  919. * Screen Lines:: Moving in terms of lines as displayed.
  920. * List Motion:: Moving by parsing lists and sexps.
  921. * Skipping Characters:: Skipping characters belonging to a certain set.
  922. Markers
  923. * Overview of Markers:: The components of a marker, and how it relocates.
  924. * Predicates on Markers:: Testing whether an object is a marker.
  925. * Creating Markers:: Making empty markers or markers at certain places.
  926. * Information from Markers::Finding the marker's buffer or character position.
  927. * Marker Insertion Types:: Two ways a marker can relocate when you
  928. insert where it points.
  929. * Moving Markers:: Moving the marker to a new buffer or position.
  930. * The Mark:: How the mark is implemented with a marker.
  931. * The Region:: How to access the region.
  932. Text
  933. * Near Point:: Examining text in the vicinity of point.
  934. * Buffer Contents:: Examining text in a general fashion.
  935. * Comparing Text:: Comparing substrings of buffers.
  936. * Insertion:: Adding new text to a buffer.
  937. * Commands for Insertion:: User-level commands to insert text.
  938. * Deletion:: Removing text from a buffer.
  939. * User-Level Deletion:: User-level commands to delete text.
  940. * The Kill Ring:: Where removed text sometimes is saved for
  941. later use.
  942. * Undo:: Undoing changes to the text of a buffer.
  943. * Maintaining Undo:: How to enable and disable undo information.
  944. How to control how much information is kept.
  945. * Filling:: Functions for explicit filling.
  946. * Margins:: How to specify margins for filling commands.
  947. * Adaptive Fill:: Adaptive Fill mode chooses a fill prefix
  948. from context.
  949. * Auto Filling:: How auto-fill mode is implemented to break lines.
  950. * Sorting:: Functions for sorting parts of the buffer.
  951. * Columns:: Computing horizontal positions, and using them.
  952. * Indentation:: Functions to insert or adjust indentation.
  953. * Case Changes:: Case conversion of parts of the buffer.
  954. * Text Properties:: Assigning Lisp property lists to text characters.
  955. * Substitution:: Replacing a given character wherever it appears.
  956. * Registers:: How registers are implemented. Accessing
  957. the text or position stored in a register.
  958. * Transposition:: Swapping two portions of a buffer.
  959. * Decompression:: Dealing with compressed data.
  960. * Base 64:: Conversion to or from base 64 encoding.
  961. * Checksum/Hash:: Computing cryptographic hashes.
  962. * Parsing HTML/XML:: Parsing HTML and XML.
  963. * Atomic Changes:: Installing several buffer changes atomically.
  964. * Change Hooks:: Supplying functions to be run when text is changed.
  965. The Kill Ring
  966. * Kill Ring Concepts:: What text looks like in the kill ring.
  967. * Kill Functions:: Functions that kill text.
  968. * Yanking:: How yanking is done.
  969. * Yank Commands:: Commands that access the kill ring.
  970. * Low-Level Kill Ring:: Functions and variables for kill ring access.
  971. * Internals of Kill Ring:: Variables that hold kill ring data.
  972. Indentation
  973. * Primitive Indent:: Functions used to count and insert indentation.
  974. * Mode-Specific Indent:: Customize indentation for different modes.
  975. * Region Indent:: Indent all the lines in a region.
  976. * Relative Indent:: Indent the current line based on previous lines.
  977. * Indent Tabs:: Adjustable, typewriter-like tab stops.
  978. * Motion by Indent:: Move to first non-blank character.
  979. Text Properties
  980. * Examining Properties:: Looking at the properties of one character.
  981. * Changing Properties:: Setting the properties of a range of text.
  982. * Property Search:: Searching for where a property changes value.
  983. * Special Properties:: Particular properties with special meanings.
  984. * Format Properties:: Properties for representing formatting of text.
  985. * Sticky Properties:: How inserted text gets properties from
  986. neighboring text.
  987. * Lazy Properties:: Computing text properties in a lazy fashion
  988. only when text is examined.
  989. * Clickable Text:: Using text properties to make regions of text
  990. do something when you click on them.
  991. * Fields:: The @code{field} property defines
  992. fields within the buffer.
  993. * Not Intervals:: Why text properties do not use
  994. Lisp-visible text intervals.
  995. Parsing HTML and XML
  996. * Document Object Model:: Access, manipulate and search the @acronym{DOM}.
  997. Non-@acronym{ASCII} Characters
  998. * Text Representations:: How Emacs represents text.
  999. * Disabling Multibyte:: Controlling whether to use multibyte characters.
  1000. * Converting Representations:: Converting unibyte to multibyte and vice versa.
  1001. * Selecting a Representation:: Treating a byte sequence as unibyte or multi.
  1002. * Character Codes:: How unibyte and multibyte relate to
  1003. codes of individual characters.
  1004. * Character Properties:: Character attributes that define their
  1005. behavior and handling.
  1006. * Character Sets:: The space of possible character codes
  1007. is divided into various character sets.
  1008. * Scanning Charsets:: Which character sets are used in a buffer?
  1009. * Translation of Characters:: Translation tables are used for conversion.
  1010. * Coding Systems:: Coding systems are conversions for saving files.
  1011. * Input Methods:: Input methods allow users to enter various
  1012. non-ASCII characters without special keyboards.
  1013. * Locales:: Interacting with the POSIX locale.
  1014. Coding Systems
  1015. * Coding System Basics:: Basic concepts.
  1016. * Encoding and I/O:: How file I/O functions handle coding systems.
  1017. * Lisp and Coding Systems:: Functions to operate on coding system names.
  1018. * User-Chosen Coding Systems:: Asking the user to choose a coding system.
  1019. * Default Coding Systems:: Controlling the default choices.
  1020. * Specifying Coding Systems:: Requesting a particular coding system
  1021. for a single file operation.
  1022. * Explicit Encoding:: Encoding or decoding text without doing I/O.
  1023. * Terminal I/O Encoding:: Use of encoding for terminal I/O.
  1024. Searching and Matching
  1025. * String Search:: Search for an exact match.
  1026. * Searching and Case:: Case-independent or case-significant searching.
  1027. * Regular Expressions:: Describing classes of strings.
  1028. * Regexp Search:: Searching for a match for a regexp.
  1029. * POSIX Regexps:: Searching POSIX-style for the longest match.
  1030. * Match Data:: Finding out which part of the text matched,
  1031. after a string or regexp search.
  1032. * Search and Replace:: Commands that loop, searching and replacing.
  1033. * Standard Regexps:: Useful regexps for finding sentences, pages,...
  1034. Regular Expressions
  1035. * Syntax of Regexps:: Rules for writing regular expressions.
  1036. * Regexp Example:: Illustrates regular expression syntax.
  1037. * Regexp Functions:: Functions for operating on regular expressions.
  1038. Syntax of Regular Expressions
  1039. * Regexp Special:: Special characters in regular expressions.
  1040. * Char Classes:: Character classes used in regular expressions.
  1041. * Regexp Backslash:: Backslash-sequences in regular expressions.
  1042. The Match Data
  1043. * Replacing Match:: Replacing a substring that was matched.
  1044. * Simple Match Data:: Accessing single items of match data,
  1045. such as where a particular subexpression started.
  1046. * Entire Match Data:: Accessing the entire match data at once, as a list.
  1047. * Saving Match Data:: Saving and restoring the match data.
  1048. Syntax Tables
  1049. * Syntax Basics:: Basic concepts of syntax tables.
  1050. * Syntax Descriptors:: How characters are classified.
  1051. * Syntax Table Functions:: How to create, examine and alter syntax tables.
  1052. * Syntax Properties:: Overriding syntax with text properties.
  1053. * Motion and Syntax:: Moving over characters with certain syntaxes.
  1054. * Parsing Expressions:: Parsing balanced expressions
  1055. using the syntax table.
  1056. * Syntax Table Internals:: How syntax table information is stored.
  1057. * Categories:: Another way of classifying character syntax.
  1058. Syntax Descriptors
  1059. * Syntax Class Table:: Table of syntax classes.
  1060. * Syntax Flags:: Additional flags each character can have.
  1061. Parsing Expressions
  1062. * Motion via Parsing:: Motion functions that work by parsing.
  1063. * Position Parse:: Determining the syntactic state of a position.
  1064. * Parser State:: How Emacs represents a syntactic state.
  1065. * Low-Level Parsing:: Parsing across a specified region.
  1066. * Control Parsing:: Parameters that affect parsing.
  1067. Abbrevs and Abbrev Expansion
  1068. * Abbrev Tables:: Creating and working with abbrev tables.
  1069. * Defining Abbrevs:: Specifying abbreviations and their expansions.
  1070. * Abbrev Files:: Saving abbrevs in files.
  1071. * Abbrev Expansion:: Controlling expansion; expansion subroutines.
  1072. * Standard Abbrev Tables:: Abbrev tables used by various major modes.
  1073. * Abbrev Properties:: How to read and set abbrev properties.
  1074. Which properties have which effect.
  1075. * Abbrev Table Properties:: How to read and set abbrev table properties.
  1076. Which properties have which effect.
  1077. Processes
  1078. * Subprocess Creation:: Functions that start subprocesses.
  1079. * Shell Arguments:: Quoting an argument to pass it to a shell.
  1080. * Synchronous Processes:: Details of using synchronous subprocesses.
  1081. * Asynchronous Processes:: Starting up an asynchronous subprocess.
  1082. * Deleting Processes:: Eliminating an asynchronous subprocess.
  1083. * Process Information:: Accessing run-status and other attributes.
  1084. * Input to Processes:: Sending input to an asynchronous subprocess.
  1085. * Signals to Processes:: Stopping, continuing or interrupting
  1086. an asynchronous subprocess.
  1087. * Output from Processes:: Collecting output from an asynchronous subprocess.
  1088. * Sentinels:: Sentinels run when process run-status changes.
  1089. * Query Before Exit:: Whether to query if exiting will kill a process.
  1090. * System Processes:: Accessing other processes running on your system.
  1091. * Transaction Queues:: Transaction-based communication with subprocesses.
  1092. * Network:: Opening network connections.
  1093. * Network Servers:: Network servers let Emacs accept net connections.
  1094. * Datagrams:: UDP network connections.
  1095. * Low-Level Network:: Lower-level but more general function
  1096. to create connections and servers.
  1097. * Misc Network:: Additional relevant functions for net connections.
  1098. * Serial Ports:: Communicating with serial ports.
  1099. * Byte Packing:: Using bindat to pack and unpack binary data.
  1100. Receiving Output from Processes
  1101. * Process Buffers:: By default, output is put in a buffer.
  1102. * Filter Functions:: Filter functions accept output from the process.
  1103. * Decoding Output:: Filters can get unibyte or multibyte strings.
  1104. * Accepting Output:: How to wait until process output arrives.
  1105. Low-Level Network Access
  1106. * Network Processes:: Using @code{make-network-process}.
  1107. * Network Options:: Further control over network connections.
  1108. * Network Feature Testing:: Determining which network features work on
  1109. the machine you are using.
  1110. Packing and Unpacking Byte Arrays
  1111. * Bindat Spec:: Describing data layout.
  1112. * Bindat Functions:: Doing the unpacking and packing.
  1113. * Bindat Examples:: Samples of what bindat.el can do for you!
  1114. Emacs Display
  1115. * Refresh Screen:: Clearing the screen and redrawing everything on it.
  1116. * Forcing Redisplay:: Forcing redisplay.
  1117. * Truncation:: Folding or wrapping long text lines.
  1118. * The Echo Area:: Displaying messages at the bottom of the screen.
  1119. * Warnings:: Displaying warning messages for the user.
  1120. * Invisible Text:: Hiding part of the buffer text.
  1121. * Selective Display:: Hiding part of the buffer text (the old way).
  1122. * Temporary Displays:: Displays that go away automatically.
  1123. * Overlays:: Use overlays to highlight parts of the buffer.
  1124. * Size of Displayed Text:: How large displayed text is.
  1125. * Line Height:: Controlling the height of lines.
  1126. * Faces:: A face defines a graphics style
  1127. for text characters: font, colors, etc.
  1128. * Fringes:: Controlling window fringes.
  1129. * Scroll Bars:: Controlling scroll bars.
  1130. * Window Dividers:: Separating windows visually.
  1131. * Display Property:: Enabling special display features.
  1132. * Images:: Displaying images in Emacs buffers.
  1133. * Buttons:: Adding clickable buttons to Emacs buffers.
  1134. * Abstract Display:: Emacs's Widget for Object Collections.
  1135. * Blinking:: How Emacs shows the matching open parenthesis.
  1136. * Character Display:: How Emacs displays individual characters.
  1137. * Beeping:: Audible signal to the user.
  1138. * Window Systems:: Which window system is being used.
  1139. * Tooltips:: Tooltip display in Emacs.
  1140. * Bidirectional Display:: Display of bidirectional scripts, such as
  1141. Arabic and Farsi.
  1142. The Echo Area
  1143. * Displaying Messages:: Explicitly displaying text in the echo area.
  1144. * Progress:: Informing user about progress of a long operation.
  1145. * Logging Messages:: Echo area messages are logged for the user.
  1146. * Echo Area Customization:: Controlling the echo area.
  1147. Reporting Warnings
  1148. * Warning Basics:: Warnings concepts and functions to report them.
  1149. * Warning Variables:: Variables programs bind to customize
  1150. their warnings.
  1151. * Warning Options:: Variables users set to control display of warnings.
  1152. * Delayed Warnings:: Deferring a warning until the end of a command.
  1153. Overlays
  1154. * Managing Overlays:: Creating and moving overlays.
  1155. * Overlay Properties:: How to read and set properties.
  1156. What properties do to the screen display.
  1157. * Finding Overlays:: Searching for overlays.
  1158. Faces
  1159. * Face Attributes:: What is in a face?
  1160. * Defining Faces:: How to define a face.
  1161. * Attribute Functions:: Functions to examine and set face attributes.
  1162. * Displaying Faces:: How Emacs combines the faces specified for
  1163. a character.
  1164. * Face Remapping:: Remapping faces to alternative definitions.
  1165. * Face Functions:: How to define and examine faces.
  1166. * Auto Faces:: Hook for automatic face assignment.
  1167. * Basic Faces:: Faces that are defined by default.
  1168. * Font Selection:: Finding the best available font for a face.
  1169. * Font Lookup:: Looking up the names of available fonts
  1170. and information about them.
  1171. * Fontsets:: A fontset is a collection of fonts
  1172. that handle a range of character sets.
  1173. * Low-Level Font:: Lisp representation for character display fonts.
  1174. Fringes
  1175. * Fringe Size/Pos:: Specifying where to put the window fringes.
  1176. * Fringe Indicators:: Displaying indicator icons in the window fringes.
  1177. * Fringe Cursors:: Displaying cursors in the right fringe.
  1178. * Fringe Bitmaps:: Specifying bitmaps for fringe indicators.
  1179. * Customizing Bitmaps:: Specifying your own bitmaps to use in the fringes.
  1180. * Overlay Arrow:: Display of an arrow to indicate position.
  1181. The @code{display} Property
  1182. * Replacing Specs:: Display specs that replace the text.
  1183. * Specified Space:: Displaying one space with a specified width.
  1184. * Pixel Specification:: Specifying space width or height in pixels.
  1185. * Other Display Specs:: Displaying an image; adjusting the height,
  1186. spacing, and other properties of text.
  1187. * Display Margins:: Displaying text or images to the side of
  1188. the main text.
  1189. Images
  1190. * Image Formats:: Supported image formats.
  1191. * Image Descriptors:: How to specify an image for use in @code{:display}.
  1192. * XBM Images:: Special features for XBM format.
  1193. * XPM Images:: Special features for XPM format.
  1194. * PostScript Images:: Special features for PostScript format.
  1195. * ImageMagick Images:: Special features available through ImageMagick.
  1196. * Other Image Types:: Various other formats are supported.
  1197. * Defining Images:: Convenient ways to define an image for later use.
  1198. * Showing Images:: Convenient ways to display an image once
  1199. it is defined.
  1200. * Multi-Frame Images:: Some images contain more than one frame.
  1201. * Image Cache:: Internal mechanisms of image display.
  1202. Buttons
  1203. * Button Properties:: Button properties with special meanings.
  1204. * Button Types:: Defining common properties for classes of buttons.
  1205. * Making Buttons:: Adding buttons to Emacs buffers.
  1206. * Manipulating Buttons:: Getting and setting properties of buttons.
  1207. * Button Buffer Commands:: Buffer-wide commands and bindings for buttons.
  1208. Abstract Display
  1209. * Abstract Display Functions:: Functions in the Ewoc package.
  1210. * Abstract Display Example:: Example of using Ewoc.
  1211. Character Display
  1212. * Usual Display:: The usual conventions for displaying characters.
  1213. * Display Tables:: What a display table consists of.
  1214. * Active Display Table:: How Emacs selects a display table to use.
  1215. * Glyphs:: How to define a glyph, and what glyphs mean.
  1216. * Glyphless Chars:: How glyphless characters are drawn.
  1217. Operating System Interface
  1218. * Starting Up:: Customizing Emacs startup processing.
  1219. * Getting Out:: How exiting works (permanent or temporary).
  1220. * System Environment:: Distinguish the name and kind of system.
  1221. * User Identification:: Finding the name and user id of the user.
  1222. * Time of Day:: Getting the current time.
  1223. * Time Conversion:: Converting a time from numeric form to
  1224. calendrical data and vice versa.
  1225. * Time Parsing:: Converting a time from numeric form to text
  1226. and vice versa.
  1227. * Processor Run Time:: Getting the run time used by Emacs.
  1228. * Time Calculations:: Adding, subtracting, comparing times, etc.
  1229. * Timers:: Setting a timer to call a function at a
  1230. certain time.
  1231. * Idle Timers:: Setting a timer to call a function when Emacs has
  1232. been idle for a certain length of time.
  1233. * Terminal Input:: Accessing and recording terminal input.
  1234. * Terminal Output:: Controlling and recording terminal output.
  1235. * Sound Output:: Playing sounds on the computer's speaker.
  1236. * X11 Keysyms:: Operating on key symbols for X Windows.
  1237. * Batch Mode:: Running Emacs without terminal interaction.
  1238. * Session Management:: Saving and restoring state with
  1239. X Session Management.
  1240. * Desktop Notifications:: Desktop notifications.
  1241. * File Notifications:: File notifications.
  1242. * Dynamic Libraries:: On-demand loading of support libraries.
  1243. * Security Considerations:: Running Emacs in an unfriendly environment.
  1244. Starting Up Emacs
  1245. * Startup Summary:: Sequence of actions Emacs performs at startup.
  1246. * Init File:: Details on reading the init file.
  1247. * Terminal-Specific:: How the terminal-specific Lisp file is read.
  1248. * Command-Line Arguments:: How command-line arguments are processed,
  1249. and how you can customize them.
  1250. Getting Out of Emacs
  1251. * Killing Emacs:: Exiting Emacs irreversibly.
  1252. * Suspending Emacs:: Exiting Emacs reversibly.
  1253. Terminal Input
  1254. * Input Modes:: Options for how input is processed.
  1255. * Recording Input:: Saving histories of recent or all input events.
  1256. Preparing Lisp code for distribution
  1257. * Packaging Basics:: The basic concepts of Emacs Lisp packages.
  1258. * Simple Packages:: How to package a single .el file.
  1259. * Multi-file Packages:: How to package multiple files.
  1260. * Package Archives:: Maintaining package archives.
  1261. Tips and Conventions
  1262. * Coding Conventions:: Conventions for clean and robust programs.
  1263. * Key Binding Conventions:: Which keys should be bound by which programs.
  1264. * Programming Tips:: Making Emacs code fit smoothly in Emacs.
  1265. * Compilation Tips:: Making compiled code run fast.
  1266. * Warning Tips:: Turning off compiler warnings.
  1267. * Documentation Tips:: Writing readable documentation strings.
  1268. * Comment Tips:: Conventions for writing comments.
  1269. * Library Headers:: Standard headers for library packages.
  1270. GNU Emacs Internals
  1271. * Building Emacs:: How the dumped Emacs is made.
  1272. * Pure Storage:: Kludge to make preloaded Lisp functions shareable.
  1273. * Garbage Collection:: Reclaiming space for Lisp objects no longer used.
  1274. * Stack-allocated Objects:: Temporary conses and strings on C stack.
  1275. * Memory Usage:: Info about total size of Lisp objects made so far.
  1276. * C Dialect:: What C variant Emacs is written in.
  1277. * Writing Emacs Primitives:: Writing C code for Emacs.
  1278. * Object Internals:: Data formats of buffers, windows, processes.
  1279. * C Integer Types:: How C integer types are used inside Emacs.
  1280. Object Internals
  1281. * Buffer Internals:: Components of a buffer structure.
  1282. * Window Internals:: Components of a window structure.
  1283. * Process Internals:: Components of a process structure.
  1284. @end detailmenu
  1285. @end menu
  1286. @ifclear VOL2
  1287. @include intro.texi
  1288. @include objects.texi
  1289. @include numbers.texi
  1290. @include strings.texi
  1291. @include lists.texi
  1292. @include sequences.texi
  1293. @include hash.texi
  1294. @include symbols.texi
  1295. @include eval.texi
  1296. @include control.texi
  1297. @include variables.texi
  1298. @include functions.texi
  1299. @include macros.texi
  1300. @include customize.texi
  1301. @include loading.texi
  1302. @include compile.texi
  1303. @c This includes edebug.texi.
  1304. @include debugging.texi
  1305. @include streams.texi
  1306. @include minibuf.texi
  1307. @include commands.texi
  1308. @include keymaps.texi
  1309. @include modes.texi
  1310. @include help.texi
  1311. @include files.texi
  1312. @include backups.texi
  1313. @end ifclear
  1314. @c ================ Beginning of Volume 2 ================
  1315. @ifclear VOL1
  1316. @include buffers.texi
  1317. @include windows.texi
  1318. @include frames.texi
  1319. @include positions.texi
  1320. @include markers.texi
  1321. @include text.texi
  1322. @include nonascii.texi
  1323. @include searching.texi
  1324. @include syntax.texi
  1325. @include abbrevs.texi
  1326. @include processes.texi
  1327. @include display.texi
  1328. @include os.texi
  1329. @include package.texi
  1330. @c appendices
  1331. @include anti.texi
  1332. @node GNU Free Documentation License
  1333. @appendix GNU Free Documentation License
  1334. @include doclicense.texi
  1335. @node GPL
  1336. @appendix GNU General Public License
  1337. @include gpl.texi
  1338. @include tips.texi
  1339. @include internals.texi
  1340. @include errors.texi
  1341. @include maps.texi
  1342. @include hooks.texi
  1343. @include index.texi
  1344. @end ifclear
  1345. @ignore
  1346. @node New Symbols
  1347. @unnumbered New Symbols Since the Previous Edition
  1348. @printindex tp
  1349. @end ignore
  1350. @bye
  1351. These words prevent "local variables" above from confusing Emacs.