home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / E17INFO.ZIP / EMACS-17 < prev    next >
Encoding:
GNU Info File  |  1993-07-18  |  48.4 KB  |  1,185 lines

  1. This is Info file ../info/emacs, produced by Makeinfo-1.54 from the
  2. input file emacs.texi.
  3.  
  4. 
  5. File: emacs,  Node: Lossage,  Next: Bugs,  Prev: Quitting,  Up: Top
  6.  
  7. Dealing with Emacs Trouble
  8. ==========================
  9.  
  10.    This section describes various conditions in which Emacs fails to
  11. work normally, and how to recognize them and correct them.
  12.  
  13. * Menu:
  14.  
  15. * DEL Gets Help::       What to do if DEL doesn't delete.
  16. * Stuck Recursive::     `[...]' in mode line around the parentheses.
  17. * Screen Garbled::      Garbage on the screen.
  18. * Text Garbled::        Garbage in the text.
  19. * Unasked-for Search::  Spontaneous entry to incremental search.
  20. * Emergency Escape::    Emergency escape--
  21.                           What to do if Emacs stops responding.
  22. * Total Frustration::   When you are at your wits' end.
  23.  
  24. 
  25. File: emacs,  Node: DEL Gets Help,  Next: Stuck Recursive,  Up: Lossage
  26.  
  27. If DEL Fails to Delete
  28. ----------------------
  29.  
  30.    If you find that DEL enters Help like `Control-h' instead of
  31. deleting a character, your terminal is sending the wrong code for DEL.
  32. You can work around this problem by changing the keyboard translation
  33. table (*note Keyboard Translations::.).
  34.  
  35. 
  36. File: emacs,  Node: Stuck Recursive,  Next: Screen Garbled,  Prev: DEL Gets Help,  Up: Lossage
  37.  
  38. Recursive Editing Levels
  39. ------------------------
  40.  
  41.    Recursive editing levels are important and useful features of Emacs,
  42. but they can seem like malfunctions to the user who does not understand
  43. them.
  44.  
  45.    If the mode line has square brackets `[...]' around the parentheses
  46. that contain the names of the major and minor modes, you have entered a
  47. recursive editing level.  If you did not do this on purpose, or if you
  48. don't understand what that means, you should just get out of the
  49. recursive editing level.  To do so, type `M-x top-level'.  This is
  50. called getting back to top level.  *Note Recursive Edit::.
  51.  
  52. 
  53. File: emacs,  Node: Screen Garbled,  Next: Text Garbled,  Prev: Stuck Recursive,  Up: Lossage
  54.  
  55. Garbage on the Screen
  56. ---------------------
  57.  
  58.    If the data on the screen looks wrong, the first thing to do is see
  59. whether the text is really wrong.  Type `C-l', to redisplay the entire
  60. screen.  If the screen appears correct after this, the problem was
  61. entirely in the previous screen update.
  62.  
  63.    Display updating problems often result from an incorrect termcap
  64. entry for the terminal you are using.  The file `etc/TERMS' in the Emacs
  65. distribution gives the fixes for known problems of this sort.
  66. `INSTALL' contains general advice for these problems in one of its
  67. sections.  Very likely there is simply insufficient padding for certain
  68. display operations.  To investigate the possibility that you have this
  69. sort of problem, try Emacs on another terminal made by a different
  70. manufacturer.  If problems happen frequently on one kind of terminal
  71. but not another kind, it is likely to be a bad termcap entry, though it
  72. could also be due to a bug in Emacs that appears for terminals that
  73. have or that lack specific features.
  74.  
  75. 
  76. File: emacs,  Node: Text Garbled,  Next: Unasked-for Search,  Prev: Screen Garbled,  Up: Lossage
  77.  
  78. Garbage in the Text
  79. -------------------
  80.  
  81.    If `C-l' shows that the text is wrong, try undoing the changes to it
  82. using `C-x u' until it gets back to a state you consider correct.  Also
  83. try `C-h l' to find out what command you typed to produce the observed
  84. results.
  85.  
  86.    If a large portion of text appears to be missing at the beginning or
  87. end of the buffer, check for the word `Narrow' in the mode line.  If it
  88. appears, the text is still present, but temporarily off-limits.  To
  89. make it accessible again, type `C-x n w'.  *Note Narrowing::.
  90.  
  91. 
  92. File: emacs,  Node: Unasked-for Search,  Next: Emergency Escape,  Prev: Text Garbled,  Up: Lossage
  93.  
  94. Spontaneous Entry to Incremental Search
  95. ---------------------------------------
  96.  
  97.    If Emacs spontaneously displays `I-search:' at the bottom of the
  98. screen, it means that the terminal is sending `C-s' and `C-q' according
  99. to the poorly designed xon/xoff "flow control" protocol.
  100.  
  101.    If this happens to you, your best recourse is to put the terminal in
  102. a mode where it will not use flow control, or give it so much padding
  103. that it will never send a `C-s'.  (One way to increase the amount of
  104. padding is to set the variable `baud-rate' to a larger value.  Its
  105. value is the terminal output speed, measured in the conventional units
  106. of baud.)
  107.  
  108.    If you don't succeed in turning off flow control, the next best thing
  109. is to tell Emacs to cope with it.  To do this, call the function
  110. `enable-flow-control'.
  111.  
  112.    Typically there are particular terminal types with which you must use
  113. flow control.  You can conveniently ask for flow control on those
  114. terminal types only, using `enable-flow-control-on'.  For example, if
  115. you find you must use flow control on VT-100 and H19 terminals, put the
  116. following in your `.emacs' file:
  117.  
  118.      (enable-flow-control-on "vt100" "h19")
  119.  
  120.    When flow control is enabled, you must type `C-\' to get the effect
  121. of a `C-s', and type `C-^' to get the effect of a `C-q'.  (These
  122. aliases work by means of keyboard translations; see *Note Keyboard
  123. Translations::.)
  124.  
  125. 
  126. File: emacs,  Node: Emergency Escape,  Next: Total Frustration,  Prev: Unasked-for Search,  Up: Lossage
  127.  
  128. Emergency Escape
  129. ----------------
  130.  
  131.    Because at times there have been bugs causing Emacs to loop without
  132. checking `quit-flag', a special feature causes Emacs to be suspended
  133. immediately if you type a second `C-g' while the flag is already set,
  134. so you can always get out of GNU Emacs.  Normally Emacs recognizes and
  135. clears `quit-flag' (and quits!) quickly enough to prevent this from
  136. happening.
  137.  
  138.    When you resume Emacs after a suspension caused by multiple `C-g', it
  139. asks two questions before going back to what it had been doing:
  140.  
  141.      Auto-save? (y or n)
  142.      Abort (and dump core)? (y or n)
  143.  
  144. Answer each one with `y' or `n' followed by RET.
  145.  
  146.    Saying `y' to `Auto-save?' causes immediate auto-saving of all
  147. modified buffers in which auto-saving is enabled.
  148.  
  149.    Saying `y' to `Abort (and dump core)?' causes an illegal instruction
  150. to be executed, dumping core.  This is to enable a wizard to figure out
  151. why Emacs was failing to quit in the first place.  Execution does not
  152. continue after a core dump.  If you answer `n', execution does
  153. continue.  With luck, GNU Emacs will ultimately check `quit-flag' and
  154. quit normally.  If not, and you type another `C-g', it is suspended
  155. again.
  156.  
  157.    If Emacs is not really hung, just slow, you may invoke the double
  158. `C-g' feature without really meaning to.  Then just resume and answer
  159. `n' to both questions, and you will arrive at your former state.
  160. Presumably the quit you requested will happen soon.
  161.  
  162.    The double-`C-g' feature is turned off when Emacs is running under
  163. the X Window System, since the you can use the window manager to kill
  164. Emacs or to create another window and run another program.
  165.  
  166. 
  167. File: emacs,  Node: Total Frustration,  Prev: Emergency Escape,  Up: Lossage
  168.  
  169. Help for Total Frustration
  170. --------------------------
  171.  
  172.    If using Emacs (or something else) becomes terribly frustrating and
  173. none of the techniques described above solve the problem, Emacs can
  174. still help you.
  175.  
  176.    First, if the Emacs you are using is not responding to commands, type
  177. `C-g C-g' to get out of it and then start a new one.
  178.  
  179.    Second, type `M-x doctor RET'.
  180.  
  181.    The doctor will help you feel better.  Each time you say something to
  182. the doctor, you must end it by typing RET RET.  This lets the doctor
  183. know you are finished.
  184.  
  185. 
  186. File: emacs,  Node: Bugs,  Next: Service,  Prev: Lossage,  Up: Top
  187.  
  188. Reporting Bugs
  189. ==============
  190.  
  191.    Sometimes you will encounter a bug in Emacs.  Although we cannot
  192. promise we can or will fix the bug, and we might not even agree that it
  193. is a bug, we want to hear about bugs you encounter in case we do want
  194. to fix them.
  195.  
  196.    To make it possible for us to fix a bug, you must report it.  In
  197. order to do so effectively, you must know when and how to do it.
  198.  
  199. * Menu:
  200.  
  201. * Criteria:  Bug Criteria.     Have you really found a bug?
  202. * Understanding Bug Reporting::     How to report a bug effectively.
  203. * Checklist::             Steps to follow for a good bug report.
  204. * Sending Patches::         How to send a patch for GNU Emacs.
  205.  
  206. 
  207. File: emacs,  Node: Bug Criteria,  Next: Understanding Bug Reporting,  Up: Bugs
  208.  
  209. When Is There a Bug
  210. -------------------
  211.  
  212.    If Emacs executes an illegal instruction, or dies with an operating
  213. system error message that indicates a problem in the program (as
  214. opposed to something like "disk full"), then it is certainly a bug.
  215.  
  216.    If Emacs updates the display in a way that does not correspond to
  217. what is in the buffer, then it is certainly a bug.  If a command seems
  218. to do the wrong thing but the problem corrects itself if you type
  219. `C-l', it is a case of incorrect display updating.
  220.  
  221.    Taking forever to complete a command can be a bug, but you must make
  222. certain that it was really Emacs's fault.  Some commands simply take a
  223. long time.  Type `C-g' and then `C-h l' to see whether the input Emacs
  224. received was what you intended to type; if the input was such that you
  225. *know* it should have been processed quickly, report a bug.  If you
  226. don't know whether the command should take a long time, find out by
  227. looking in the manual or by asking for assistance.
  228.  
  229.    If a command you are familiar with causes an Emacs error message in a
  230. case where its usual definition ought to be reasonable, it is probably a
  231. bug.
  232.  
  233.    If a command does the wrong thing, that is a bug.  But be sure you
  234. know for certain what it ought to have done.  If you aren't familiar
  235. with the command, or don't know for certain how the command is supposed
  236. to work, then it might actually be working right.  Rather than jumping
  237. to conclusions, show the problem to someone who knows for certain.
  238.  
  239.    Finally, a command's intended definition may not be best for editing
  240. with.  This is a very important sort of problem, but it is also a
  241. matter of judgment.  Also, it is easy to come to such a conclusion out
  242. of ignorance of some of the existing features.  It is probably best not
  243. to complain about such a problem until you have checked the
  244. documentation in the usual ways, feel confident that you understand it,
  245. and know for certain that what you want is not available.  If you are
  246. not sure what the command is supposed to do after a careful reading of
  247. the manual, check the index and glossary for any terms that may be
  248. unclear.
  249.  
  250.    If you still do not understand, that indicates a bug in the manual,
  251. which you should report.  The manual's job is to make everything clear
  252. to people who are not Emacs experts--including you.  It is just as
  253. important to report documentation bugs as program bugs.
  254.  
  255.    If the on-line documentation string of a function or variable
  256. disagrees with the manual, one of them must be wrong; that is a bug.
  257.  
  258. 
  259. File: emacs,  Node: Understanding Bug Reporting,  Next: Checklist,  Prev: Bug Criteria,  Up: Bugs
  260.  
  261. Understanding Bug Reporting
  262. ---------------------------
  263.  
  264.    When you decide that there is a bug, it is important to report it
  265. and to report it in a way which is useful.  What is most useful is an
  266. exact description of what commands you type, starting with the shell
  267. command to run Emacs, until the problem happens.
  268.  
  269.    The most important principle in reporting a bug is to report *facts*,
  270. not hypotheses or categorizations.  It is always easier to report the
  271. facts, but people seem to prefer to strain to posit explanations and
  272. report them instead.  If the explanations are based on guesses about
  273. how Emacs is implemented, they will be useless; we will have to try to
  274. figure out what the facts must have been to lead to such speculations.
  275. Sometimes this is impossible.  But in any case, it is unnecessary work
  276. for us.
  277.  
  278.    For example, suppose that you type `C-x C-f /glorp/baz.ugh RET',
  279. visiting a file which (you know) happens to be rather large, and Emacs
  280. prints out `I feel pretty today'.  The best way to report the bug is
  281. with a sentence like the preceding one, because it gives all the facts
  282. and nothing but the facts.
  283.  
  284.    Do not assume that the problem is due to the size of the file and
  285. say, "When I visit a large file, Emacs prints out `I feel pretty
  286. today'." This is what we mean by "guessing explanations".  The problem
  287. is just as likely to be due to the fact that there is a `z' in the file
  288. name.  If this is so, then when we got your report, we would try out
  289. the problem with some "large file", probably with no `z' in its name,
  290. and not find anything wrong.  There is no way in the world that we
  291. could guess that we should try visiting a file with a `z' in its name.
  292.  
  293.    Alternatively, the problem might be due to the fact that the file
  294. starts with exactly 25 spaces.  For this reason, you should make sure
  295. that you inform us of the exact contents of any file that is needed to
  296. reproduce the bug.  What if the problem only occurs when you have typed
  297. the `C-x C-a' command previously?  This is why we ask you to give the
  298. exact sequence of characters you typed since starting to use Emacs.
  299.  
  300.    You should not even say "visit a file" instead of `C-x C-f' unless
  301. you *know* that it makes no difference which visiting command is used.
  302. Similarly, rather than saying "if I have three characters on the line,"
  303. say "after I type `RET A B C RET C-p'," if that is the way you entered
  304. the text.
  305.  
  306. 
  307. File: emacs,  Node: Checklist,  Next: Sending Patches,  Prev: Understanding Bug Reporting,  Up: Bugs
  308.  
  309. Checklist for Bug Reports
  310. -------------------------
  311.  
  312.    The best way to send a bug report is to mail it electronically to the
  313. Emacs maintainers at `bug-gnu-emacs@prep.ai.mit.edu'.
  314.  
  315.    If you'd like to read the bug reports, you can find them on the
  316. repeater newsgroup `gnu.emacs.bugs'; keep in mind, however, that as a
  317. spectator you should not criticize anything about what you see there.
  318. The purpose of bug reports is to give information to the Emacs
  319. maintainers.  Spectators are welcome only as long as they do not
  320. interfere with this.
  321.  
  322.    Please do not post bug reports using netnews; mail is more reliable
  323. than netnews about reporting your correct address, which we may need in
  324. order to ask you for more information.
  325.  
  326.    If you can't send electronic mail, then mail the bug report on paper
  327. to this address:
  328.  
  329. GNU Emacs Bugs
  330. Free Software Foundation
  331. 675 Mass Ave
  332. Cambridge, MA 02139
  333.  
  334.    We do not promise to fix the bug; but if the bug is serious, or
  335. ugly, or easy to fix, chances are we will want to.
  336.  
  337.    To enable maintainers to investigate a bug, your report should
  338. include all these things:
  339.  
  340.    * The version number of Emacs.  Without this, we won't know whether
  341.      there is any point in looking for the bug in the current version
  342.      of GNU Emacs.
  343.  
  344.      You can get the version number by typing `M-x emacs-version RET'.
  345.      If that command does not work, you probably have something other
  346.      than GNU Emacs, so you will have to report the bug somewhere else.
  347.  
  348.    * The type of machine you are using, and the operating system name
  349.      and version number.
  350.  
  351.    * The operands you gave to the `configure' command when you installed
  352.      Emacs.
  353.  
  354.    * A complete list of any modifications you have made to the Emacs
  355.      source.  (We may not have time to investigate the bug unless it
  356.      happens in an unmodified Emacs.  But if you've made modifications
  357.      and don't tell us, then you are sending us on a wild goose chase.)
  358.  
  359.      Be precise about these changes.  A description in English is not
  360.      enough--send a context diff for them.
  361.  
  362.      Adding files of your own (such as a machine description for a
  363.      machine we don't support) is a modification of the source.
  364.  
  365.    * Details of any other deviations from the standard procedure for
  366.      installing GNU Emacs.
  367.  
  368.    * The complete text of any files needed to reproduce the bug.
  369.  
  370.      If you can tell us a way to cause the problem without visiting any
  371.      files, please do so.  This makes it much easier to debug.  If you
  372.      do need files, make sure you arrange for us to see their exact
  373.      contents.  For example, it can often matter whether there are
  374.      spaces at the ends of lines, or a newline after the last line in
  375.      the buffer (nothing ought to care whether the last line is
  376.      terminated, but try telling the bugs that).
  377.  
  378.    * The precise commands we need to type to reproduce the bug.
  379.  
  380.      The easy way to record the input to Emacs precisely is to to write
  381.      a dribble file.  To start the file, execute the Lisp expression
  382.  
  383.           (open-dribble-file "~/dribble")
  384.  
  385.      using `M-ESC' or from the `*scratch*' buffer just after starting
  386.      Emacs.  From then on, Emacs copies all your input to the specified
  387.      dribble file until the Emacs process is killed.
  388.  
  389.    * For possible display bugs, the terminal type (the value of
  390.      environment variable `TERM'), the complete termcap entry for the
  391.      terminal from `/etc/termcap' (since that file is not identical on
  392.      all machines), and the output that Emacs actually sent to the
  393.      terminal.
  394.  
  395.      The way to collect the terminal output is to execute the Lisp
  396.      expression
  397.  
  398.           (open-termscript "~/termscript")
  399.  
  400.      using `M-ESC' or from the `*scratch*' buffer just after starting
  401.      Emacs.  From then on, Emacs copies all terminal output to the
  402.      specified termscript file as well, until the Emacs process is
  403.      killed.  If the problem happens when Emacs starts up, put this
  404.      expression into your `.emacs' file so that the termscript file
  405.      will be open when Emacs displays the screen for the first time.
  406.  
  407.      Be warned: it is often difficult, and sometimes impossible, to fix
  408.      a terminal-dependent bug without access to a terminal of the type
  409.      that stimulates the bug.
  410.  
  411.    * A description of what behavior you observe that you believe is
  412.      incorrect.  For example, "The Emacs process gets a fatal signal,"
  413.      or, "The resulting text is as follows, which I think is wrong."
  414.  
  415.      Of course, if the bug is that Emacs gets a fatal signal, then one
  416.      can't miss it.  But if the bug is incorrect text, the maintainer
  417.      might fail to notice what is wrong.  Why leave it to chance?
  418.  
  419.      Even if the problem you experience is a fatal signal, you should
  420.      still say so explicitly.  Suppose something strange is going on,
  421.      such as, your copy of the source is out of sync, or you have
  422.      encountered a bug in the C library on your system.  (This has
  423.      happened!)  Your copy might crash and the copy here would not.  If
  424.      you *said* to expect a crash, then when Emacs here fails to crash,
  425.      we would know that the bug was not happening.  If you don't say to
  426.      expect a crash, then we would not know whether the bug was
  427.      happening.  We would not be able to draw any conclusion from our
  428.      observations.
  429.  
  430.      If the manifestation of the bug is an Emacs error message, it is
  431.      important to report not just the text of the error message but a
  432.      backtrace showing how the Lisp program in Emacs arrived at the
  433.      error.  To make the backtrace, execute the Lisp expression `(setq
  434.      debug-on-error t)' before the error happens (that is to say, you
  435.      must execute that expression and then make the bug happen).  This
  436.      causes the Lisp debugger to run, showing you a backtrace.  Copy
  437.      the text of the debugger's backtrace into the bug report.
  438.  
  439.      This use of the debugger is possible only if you know how to make
  440.      the bug happen again.  Do note the error message the first time
  441.      the bug happens, so if you can't make it happen again, you can
  442.      report at least the error message.
  443.  
  444.    * Check whether any programs you have loaded into the Lisp world,
  445.      including your `.emacs' file, set any variables that may affect the
  446.      functioning of Emacs.  Also, see whether the problem happens in a
  447.      freshly started Emacs without loading your `.emacs' file (start
  448.      Emacs with the `-q' switch to prevent loading the init file.)  If
  449.      the problem does *not* occur then, you must report the precise
  450.      contents of any programs that you must load into the Lisp world in
  451.      order to cause the problem to occur.
  452.  
  453.    * If the problem does depend on an init file or other Lisp programs
  454.      that are not part of the standard Emacs system, then you should
  455.      make sure it is not a bug in those programs by complaining to
  456.      their maintainers first.  After they verify that they are using
  457.      Emacs in a way that is supposed to work, they should report the
  458.      bug.
  459.  
  460.    * If you wish to mention something in the GNU Emacs source, show the
  461.      portion in its context.  Don't just give a line number.
  462.  
  463.      The line numbers in the development sources don't match those in
  464.      your sources.  It would take extra work for the maintainers to
  465.      determine what code is in your version at a given line number, and
  466.      we could not be certain.
  467.  
  468.    * Additional information from a debugger might enable someone to
  469.      find a problem on a machine which he does not have available.
  470.      However, you need to think when you collect this information if
  471.      you want it to be useful.
  472.  
  473.      For example, many people send just a backtrace, but that is never
  474.      useful by itself.  A simple backtrace with arguments conveys
  475.      little about what is happening inside GNU Emacs, because most of
  476.      the arguments listed in the backtrace are pointers to Lisp
  477.      objects.  The numeric values of these pointers have no
  478.      significance whatever; all that matters is the contents of the
  479.      objects they point to (and most of the contents are themselves
  480.      pointers).
  481.  
  482.      To provide useful information, you need to show the values of Lisp
  483.      objects in Lisp notation.  Do this for each variable which is a
  484.      Lisp object, in several stack frames near the bottom of the stack.
  485.      Look at the source to see which variables are Lisp objects,
  486.      because the debugger thinks of them as integers.
  487.  
  488.      To show a variable's value in Lisp syntax, first print its value,
  489.      then use the GDB command `pr' to print the Lisp object in Lisp
  490.      syntax.  (If you must use another debugger, call the function
  491.      `debug_print' with the object as an argument.)
  492.  
  493.    Here are some things that are not necessary:
  494.  
  495.    * A description of the envelope of the bug--this is not necessary
  496.      for a reproducible bug.
  497.  
  498.      Often people who encounter a bug spend a lot of time investigating
  499.      which changes to the input file will make the bug go away and which
  500.      changes will not affect it.
  501.  
  502.      This is often time consuming and not very useful, because the way
  503.      we will find the bug is by running a single example under the
  504.      debugger with breakpoints, not by pure deduction from a series of
  505.      examples.  You might as well save time by not doing this.
  506.  
  507.      Of course, if you can find a simpler example to report *instead* of
  508.      the original one, that is a convenience.  Errors in the output
  509.      will be easier to spot, running under the debugger will take less
  510.      time, etc.
  511.  
  512.      However, simplification is not vital; if you don't want to do this,
  513.      please report the bug with your original test case.
  514.  
  515.    * A patch for the bug.
  516.  
  517.      A patch for the bug is useful if it is a good one.  But don't omit
  518.      the necessary information, such as the test case, on the
  519.      assumption that a patch is all we need.  We might see problems
  520.      with your patch and decide to fix the problem another way, or we
  521.      might not understand it at all.
  522.  
  523.      And if we can't understand what bug you are trying to fix, or why
  524.      your patch should be an improvement, we mustn't install it.  A
  525.      test case will help us to understand.
  526.  
  527.      *Note Sending Patches::, for guidelines on how to make it easy for
  528.      us to understand and install your patches.
  529.  
  530.    * A guess about what the bug is or what it depends on.
  531.  
  532.      Such guesses are usually wrong.  Even experts can't guess right
  533.      about such things without first using the debugger to find the
  534.      facts.
  535.  
  536. 
  537. File: emacs,  Node: Sending Patches,  Prev: Checklist,  Up: Bugs
  538.  
  539. Sending Patches for GNU Emacs
  540. -----------------------------
  541.  
  542.    If you would like to write bug fixes or improvements for GNU Emacs,
  543. that is very helpful.  When you send your changes, please follow these
  544. guidelines to make it easy for the maintainers to use them.
  545.  
  546.    If you don't follow these guidelines, your information might still be
  547. useful, but using it will take extra work.  Maintaining GNU Emacs is a
  548. lot of work in the best of circumstances, and we can't keep up unless
  549. you do your best to help.
  550.  
  551.    * Send an explanation with your changes of what problem they fix or
  552.      what improvement they bring about.  For a bug fix, just include a
  553.      copy of the bug report, and explain why the change fixes the bug.
  554.  
  555.      (Referring to a bug report is not as good as including it, because
  556.      then we will have to look it up, and we have probably already
  557.      deleted it if we've already fixed the bug.)
  558.  
  559.    * Always include a proper bug report for the problem you think you
  560.      have fixed.  We need to convince ourselves that the change is
  561.      right before installing it.  Even if it is correct, we might have
  562.      trouble understanding it if we don't have a way to reproduce the
  563.      problem.
  564.  
  565.    * Include all the comments that are appropriate to help people
  566.      reading the source in the future understand why this change was
  567.      needed.
  568.  
  569.    * Don't mix together changes made for different reasons.  Send them
  570.      *individually*.
  571.  
  572.      If you make two changes for separate reasons, then we might not
  573.      want to install them both.  We might want to install just one.  If
  574.      you send them all jumbled together in a single set of diffs, we
  575.      have to do extra work to disentangle them--to figure out which
  576.      parts of the change serve which purpose.  If we don't have time
  577.      for this, we might have to ignore your changes entirely.
  578.  
  579.      If you send each change as soon as you have written it, with its
  580.      own explanation, then the two changes never get tangled up, and we
  581.      can consider each one properly without any extra work to
  582.      disentangle them.
  583.  
  584.    * Send each change as soon as that change is finished.  Sometimes
  585.      people think they are helping us by accumulating many changes to
  586.      send them all together.  As explained above, this is absolutely
  587.      the worst thing you could do.
  588.  
  589.      Since you should send each change separately, you might as well
  590.      send it right away.  That gives us the option of installing it
  591.      immediately if it is important.
  592.  
  593.    * Use `diff -c' to make your diffs.  Diffs without context are hard
  594.      to install reliably.  More than that, they are hard to study; we
  595.      must always study a patch to decide whether we want to install it.
  596.      Unidiff format is better than contextless diffs, but not as easy
  597.      to read as `-c' format.
  598.  
  599.      If you have GNU diff, use `diff -cp', which shows the name of the
  600.      function that each change occurs in.
  601.  
  602.    * Write the change log entries for your changes.  This is both to
  603.      save us the extra work of writing them, and to help explain your
  604.      changes so we can understand them.
  605.  
  606.      The purpose of the change log is to show people where to find what
  607.      was changed.  So you need to be specific about what functions you
  608.      changed; in large functions, it's often helpful to indicate where
  609.      within the function the change was.
  610.  
  611.      On the other hand, once you have shown people where to find the
  612.      change, you need not explain its purpose. Thus, if you add a new
  613.      function, all you need to say about it is that it is new.  If you
  614.      feel that the purpose needs explaining, it probably does--but the
  615.      explanation will be much more useful if you put it in comments in
  616.      the code.
  617.  
  618.      Please read the `ChangeLog' file to see what sorts of information
  619.      to put in, and to learn the style that we use.  If you would like
  620.      your name to appear in the header line showing who made the
  621.      change, send us the header line.
  622.  
  623.    * When you write the fix, keep in mind that we can't install a
  624.      change that would break other systems.  Please think about what
  625.      effect your change will have if compiled on another type of system.
  626.  
  627.      Sometimes people send fixes that *might* be an improvement in
  628.      general--but it is hard to be sure of this.  It's hard to install
  629.      such changes because we have to study them very carefully.  Of
  630.      course, a good explanation of the reasoning by which you concluded
  631.      the change was correct can help convince us.
  632.  
  633.      The safest changes are changes to the configuration files for a
  634.      particular machine.  These are safe because they can't create new
  635.      bugs on other machines.
  636.  
  637.      Please help us keep up with the workload by designing the patch in
  638.      a form that is clearly safe to install.
  639.  
  640. 
  641. File: emacs,  Node: Service,  Next: Command Arguments,  Prev: Bugs,  Up: Top
  642.  
  643. How To Get Help with GNU Emacs
  644. ==============================
  645.  
  646.    If you need help installing, using or changing GNU Emacs, there are
  647. two ways to find it:
  648.  
  649.    * Send a message to a suitable network mailing list.  First try
  650.      `bug-gnu-emacs@prep.ai.mit.edu', and if that brings no response,
  651.      try `help-gnu-emacs@prep.ai.mit.edu'.
  652.  
  653.    * Look in the service directory for someone who might help you for a
  654.      fee.  The service directory is found in the file named
  655.      `etc/SERVICE' in the Emacs distribution.
  656.  
  657. 
  658. File: emacs,  Node: Command Arguments,  Next: Antinews,  Prev: Service,  Up: Top
  659.  
  660. Command Line Options and Arguments
  661. **********************************
  662.  
  663.    GNU Emacs supports command line arguments to request various actions
  664. when invoking Emacs.  These are for compatibility with other editors and
  665. for sophisticated activities.  We don't recommend using them for
  666. ordinary editing.
  667.  
  668.    Arguments that are not options specify files to visit.  Emacs visits
  669. the specified files while it starts up.  (The last file name on your
  670. command line is the one you see displayed, but the rest are all there in
  671. other buffers.)
  672.  
  673.    You can use options to specify other things, such as the size and
  674. position of the Emacs window if you are running it under the X Window
  675. System.  A few arguments support advanced usage, like running Lisp
  676. functions on files in batch mode.
  677.  
  678.    There are two kinds of options: "ordinary options" and "initial
  679. options".  Ordinary options can appear in any order and can be
  680. intermixed with file names to visit.  These and file names are called
  681. "ordinary arguments".  Emacs processes all of these in the order they
  682. are written.  Initial options must come at the beginning of the command
  683. line.
  684.  
  685. * Menu:
  686.  
  687. * Ordinary Arguments::    Arguments to visit files, load libraries,
  688.               and call functions.
  689. * Initial Options::     Arguments that must come at the start of the command.
  690. * Command Example::     Examples of using command line arguments.
  691. * Resume Arguments::    Specifying arguments when you resume a running Emacs.
  692.  
  693. * Display X::           Changing the default display and using remote login.
  694. * Font X::            Choosing a font for text, under X.
  695. * Colors X::            Choosing colors, under X.
  696. * Window Size X::       Start-up window size, under X.
  697. * Borders X::            Internal and external borders, under X.
  698. * Icons X::             Choosing what sort of icon to use, under X.
  699. * Resources X::         Advanced use of classes and resources, under X.
  700.  
  701. 
  702. File: emacs,  Node: Ordinary Arguments,  Next: Initial Options,  Up: Command Arguments
  703.  
  704. Ordinary Arguments
  705. ==================
  706.  
  707.    Here is a table of the ordinary arguments and options:
  708.  
  709. `FILE'
  710.      Visit FILE using `find-file'.  *Note Visiting::.
  711.  
  712. `+LINENUM FILE'
  713.      Visit FILE using `find-file', then go to line number LINENUM in it.
  714.  
  715. `-l FILE'
  716. `-load FILE'
  717.      Load a file FILE of Lisp code with the function `load'.  *Note
  718.      Lisp Libraries::.
  719.  
  720. `-f FUNCTION'
  721. `-funcall FUNCTION'
  722.      Call Lisp function FUNCTION with no arguments.
  723.  
  724. `-insert FILE'
  725.      Insert the contents of FILE into the current buffer.  This is like
  726.      what `M-x insert-buffer' does; *Note Misc File Ops::.
  727.  
  728. `-kill'
  729.      Exit from Emacs without asking for confirmation.
  730.  
  731. 
  732. File: emacs,  Node: Initial Options,  Next: Command Example,  Prev: Ordinary Arguments,  Up: Command Arguments
  733.  
  734. Initial Options
  735. ===============
  736.  
  737.    The initial options are recognized only at the beginning of the
  738. command line.  If you use more than one of them, they must appear in the
  739. order that they appear in this table.
  740.  
  741. `-t DEVICE'
  742.      Use DEVICE as the device for terminal input and output.
  743.  
  744. `-d DISPLAY'
  745.      When running with the X window system, use the display named
  746.      DISPLAY to make the window that serves as Emacs's terminal.
  747.  
  748. `-batch'
  749.      Run Emacs in "batch mode", which means that the text being edited
  750.      is not displayed and the standard Unix interrupt characters such
  751.      as `C-z' and `C-c' continue to have their normal effect.  Emacs in
  752.      batch mode outputs to `stdout' only what would normally be printed
  753.      in the echo area under program control.
  754.  
  755.      Batch mode is used for running programs written in Emacs Lisp from
  756.      shell scripts, makefiles, and so on.  Normally the `-l' option or
  757.      `-f' option will be used as well, to invoke a Lisp program to do
  758.      the batch processing.
  759.  
  760.      `-batch' implies `-q' (do not load an init file).  It also causes
  761.      Emacs to kill itself after all command options have been
  762.      processed.  In addition, auto-saving is not done except in buffers
  763.      for which it has been explicitly requested.
  764.  
  765. `-q'
  766. `-no-init-file'
  767.      Do not load your Emacs init file `~/.emacs'.
  768.  
  769. `-u USER'
  770. `-user USER'
  771.      Load USER's Emacs init file `~USER/.emacs' instead of your own.
  772.  
  773.    The init file can get access to the values of the command line
  774. arguments as the elements of a list in the variable
  775. `command-line-args'.  (The list contains only the arguments from the
  776. first table above.  Emacs processes the arguments from the second table
  777. before building the list.)  The init file can override the normal
  778. processing of the other arguments by setting this variable.
  779.  
  780. 
  781. File: emacs,  Node: Command Example,  Next: Resume Arguments,  Prev: Initial Options,  Up: Command Arguments
  782.  
  783. Command Argument Example
  784. ========================
  785.  
  786.    Here is an example of using Emacs with arguments and options.  It
  787. assumes you have a Lisp program file called `hack-c.el' which, when
  788. loaded, performs some useful operation on current buffer, expected to be
  789. a C program.
  790.  
  791.      emacs -batch foo.c -l hack-c -f save-buffer -kill > log
  792.  
  793. This says to visit `foo.c', load `hack-c.el' (which makes changes in
  794. the visited file), save `foo.c' (note that `save-buffer' is the
  795. function that `C-x C-s' is bound to), and then exit to the shell that
  796. this command was done with.  The initial option `-batch' guarantees
  797. there will be no problem redirecting output to `log', because Emacs
  798. will not assume that it has a display terminal to work with.
  799.  
  800. 
  801. File: emacs,  Node: Resume Arguments,  Next: Display X,  Prev: Command Example,  Up: Command Arguments
  802.  
  803. Resuming Emacs with Arguments
  804. =============================
  805.  
  806.    You can specify ordinary arguments for Emacs when you resume it after
  807. a suspension.  To prepare for this, put the following code in your
  808. `.emacs' file (*note Hooks::.):
  809.  
  810.      (add-hook 'suspend-hook 'resume-suspend-hook)
  811.  
  812.    As further preparation, you must execute the shell script
  813. `emacs.csh' (if you use CSH as your shell) or `emacs.bash' (if you use
  814. BASH as your shell).  These scripts define an alias named `edit', which
  815. will resume Emacs give it new command line arguments such as files to
  816. visit.
  817.  
  818.    Only ordinary arguments work properly when you resume Emacs.  Initial
  819. arguments are not recognized.  It's too late to execute them anyway.
  820.  
  821.    Note that resuming Emacs (with or without arguments) must be done
  822. from within the shell that is the parent of the Emacs job.  This is why
  823. `edit' is an alias rather than a program or a shell script.  It is not
  824. possible to implement a resumption command that could be run from other
  825. subjobs of the shell; no way to define a command that could be made the
  826. value of `EDITOR', for example.  Therefore, this feature does not take
  827. the place of the the Emacs Server feature.  *Note Emacs Server::.
  828.  
  829.    The aliases use the Emacs Server feature if you appear to have a
  830. server Emacs running.  However, they cannot determine this with complete
  831. accuracy.  They may think that a server is still running when in
  832. actuality you have killed that Emacs, because the file `/tmp/.esrv...'
  833. still exists.  If this happens, find that file and delete it.
  834.  
  835. 
  836. File: emacs,  Node: Display X,  Next: Font X,  Prev: Resume Arguments,  Up: Command Arguments
  837.  
  838. Specifying the Display Name
  839. ===========================
  840.  
  841.    The environment variable `DISPLAY' tells all X clients where to
  842. display their windows.  Its value is set up by default in ordinary
  843. circumstances, when you start an X server and run jobs locally.
  844. Occasionally you may need to specify the display yourself; for example,
  845. if you do a remote login and want to run a client program remotely,
  846. displaying on your local screen.
  847.  
  848.    With Emacs, the main reason people change the default display is to
  849. let them log into another system, run Emacs on that system, but have the
  850. window displayed at their local terminal.  You might need to use login
  851. to another system because the files you want to edit are there, or
  852. because the Emacs executable file you want to run is there.
  853.  
  854.    The syntax of the `DISPLAY' environment variable is:
  855.  
  856.      HOST:DISPLAY.SCREEN
  857.  
  858. where HOST is the host name of the X Window System server machine,
  859. DISPLAY is an arbitrarily-assigned number that distinguishes your
  860. server (X terminal) from other servers on the same machine, and SCREEN
  861. is a rarely-used field that allows an X server to control multiple
  862. terminal screens.  The period and the SCREEN field are optional.  If
  863. included, SCREEN is usually zero.
  864.  
  865.    If your host is named `glasperle' and your server is the first (or
  866. perhaps the only) server listed in the configuration, your `DISPLAY' is
  867. `glasperle:0.0'.
  868.  
  869.    You can specify the display name explicitly when you run Emacs,
  870. either by changing the `DISPLAY' variable, or with the option `-d
  871. DISPLAY' or `-display DISPLAY'.  These are initial options; they must
  872. come at the beginning of the command line.  *Note Initial Options::.
  873. Here is an example:
  874.  
  875.      emacs -display glasperle:0 &
  876.  
  877.    You can inhibit the direct use of X with the `-nw' option.  This is
  878. also an initial option.  This option tells Emacs to display using
  879. ordinary ASCII on its controlling terminal.
  880.  
  881.    Sometimes, security arrangements prevent a program on a remote system
  882. from displaying on your local system.  In this case, trying to run Emacs
  883. produces messages like:
  884.  
  885.      Xlib:  connection to "glasperle:0.0" refused by server
  886.  
  887.    You might be able to overcome this problem by using the `xhost'
  888. command on the local system to give permission for access from your
  889. remote machine.
  890.  
  891. 
  892. File: emacs,  Node: Font X,  Next: Colors X,  Prev: Display X,  Up: Command Arguments
  893.  
  894. Font Specification Options
  895. ==========================
  896.  
  897.    By default, Emacs displays text in the font named `9x15', which
  898. makes each character nine pixels wide and fifteen pixels high.  You can
  899. specify a different font on your command line through the option `-fn
  900. NAME'.  The `-font' option is a synonym for `-fn'.
  901.  
  902.    Here is how to specify the font `6x13':
  903.  
  904.      emacs -fn 6x13 &
  905.  
  906. You can also do this in your `.Xdefaults' file:
  907.  
  908.      emacs.font:      6x13
  909.  
  910.    Use only fixed width fonts--that is, fonts in which all characters
  911. have the same width.  Emacs cannot yet handle display properly for
  912. variable width fonts.  Fixed width fonts include the one named `fixed',
  913. and fonts with names in the form NxN, such as `6x13', `8x13', and
  914. `9x15'.  Under the font-naming conventions in X11 Release 4 or later,
  915. any font with `m' or `c' in the eleventh field of the name is a fixed
  916. width font.
  917.  
  918.    Here's how to use the `xlsfonts' program to list all the fixed width
  919. fonts available on your system:
  920.  
  921.      xlsfonts -fn '*x*'
  922.      xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*'
  923.      xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*'
  924.  
  925. To see what a particular font looks like, use the `xfd' command.  For
  926. example:
  927.  
  928.      xfd -fn 6x13
  929.  
  930. displays the entire font `6x13'.
  931.  
  932.    While running Emacs, you can set the font of the current frame
  933. (*note Frame Parameters::.) or for a specific kind of text (*note
  934. Faces::.).
  935.  
  936. 
  937. File: emacs,  Node: Colors X,  Next: Window Size X,  Prev: Font X,  Up: Command Arguments
  938.  
  939. Window Color Options
  940. ====================
  941.  
  942.    On a color display, you can specify which color to use for various
  943. parts of the Emacs display.  To find out what colors are available on
  944. your system, look at the `/usr/lib/X11/rgb.txt' file.  If you do not
  945. specify colors, the default for the background is white and the default
  946. for all other colors is black.
  947.  
  948.    On a monochrome (black and white) display, the foreground is black,
  949. the background is white, and the border is grey.  You can reverse the
  950. foreground and background colors through the `-r' option or the
  951. `reverseVideo' resource.
  952.  
  953.    Here is a list of the options for specifying colors:
  954.  
  955. `-fg COLOR'
  956.      Specify the foreground color.
  957.  
  958. `-bg COLOR'
  959.      Specify the background color.
  960.  
  961. `-bd COLOR'
  962.      Specify the color of the border of the X window.
  963.  
  964. `-cr COLOR'
  965.      Specify the color of the Emacs cursor which indicates where point
  966.      is.
  967.  
  968. `-ms COLOR'
  969.      Specify the color for the mouse cursor when the mouse is in the
  970.      Emacs window.
  971.  
  972.    For example, to use a coral mouse cursor and a slate blue text
  973. cursor, enter:
  974.  
  975.      emacs -ms coral -cr 'slate blue' &
  976.  
  977. 
  978. File: emacs,  Node: Window Size X,  Next: Borders X,  Prev: Colors X,  Up: Command Arguments
  979.  
  980. Options for Window Geometry
  981. ===========================
  982.  
  983.    The `-geometry' option controls the size and position of the initial
  984. Emacs frame.  Here is the format for specifying the window geometry:
  985.  
  986.      WIDTHxHEIGHT{+-}XOFFSET{+-}YOFFSET
  987.  
  988. where WIDTH specifies the number of characters displayed on a line,
  989. HEIGHT specifies the number of lines displayed, a positive XOFFSET
  990. specifies the distance from the left side of the screen, a negative
  991. XOFFSET specifies the distance from the right side of the screen, a
  992. positive YOFFSET specifies the distance from the top of the screen, and
  993. a negative YOFFSET specifies the distance from the bottom of the screen.
  994.  
  995.    Emacs uses the same units as `xterm' does to interpret the geometry.
  996. The WIDTH and HEIGHT are measured in characters, so a large font
  997. creates a larger frame than a small font.  The XOFFSET and YOFFSET are
  998. measured in pixels.
  999.  
  1000.    Since the the mode line and the echo area occupy the last 2 lines of
  1001. the frame, the height of the initial text window is 2 less than the
  1002. height specified in your geometry.
  1003.  
  1004.    You do not have to specify all of the fields in the geometry
  1005. specification.  The default width for Emacs is 80 characters and the
  1006. default height is 24 characters.  You can omit either the width or the
  1007. height or both.
  1008.  
  1009.    If you omit both XOFFSET nor YOFFSET, the window manager decides
  1010. where to put the Emacs frame, possibly by letting you place it with the
  1011. mouse.  For example, `164x55' specifies a window 164 columns wide,
  1012. enough for two ordinary width windows side by side, and 55 lines tall.
  1013.  
  1014.    If you start the geometry with an integer, Emacs interprets it as the
  1015. width.  If you start with an `x' followed by an integer, Emacs
  1016. interprets it as the height.  Thus, `81' specifies just the width;
  1017. `x45' specifies just the height.
  1018.  
  1019.    If you start with `+' or `-', that introduces an offset, which means
  1020. both sizes are omitted.  Thus, `-3' specifies the XOFFSET only.  (If
  1021. you give just one offset, it is always XOFFSET.)  `+3-3' specifies both
  1022. the XOFFSET and the YOFFSET, placing the frame near the bottom left of
  1023. the screen.
  1024.  
  1025.    You can specify a default for any or all of the fields in
  1026. `.Xdefaults' file, and then override selected fields through a
  1027. `-geometry' option.
  1028.  
  1029. 
  1030. File: emacs,  Node: Borders X,  Next: Icons X,  Prev: Window Size X,  Up: Command Arguments
  1031.  
  1032. Internal and External Borders
  1033. =============================
  1034.  
  1035.    An Emacs frame has an internal border and an external border.  The
  1036. internal border is an extra strip of the background color around all
  1037. four edges of the frame.  Emacs itself adds the internal border.  The
  1038. external border is added by the window manager outside the internal
  1039. border; it may contain various boxes you can click on to move or iconify
  1040. the window.
  1041.  
  1042.    When you specify the size of the frame, that does not count the
  1043. borders.  The frame's position is measured from the outside edge of the
  1044. external border.
  1045.  
  1046.    Use the `-ib N' option to specify an internal border N pixels wide.
  1047. The default is 1.  Use `-b N' to specify the width of the external
  1048. border (though the window manager may add to this on certain edges).
  1049. The default width of the external border is 2.
  1050.  
  1051. 
  1052. File: emacs,  Node: Icons X,  Next: Resources X,  Prev: Borders X,  Up: Command Arguments
  1053.  
  1054. Icons
  1055. =====
  1056.  
  1057.    Most window managers allow the user to "iconify" a frame, removing
  1058. it from sight, and leaving a small, distinctive "icon" window in its
  1059. place.  Clicking on the icon window will make the original frame visible
  1060. again.  If a user has many clients running at once, they can avoid
  1061. cluttering up their screen by iconifying all but the clients currently
  1062. in use.
  1063.  
  1064.    The `-i' and `-itype' option tells Emacs to use an icon window
  1065. containing a picture of the GNU gnu.  If omitted, Emacs lets the window
  1066. manager choose what sort of icon to use -- usually just a small
  1067. rectangle containing the frame's title.
  1068.  
  1069.    The `-iconic' option tells Emacs to begin running as an icon, rather
  1070. than opening a frame right away.  In this situation, the icon window
  1071. provides only indication that Emacs has started; the usual text frame
  1072. doesn't appear until you de-iconify it.
  1073.  
  1074. 
  1075. File: emacs,  Node: Resources X,  Prev: Icons X,  Up: Command Arguments
  1076.  
  1077. X Resources
  1078. ===========
  1079.  
  1080.    Programs running under the X Window System organize their user
  1081. options under a hierarchy of classes and resources.  You can specify
  1082. default values for these options in your X resources file, usually named
  1083. `~/.Xdefaults'.
  1084.  
  1085.    Each line in the file specifies a value for one option or for a
  1086. collection of related options, for one program or for several programs
  1087. (perhaps even all programs).
  1088.  
  1089.    Programs define named resources with particular meanings.  They also
  1090. define how to group resources into named classes.  For instance, in
  1091. Emacs, the `internalBorder' resource controls the width of the internal
  1092. border, and the `borderWidth' resource controls the width of the
  1093. external border.  Both of these resources are part of the `BorderWidth'
  1094. class.  Case distinctions are significant in these names.
  1095.  
  1096.    In `~/.Xdefaults', you can specify a value for a single resource on
  1097. one line, like this:
  1098.  
  1099.      emacs.borderWidth: 2
  1100.  
  1101. Or you can use a class name to specify the same value for all resources
  1102. in that class.  Here's an example:
  1103.  
  1104.      emacs.BorderWidth: 2
  1105.  
  1106.    If you specify a value for a class, it becomes the default for all
  1107. resources in that class.  You can specify values for individual
  1108. resources as well; these override the class value, for those particular
  1109. resources.  Thus, this example specifies 2 as the default width for all
  1110. borders, but overrides this value with 4 for the external border:
  1111.  
  1112.      emacs.Borderwidth: 2
  1113.      emacs.borderwidth: 4
  1114.  
  1115.    The order in which the lines appear in the file does not matter.
  1116. Also, command-line options always override the X resources file.
  1117.  
  1118.    The string `emacs' in the examples above is also a resource name.
  1119. It actually represents the name of the executable file that you invoke
  1120. to run Emacs.  If Emacs is installed under a different name, it look
  1121. for resources under that name instead of `emacs'.
  1122.  
  1123.    You can tell Emacs to use a different name instead of the name of the
  1124. executable file, with the option `-rn NAME'.  Then that Emacs job uses
  1125. NAME instead of `Emacs' to look up all of its option values in the X
  1126. resource file.
  1127.  
  1128.    The resources that name Emacs invocations also belong to a class; its
  1129. name is `Emacs'.  To specify options for all Emacs jobs, no matter what
  1130. name is used to run them, write `Emacs' instead of `emacs', like this:
  1131.  
  1132.      Emacs.BorderWidth: 2
  1133.      Emacs.borderWidth: 4
  1134.  
  1135.    The following table lists the resource names that designate options
  1136. for Emacs, each with the class that it belongs to:
  1137.  
  1138. `background' (class `Background')
  1139.      Background color name.
  1140.  
  1141. `bitmapIcon' (class `BitMapIcon')
  1142.      Use kitchen sink icon if `on', let the window manager choose an
  1143.      icon if `off'.
  1144.  
  1145. `borderColor' (class `BorderColor')
  1146.      Color name for external border.
  1147.  
  1148. `borderWidth' (class `BorderWidth')
  1149.      Width in pixels of external border.
  1150.  
  1151. `cursorColor' (class `Foreground')
  1152.      Color name for text cursor (point).
  1153.  
  1154. `font' (class `Font')
  1155.      Font name for text.
  1156.  
  1157. `foreground' (class `Foreground')
  1158.      Color name for text.
  1159.  
  1160. `geometry' (class `Geometry')
  1161.      Window size and position.
  1162.  
  1163. `iconName' (class `Title')
  1164.      Name to display in icon.
  1165.  
  1166. `internalBorder' (class `BorderWidth')
  1167.      Width in pixels of internal border.
  1168.  
  1169. `paneFont' (class `Font')
  1170.      Font name for menu pane titles.
  1171.  
  1172. `pointerColor' (class `Foreground')
  1173.      Color of mouse cursor.
  1174.  
  1175. `reverseVideo' (class `ReverseVideo')
  1176.      Switch foreground and background default colors if `on', use
  1177.      colors as specified if `off'.
  1178.  
  1179. `selectionFont' (class `Font')
  1180.      Font name for menu items.
  1181.  
  1182. `title' (class `Title')
  1183.      Name to display in title bar of initial Emacs frame.
  1184.  
  1185.