help.texi 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. @c This is part of the Emacs manual.
  2. @c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2015 Free Software
  3. @c Foundation, Inc.
  4. @c See file emacs.texi for copying conditions.
  5. @node Help
  6. @chapter Help
  7. @kindex Help
  8. @cindex help
  9. @cindex self-documentation
  10. @findex help-command
  11. @kindex C-h
  12. @kindex F1
  13. @kindex C-h C-h
  14. @findex help-for-help
  15. Emacs provides a wide variety of help commands, all accessible
  16. through the prefix key @kbd{C-h} (or, equivalently, the function key
  17. @key{F1}). These help commands are described in the following
  18. sections. You can also type @kbd{C-h C-h} to view a list of help
  19. commands (@code{help-for-help}). You can scroll the list with
  20. @key{SPC} and @key{DEL}, then type the help command you want. To
  21. cancel, type @kbd{C-g}.
  22. Many help commands display their information in a special @dfn{help
  23. buffer}. In this buffer, you can type @key{SPC} and @key{DEL} to
  24. scroll and type @key{RET} to follow hyperlinks. @xref{Help Mode}.
  25. @cindex searching documentation efficiently
  26. @cindex looking for a subject in documentation
  27. If you are looking for a certain feature, but don't know what it is
  28. called or where to look, we recommend three methods. First, try an
  29. apropos command, then try searching the manual index, then look in the
  30. FAQ and the package keywords.
  31. @table @kbd
  32. @item C-h a @var{topics} @key{RET}
  33. This searches for commands whose names match the argument
  34. @var{topics}. The argument can be a keyword, a list of keywords, or a
  35. regular expression (@pxref{Regexps}). @xref{Apropos}.
  36. @item C-h i d m emacs @key{RET} i @var{topic} @key{RET}
  37. This searches for @var{topic} in the indices of the Emacs Info manual,
  38. displaying the first match found. Press @kbd{,} to see subsequent
  39. matches. You can use a regular expression as @var{topic}.
  40. @item C-h i d m emacs @key{RET} s @var{topic} @key{RET}
  41. Similar, but searches the @emph{text} of the manual rather than the
  42. indices.
  43. @item C-h C-f
  44. This displays the Emacs FAQ, using Info.
  45. @item C-h p
  46. This displays the available Emacs packages based on keywords.
  47. @xref{Package Keywords}.
  48. @end table
  49. @kbd{C-h} or @key{F1} mean ``help'' in various other contexts as
  50. well. For instance, you can type them after a prefix key to view a
  51. list of the keys that can follow the prefix key. (You can also use
  52. @kbd{?} in this context. A few prefix keys don't support @kbd{C-h}
  53. or @kbd{?} in this way, because they define other meanings for those
  54. inputs, but they all support @key{F1}.)
  55. @menu
  56. * Help Summary:: Brief list of all Help commands.
  57. * Key Help:: Asking what a key does in Emacs.
  58. * Name Help:: Asking about a command, variable or function name.
  59. * Apropos:: Asking what pertains to a given topic.
  60. * Help Mode:: Special features of Help mode and Help buffers.
  61. * Package Keywords:: Finding Lisp libraries by keywords (topics).
  62. * Language Help:: Help relating to international language support.
  63. * Misc Help:: Other help commands.
  64. * Help Files:: Commands to display auxiliary help files.
  65. * Help Echo:: Help on active text and tooltips (``balloon help'').
  66. @end menu
  67. @iftex
  68. @node Help Summary
  69. @end iftex
  70. @ifnottex
  71. @node Help Summary
  72. @section Help Summary
  73. @end ifnottex
  74. Here is a summary of help commands for accessing the built-in
  75. documentation. Most of these are described in more detail in the
  76. following sections.
  77. @table @kbd
  78. @item C-h a @var{topics} @key{RET}
  79. Display a list of commands whose names match @var{topics}
  80. (@code{apropos-command}).
  81. @item C-h b
  82. Display all active key bindings; minor mode bindings first, then those
  83. of the major mode, then global bindings (@code{describe-bindings}).
  84. @item C-h c @var{key}
  85. Show the name of the command that the key sequence @var{key} is bound
  86. to (@code{describe-key-briefly}). Here @kbd{c} stands for
  87. ``character''. For more extensive information on @var{key}, use
  88. @kbd{C-h k}.
  89. @item C-h d @var{topics} @key{RET}
  90. Display the commands and variables whose documentation matches
  91. @var{topics} (@code{apropos-documentation}).
  92. @item C-h e
  93. Display the @file{*Messages*} buffer
  94. (@code{view-echo-area-messages}).
  95. @item C-h f @var{function} @key{RET}
  96. Display documentation on the Lisp function named @var{function}
  97. (@code{describe-function}). Since commands are Lisp functions,
  98. this works for commands too.
  99. @item C-h h
  100. Display the @file{HELLO} file, which shows examples of various character
  101. sets.
  102. @item C-h i
  103. Run Info, the GNU documentation browser (@code{info}). The Emacs
  104. manual is available in Info.
  105. @item C-h k @var{key}
  106. Display the name and documentation of the command that @var{key} runs
  107. (@code{describe-key}).
  108. @item C-h l
  109. Display a description of your last 300 keystrokes
  110. (@code{view-lossage}).
  111. @item C-h m
  112. Display documentation of the current major mode and minor modes
  113. (@code{describe-mode}).
  114. @item C-h n
  115. Display news of recent Emacs changes (@code{view-emacs-news}).
  116. @item C-h p
  117. Find packages by topic keyword (@code{finder-by-keyword}). This lists
  118. packages using a package menu buffer. @xref{Packages}.
  119. @item C-h P @var{package} @key{RET}
  120. Display documentation about the specified package
  121. (@code{describe-package}).
  122. @item C-h r
  123. Display the Emacs manual in Info (@code{info-emacs-manual}).
  124. @item C-h s
  125. Display the contents of the current @dfn{syntax table}
  126. (@code{describe-syntax}). The syntax table says which characters are
  127. opening delimiters, which are parts of words, and so on. @xref{Syntax
  128. Tables,, Syntax Tables, elisp, The Emacs Lisp Reference Manual}, for
  129. details.
  130. @item C-h t
  131. Enter the Emacs interactive tutorial (@code{help-with-tutorial}).
  132. @item C-h v @var{var} @key{RET}
  133. Display the documentation of the Lisp variable @var{var}
  134. (@code{describe-variable}).
  135. @item C-h w @var{command} @key{RET}
  136. Show which keys run the command named @var{command} (@code{where-is}).
  137. @item C-h C @var{coding} @key{RET}
  138. Describe the coding system @var{coding}
  139. (@code{describe-coding-system}).
  140. @item C-h C @key{RET}
  141. Describe the coding systems currently in use.
  142. @item C-h F @var{command} @key{RET}
  143. Enter Info and go to the node that documents the Emacs command
  144. @var{command} (@code{Info-goto-emacs-command-node}).
  145. @item C-h I @var{method} @key{RET}
  146. Describe the input method @var{method} (@code{describe-input-method}).
  147. @item C-h K @var{key}
  148. Enter Info and go to the node that documents the key sequence
  149. @var{key} (@code{Info-goto-emacs-key-command-node}).
  150. @item C-h L @var{language-env} @key{RET}
  151. Display information on the character sets, coding systems, and input
  152. methods used in language environment @var{language-env}
  153. (@code{describe-language-environment}).
  154. @item C-h S @var{symbol} @key{RET}
  155. Display the Info documentation on symbol @var{symbol} according to the
  156. programming language you are editing (@code{info-lookup-symbol}).
  157. @item C-h .
  158. Display the help message for a special text area, if point is in one
  159. (@code{display-local-help}). (These include, for example, links in
  160. @file{*Help*} buffers.)
  161. @end table
  162. @node Key Help
  163. @section Documentation for a Key
  164. @findex describe-key-briefly
  165. @findex describe-key
  166. The help commands to get information about a key sequence are
  167. @kbd{C-h c} (@code{describe-key-briefly}) and @kbd{C-h k}
  168. (@code{describe-key}).
  169. @kindex C-h c
  170. @kbd{C-h c @var{key}} displays in the echo area the name of the
  171. command that @var{key} is bound to. For example, @kbd{C-h c C-f}
  172. displays @samp{forward-char}.
  173. @cindex documentation string
  174. @kindex C-h k
  175. @kbd{C-h k @var{key}} is similar but gives more information: it
  176. displays a help buffer containing the command's @dfn{documentation
  177. string}, which describes exactly what the command does.
  178. @kindex C-h K
  179. @findex Info-goto-emacs-key-command-node
  180. @kbd{C-h K @var{key}} displays the section of the Emacs manual that
  181. describes the command corresponding to @var{key}.
  182. @kbd{C-h c}, @kbd{C-h k} and @kbd{C-h K} work for any sort of key
  183. sequences, including function keys, menus, and mouse events. For
  184. instance, after @kbd{C-h k} you can select a menu item from the menu
  185. bar, to view the documentation string of the command it runs.
  186. @kindex C-h w
  187. @findex where-is
  188. @kbd{C-h w @var{command} @key{RET}} lists the keys that are bound to
  189. @var{command}. It displays the list in the echo area. If it says the
  190. command is not on any key, that means you must use @kbd{M-x} to run
  191. it. @kbd{C-h w} runs the command @code{where-is}.
  192. @node Name Help
  193. @section Help by Command or Variable Name
  194. @kindex C-h f
  195. @findex describe-function
  196. @kbd{C-h f @var{function} @key{RET}} (@code{describe-function})
  197. displays the documentation of Lisp function @var{function}, in a
  198. window. Since commands are Lisp functions, you can use this method to
  199. view the documentation of any command whose name you know. For
  200. example,
  201. @example
  202. C-h f auto-fill-mode @key{RET}
  203. @end example
  204. @noindent
  205. displays the documentation of @code{auto-fill-mode}. This is the only
  206. way to get the documentation of a command that is not bound to any key
  207. (one which you would normally run using @kbd{M-x}).
  208. @kbd{C-h f} is also useful for Lisp functions that you use in a Lisp
  209. program. For example, if you have just written the expression
  210. @code{(make-vector len)} and want to check that you are using
  211. @code{make-vector} properly, type @kbd{C-h f make-vector @key{RET}}.
  212. Because @kbd{C-h f} allows all function names, not just command names,
  213. you may find that some of your favorite completion abbreviations that
  214. work in @kbd{M-x} don't work in @kbd{C-h f}. An abbreviation that is
  215. unique among command names may not be unique among all function names.
  216. If you type @kbd{C-h f @key{RET}}, it describes the function called
  217. by the innermost Lisp expression in the buffer around point,
  218. @emph{provided} that function name is a valid, defined Lisp function.
  219. (That name appears as the default while you enter the argument.) For
  220. example, if point is located following the text @samp{(make-vector
  221. (car x)}, the innermost list containing point is the one that starts
  222. with @samp{(make-vector}, so @kbd{C-h f @key{RET}} describes the
  223. function @code{make-vector}.
  224. @kbd{C-h f} is also useful just to verify that you spelled a
  225. function name correctly. If the minibuffer prompt for @kbd{C-h f}
  226. shows the function name from the buffer as the default, it means that
  227. name is defined as a Lisp function. Type @kbd{C-g} to cancel the
  228. @kbd{C-h f} command if you don't really want to view the
  229. documentation.
  230. @kindex C-h v
  231. @findex describe-variable
  232. @kbd{C-h v} (@code{describe-variable}) is like @kbd{C-h f} but
  233. describes Lisp variables instead of Lisp functions. Its default is
  234. the Lisp symbol around or before point, if that is the name of a
  235. defined Lisp variable. @xref{Variables}.
  236. Help buffers that describe Emacs variables and functions normally
  237. have hyperlinks to the corresponding source code, if you have the
  238. source files installed (@pxref{Hyperlinking}).
  239. @kindex C-h F
  240. @findex Info-goto-emacs-command-node
  241. To find a command's documentation in a manual, use @kbd{C-h F}
  242. (@code{Info-goto-emacs-command-node}). This knows about various
  243. manuals, not just the Emacs manual, and finds the right one.
  244. @node Apropos
  245. @section Apropos
  246. @cindex apropos
  247. The @dfn{apropos} commands answer questions like, ``What are the
  248. commands for working with files?'' More precisely, you specify an
  249. @dfn{apropos pattern}, which means either a word, a list of words, or
  250. a regular expression.
  251. Each of the following apropos commands reads an apropos pattern in
  252. the minibuffer, searches for items that match the pattern, and
  253. displays the results in a different window.
  254. @table @kbd
  255. @item C-h a
  256. @kindex C-h a
  257. @findex apropos-command
  258. Search for commands (@code{apropos-command}). With a prefix argument,
  259. search for noninteractive functions too.
  260. @item M-x apropos
  261. @findex apropos
  262. Search for functions and variables. Both interactive functions
  263. (commands) and noninteractive functions can be found by this.
  264. @item M-x apropos-user-option
  265. @findex apropos-user-option
  266. Search for user-customizable variables. With a prefix argument,
  267. search for non-customizable variables too.
  268. @item M-x apropos-variable
  269. @findex apropos-variable
  270. Search for variables. With a prefix argument, search for
  271. customizable variables only.
  272. @item M-x apropos-value
  273. @findex apropos-value
  274. Search for variables whose values match the specified pattern. With a
  275. prefix argument, search also for functions with definitions matching
  276. the pattern, and Lisp symbols with properties matching the pattern.
  277. @item C-h d
  278. @kindex C-h d
  279. @findex apropos-documentation
  280. Search for functions and variables whose documentation strings match
  281. the specified pattern (@code{apropos-documentation}).
  282. @end table
  283. The simplest kind of apropos pattern is one word. Anything
  284. containing that word matches the pattern. Thus, to find commands that
  285. work on files, type @kbd{C-h a file @key{RET}}. This displays a list
  286. of all command names that contain @samp{file}, including
  287. @code{copy-file}, @code{find-file}, and so on. Each command name
  288. comes with a brief description and a list of keys you can currently
  289. invoke it with. In our example, it would say that you can invoke
  290. @code{find-file} by typing @kbd{C-x C-f}.
  291. For more information about a function definition, variable or symbol
  292. property listed in an apropos buffer, you can click on it with
  293. @kbd{Mouse-1} or @kbd{Mouse-2}, or move there and type @key{RET}.
  294. When you specify more than one word in the apropos pattern, a name
  295. must contain at least two of the words in order to match. Thus, if
  296. you are looking for commands to kill a chunk of text before point, you
  297. could try @kbd{C-h a kill back backward behind before @key{RET}}. The
  298. real command name @code{kill-backward} will match that; if there were
  299. a command @code{kill-text-before}, it would also match, since it
  300. contains two of the specified words.
  301. For even greater flexibility, you can specify a regular expression
  302. (@pxref{Regexps}). An apropos pattern is interpreted as a regular
  303. expression if it contains any of the regular expression special
  304. characters, @samp{^$*+?.\[}.
  305. Following the conventions for naming Emacs commands, here are some
  306. words that you'll find useful in apropos patterns. By using them in
  307. @kbd{C-h a}, you will also get a feel for the naming conventions.
  308. @quotation
  309. char, line, word, sentence, paragraph, region, page, sexp, list, defun,
  310. rect, buffer, frame, window, face, file, dir, register, mode, beginning, end,
  311. forward, backward, next, previous, up, down, search, goto, kill, delete,
  312. mark, insert, yank, fill, indent, case, change, set, what, list, find,
  313. view, describe, default.
  314. @end quotation
  315. @vindex apropos-do-all
  316. If the variable @code{apropos-do-all} is non-@code{nil}, most
  317. apropos commands behave as if they had been given a prefix argument.
  318. There is one exception: @code{apropos-variable} without a prefix
  319. argument will always search for all variables, no matter what the
  320. value of @code{apropos-do-all} is.
  321. @vindex apropos-sort-by-scores
  322. @cindex apropos search results, order by score
  323. @vindex apropos-documentation-sort-by-scores
  324. By default, all apropos commands except @code{apropos-documentation}
  325. list their results in alphabetical order. If the variable
  326. @code{apropos-sort-by-scores} is non-@code{nil}, these commands
  327. instead try to guess the relevance of each result, and display the
  328. most relevant ones first. The @code{apropos-documentation} command
  329. lists its results in order of relevance by default; to list them in
  330. alphabetical order, change the variable
  331. @code{apropos-documentation-sort-by-scores} to @code{nil}.
  332. @node Help Mode
  333. @section Help Mode Commands
  334. Help buffers provide the same commands as View mode (@pxref{View
  335. Mode}); for instance, @key{SPC} scrolls forward, and @key{DEL} or
  336. @kbd{S-@key{SPC}} scrolls backward. A few special commands are also
  337. provided:
  338. @table @kbd
  339. @item @key{RET}
  340. Follow a cross reference at point (@code{help-follow}).
  341. @item @key{TAB}
  342. Move point forward to the next hyperlink (@code{forward-button}).
  343. @item S-@key{TAB}
  344. Move point back to the previous hyperlink (@code{backward-button}).
  345. @item Mouse-1
  346. @itemx Mouse-2
  347. Follow a hyperlink that you click on.
  348. @item C-c C-c
  349. Show all documentation about the symbol at point
  350. (@code{help-follow-symbol}).
  351. @item C-c C-b
  352. Go back to the previous help topic (@code{help-go-back}).
  353. @end table
  354. @cindex hyperlink
  355. @findex help-follow
  356. @findex help-go-back
  357. @kindex RET @r{(Help mode)}
  358. @kindex C-c C-b @r{(Help mode)}
  359. When a function name, variable name, or face name (@pxref{Faces})
  360. appears in the documentation in the help buffer, it is normally an
  361. underlined @dfn{hyperlink}. To view the associated documentation,
  362. move point there and type @key{RET} (@code{help-follow}), or click on
  363. the hyperlink with @kbd{Mouse-1} or @kbd{Mouse-2}. Doing so replaces
  364. the contents of the help buffer; to retrace your steps, type @kbd{C-c
  365. C-b} (@code{help-go-back}).
  366. @cindex URL, viewing in help
  367. @cindex help, viewing web pages
  368. @cindex viewing web pages in help
  369. @cindex web pages, viewing in help
  370. @findex browse-url
  371. A help buffer can also contain hyperlinks to Info manuals, source
  372. code definitions, and URLs (web pages). The first two are opened in
  373. Emacs, and the third using a web browser via the @code{browse-url}
  374. command (@pxref{Browse-URL}).
  375. @kindex TAB @r{(Help mode)}
  376. @findex forward-button
  377. @kindex S-TAB @r{(Help mode)}
  378. @findex backward-button
  379. In a help buffer, @key{TAB} (@code{forward-button}) moves point
  380. forward to the next hyperlink, while @kbd{S-@key{TAB}}
  381. (@code{backward-button}) point back to the previous hyperlink. These
  382. commands act cyclically; for instance, typing @key{TAB} at the last
  383. hyperlink moves back to the first hyperlink.
  384. To view all documentation about any symbol in the text, move point
  385. to there and type @kbd{C-c C-c} (@code{help-follow-symbol}). This
  386. shows all available documentation about the symbol---as a variable,
  387. function and/or face.
  388. @node Package Keywords
  389. @section Keyword Search for Packages
  390. @cindex finder
  391. Most optional features in Emacs are grouped into @dfn{packages}.
  392. Emacs contains several hundred built-in packages, and more can be
  393. installed over the network (@pxref{Packages}).
  394. @kindex C-h p
  395. @findex finder-by-keyword
  396. To make it easier to find packages related to a topic, most packages
  397. are associated with one or more @dfn{keywords} based on what they do.
  398. Type @kbd{C-h p} (@code{finder-by-keyword}) to bring up a list of
  399. package keywords, together with a description of what the keywords
  400. mean. To view a list of packages for a given keyword, type @key{RET}
  401. on that line; this displays the list of packages in a Package Menu
  402. buffer (@pxref{Package Menu}).
  403. @findex describe-package
  404. @kindex C-h P
  405. @kbd{C-h P} (@code{describe-package}) prompts for the name of a
  406. package, and displays a help buffer describing the attributes of the
  407. package and the features that it implements. The buffer lists the
  408. keywords that relate to the package in the form of buttons. Click on
  409. a button to see other packages related to that keyword.
  410. @node Language Help
  411. @section Help for International Language Support
  412. For information on a specific language environment (@pxref{Language
  413. Environments}), type @kbd{C-h L}
  414. (@code{describe-language-environment}). This displays a help buffer
  415. describing the languages supported by the language environment, and
  416. listing the associated character sets, coding systems, and input
  417. methods, as well as some sample text for that language environment.
  418. The command @kbd{C-h h} (@code{view-hello-file}) displays the file
  419. @file{etc/HELLO}, which demonstrates various character sets by showing
  420. how to say ``hello'' in many languages.
  421. The command @kbd{C-h I} (@code{describe-input-method}) describes an
  422. input method---either a specified input method, or by default the
  423. input method currently in use. @xref{Input Methods}.
  424. The command @kbd{C-h C} (@code{describe-coding-system}) describes
  425. coding systems---either a specified coding system, or the ones
  426. currently in use. @xref{Coding Systems}.
  427. @node Misc Help
  428. @section Other Help Commands
  429. @kindex C-h i
  430. @findex info
  431. @cindex Info
  432. @cindex manuals, included
  433. @kbd{C-h i} (@code{info}) runs the Info program, which browses
  434. structured documentation files. The entire Emacs manual is available
  435. within Info, along with many other manuals for the GNU system. Type
  436. @kbd{h} after entering Info to run a tutorial on using Info.
  437. @cindex find Info manual by its file name
  438. With a numeric argument @var{n}, @kbd{C-h i} selects the Info buffer
  439. @samp{*info*<@var{n}>}. This is useful if you want to browse multiple
  440. Info manuals simultaneously. If you specify just @kbd{C-u} as the
  441. prefix argument, @kbd{C-h i} prompts for the name of a documentation
  442. file, so you can browse a file which doesn't have an entry in the
  443. top-level Info menu.
  444. The help commands @kbd{C-h F @var{function} @key{RET}} and @kbd{C-h
  445. K @var{key}}, described above, enter Info and go straight to the
  446. documentation of @var{function} or @var{key}.
  447. @kindex C-h S
  448. @findex info-lookup-symbol
  449. When editing a program, if you have an Info version of the manual
  450. for the programming language, you can use @kbd{C-h S}
  451. (@code{info-lookup-symbol}) to find an entry for a symbol (keyword,
  452. function or variable) in the proper manual. The details of how this
  453. command works depend on the major mode.
  454. @kindex C-h l
  455. @findex view-lossage
  456. If something surprising happens, and you are not sure what you typed,
  457. use @kbd{C-h l} (@code{view-lossage}). @kbd{C-h l} displays your last
  458. 300 input keystrokes. If you see commands that you don't know, you can
  459. use @kbd{C-h c} to find out what they do.
  460. @kindex C-h e
  461. @findex view-echo-area-messages
  462. To review recent echo area messages, use @kbd{C-h e}
  463. (@code{view-echo-area-messages}). This displays the buffer
  464. @file{*Messages*}, where those messages are kept.
  465. @kindex C-h m
  466. @findex describe-mode
  467. Each Emacs major mode typically redefines a few keys and makes other
  468. changes in how editing works. @kbd{C-h m} (@code{describe-mode})
  469. displays documentation on the current major mode, which normally
  470. describes the commands and features that are changed in this mode.
  471. @kindex C-h b
  472. @findex describe-bindings
  473. @kindex C-h s
  474. @findex describe-syntax
  475. @kbd{C-h b} (@code{describe-bindings}) and @kbd{C-h s}
  476. (@code{describe-syntax}) show other information about the current
  477. environment within Emacs. @kbd{C-h b} displays a list of all the key
  478. bindings now in effect: first the local bindings of the current minor
  479. modes, then the local bindings defined by the current major mode, and
  480. finally the global bindings (@pxref{Key Bindings}). @kbd{C-h s}
  481. displays the contents of the syntax table, with explanations of each
  482. character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The
  483. Emacs Lisp Reference Manual}).
  484. @findex describe-prefix-bindings
  485. You can get a list of subcommands for a particular prefix key by
  486. typing @kbd{C-h}, @kbd{?}, or @key{F1}
  487. (@code{describe-prefix-bindings}) after the prefix key. (There are a
  488. few prefix keys for which not all of these keys work---those that
  489. provide their own bindings for that key. One of these prefix keys
  490. is @key{ESC}, because @kbd{@key{ESC} C-h} is actually @kbd{C-M-h},
  491. which marks a defun. However, @kbd{@key{ESC} @key{F1}} and
  492. @kbd{@key{ESC} ?} work fine.)
  493. @node Help Files
  494. @section Help Files
  495. Apart from the built-in documentation and manuals, Emacs contains
  496. several other files describing topics like copying conditions, release
  497. notes, instructions for debugging and reporting bugs, and so forth.
  498. You can use the following commands to view these files. Apart from
  499. @kbd{C-h g}, they all have the form @kbd{C-h C-@var{char}}.
  500. @kindex C-h C-c
  501. @findex describe-copying
  502. @kindex C-h C-d
  503. @findex view-emacs-debugging
  504. @kindex C-h C-e
  505. @findex view-external-packages
  506. @kindex C-h C-f
  507. @findex view-emacs-FAQ
  508. @kindex C-h g
  509. @findex describe-gnu-project
  510. @kindex C-h C-m
  511. @findex view-order-manuals
  512. @kindex C-h C-n
  513. @findex view-emacs-news
  514. @kindex C-h C-o
  515. @findex describe-distribution
  516. @kindex C-h C-p
  517. @findex view-emacs-problems
  518. @kindex C-h C-t
  519. @findex view-emacs-todo
  520. @kindex C-h C-w
  521. @findex describe-no-warranty
  522. @table @kbd
  523. @item C-h C-c
  524. Display the rules under which you can copy and redistribute Emacs
  525. (@code{describe-copying}).
  526. @item C-h C-d
  527. Display help for debugging Emacs (@code{view-emacs-debugging}).
  528. @item C-h C-e
  529. Display information about where to get external packages
  530. (@code{view-external-packages}).
  531. @item C-h C-f
  532. Display the Emacs frequently-answered-questions list (@code{view-emacs-FAQ}).
  533. @item C-h g
  534. Visit a @uref{http://www.gnu.org} page with information about the GNU
  535. Project (@code{describe-gnu-project}).
  536. @item C-h C-m
  537. Display information about ordering printed copies of Emacs manuals
  538. (@code{view-order-manuals}).
  539. @item C-h C-n
  540. Display the news, which lists the new features in this
  541. version of Emacs (@code{view-emacs-news}).
  542. @item C-h C-o
  543. Display how to order or download the latest version of
  544. Emacs and other GNU software (@code{describe-distribution}).
  545. @item C-h C-p
  546. Display the list of known Emacs problems, sometimes with suggested
  547. workarounds (@code{view-emacs-problems}).
  548. @item C-h C-t
  549. Display the Emacs to-do list (@code{view-emacs-todo}).
  550. @item C-h C-w
  551. Display the full details on the complete absence of warranty for GNU
  552. Emacs (@code{describe-no-warranty}).
  553. @end table
  554. @node Help Echo
  555. @section Help on Active Text and Tooltips
  556. @cindex tooltips
  557. @cindex balloon help
  558. @cindex active text
  559. In Emacs, stretches of @dfn{active text} (text that does something
  560. special in response to mouse clicks or @key{RET}) often have
  561. associated help text. This includes hyperlinks in Emacs buffers, as
  562. well as parts of the mode line. On graphical displays, as well as
  563. some text terminals which support mouse tracking, moving the mouse
  564. over the active text displays the help text as a @dfn{tooltip}.
  565. @xref{Tooltips}.
  566. @kindex C-h .
  567. @findex display-local-help
  568. @vindex help-at-pt-display-when-idle
  569. On terminals that don't support mouse-tracking, you can display the
  570. help text for active buffer text at point by typing @kbd{C-h .}
  571. (@code{display-local-help}). This shows the help text in the echo
  572. area. To display help text automatically whenever it is available at
  573. point, set the variable @code{help-at-pt-display-when-idle} to
  574. @code{t}.