home *** CD-ROM | disk | FTP | other *** search
/ Plex 2 / Plex2.mdf / o_progrm / e25news.txt < prev    next >
Text File  |  1994-06-14  |  144KB  |  3,411 lines

  1. GNU Emacs NEWS -- history of user-visible changes.  15 May 1994
  2. Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  3. See the end for copying conditions.
  4.  
  5. Please send Emacs bug reports to bug-gnu-emacs@prep.ai.mit.edu.
  6. For older news, see the file ONEWS.
  7.  
  8. Changes in Emacs 19.25
  9.  
  10. The variable x-cross-pointer-shape (which didn't really exist) has
  11. been renamed to x-sensitive-text-pointer-shape, and now does exist.
  12.  
  13. Changes in Emacs 19.24
  14.  
  15. Here is a list of new Lisp packages introduced since 19.22.
  16.  
  17. derived.el        Define new major modes based on old ones.
  18. dired-x.el        Extra Dired features.
  19. double.el        New mode for conveniently inputting non-beyond chars.
  20. easymenu.el        Create menus easily.
  21. ediff.el        Snazzy diff interface.
  22. foldout.el        A kind of outline mode designed for editing programs.
  23. gnus-uu.el        UUdecode in GNUS buffers.
  24. ielm.el            Interactively evaluate Lisp.
  25.              This is a replacement for Lisp Interaction Mode.
  26. iso-cvt.el        Conversion of beyond-ASCII characters between
  27.              various different representations.
  28. jka-compr.el        Automatic compression/decompression.
  29. mldrag.el        Drag modeline to change heights of windows.
  30. mail-hist.el        Provides history for headers of outgoing mail.
  31. rsz-mini.el        Automatically resizing minibuffers.
  32. s-region.el        Set region by holding shift.
  33. skeleton.el        Templates for statement insertion.
  34. soundex.el        Classifying words by how they sound.
  35. tempo.el        Template insertion with hotspots.
  36.  
  37. User Editing Changes in 19.23.
  38.  
  39. * Emacs 19.23 uses Ispell version 3.
  40.  
  41. Previous Emacs 19 versions used Ispell version 4.  That version had
  42. improvements in storing the dictionary compactly, but these are not
  43. very important nowadays.  Meanwhile, in parallel to the work on Ispell
  44. 4, many useful features were added to Ispell 3.  Until a few months
  45. ago, the terms on Ispell 3 did not let us use it; but they have now
  46. been changed, so now we are using it.  We are dropping Ispell 4.
  47.  
  48. * Emacs 19.23 can run on MS-DOG.  See the file MSDOS in the same
  49. directory as this file.
  50.  
  51. * Emacs 19.23 can work with an X toolkit.  You must specify toolkit
  52. operation when you configure Emacs: use the option
  53. --with-x-toolkit=yes.  (This option uses code developed by Lucid;
  54. thanks to Frederic Pierresteguy for helping to adapt it.)
  55.  
  56. * Emacs now has dialog boxes; yes/no and y/n questions automatically
  57. use them in commands invoked with the mouse.  For more information,
  58. see below under "Lisp programming changes".
  59.  
  60. * Menus now display the keyboard equivalents (if any) of the menu
  61. commands in parentheses after the menu item.
  62.  
  63. * Kill commands, used in a read-only buffer, now move point across
  64. the text they would otherwise have killed.  This way, you can use
  65. repeated kill commands to transfer text into the kill ring.
  66.  
  67. * There is now a global mark ring in addition to the mark ring that is local
  68. to each buffer.  The global mark ring stores positions in any buffer.  Any
  69. time the mark is set and the current buffer is different from the last time
  70. the mark was set, the new mark is pushed on the global mark ring as well.
  71. The new command C-x C-SPC (pop-global-mark) pops the global mark ring and
  72. jumps to the last mark pushed, first switching to that buffer.
  73.  
  74. * Query Replace is now available in the Edit menu.
  75.  
  76. * ESC no longer simply exits a Query Replace.  It now exits the Query
  77. Replace and remains pending.  Thus, ESC A and M-A are now equivalent
  78. in Query Replace.
  79.  
  80. To simply exit a Query Replace, type RET or Period.
  81.  
  82. * M-mouse-2 now puts point at the end of the yanked secondary selection.
  83.  
  84. * Mouse-1 in the mode line now simply selects the window above that
  85. mode line.  Mouse-2 in the mode line selects that window and expands
  86. it to fill the frame it is in.
  87.  
  88. * You can now use mouse-2 in a Dired buffer or Tar mode buffer to find
  89. a file you click on, in a compilation buffer to go to a particular
  90. error message, and in a *Occur* buffer to go to a particular
  91. occurrence.
  92.  
  93. (It was already possible to do likewise in Info and in completion list
  94. buffers.)
  95.  
  96. What's more, the sensitive areas of the buffer now highlight when you
  97. move the mouse over them.
  98.  
  99. * In a completion list buffer, the command RET now chooses the completion
  100. that is around or next to point.
  101.  
  102. * If you specify the foreground color for the `mode-line' face, and
  103. mode-line-inverse-video is non-nil, then the default background color
  104. is the usual foreground color.
  105.  
  106. * revert-buffer now preserves markers pointing within the unchanged
  107. text (if any) at the beginning and end of the file.
  108.  
  109. * Version control checkin and checkout preserve all markers if the
  110. file does not contain any of the magic version header sequences that
  111. are updated automatically by RCS and SCCS.  If such version headers
  112. are present, checkin and checkout preserve a marker unless it comes
  113. between two such sequences.  (So it's a good idea to put all the
  114. header sequences close together.)
  115.  
  116. * When a large deletion shuts off auto save temporarily in a buffer,
  117. you can now turn it on again by saving the buffer with C-x C-s (as was
  118. possible in Emacs 18).  You can also turn it on again with M-1 M-x
  119. auto-save (as has been possible in Emacs 19).
  120.  
  121. * C-x r d now runs the command delete-rectangle.
  122.  
  123. * The new command imenu shows you a menu of interesting places in the
  124. current buffer and lets you select one; then it moves point there.
  125. The definition of interesting places depends on the major mode, but
  126. typically this includes function definitions and such.  Normally,
  127. imenu displays the menu in a buffer; but if you bind it to a mouse
  128. event, it shows a mouse popup menu.
  129.  
  130. * You can make certain chosen buffers, that normally appear in a
  131. separate window, appear in special frames of their own.  To do this,
  132. set special-display-buffer-names to a list of buffer names; any buffer
  133. whose name is in that list automatically gets a special frame when it
  134. is to be displayed in another window.
  135.  
  136. A good value to try is ("*compilation*" "*grep*" "*TeX Shell*").
  137.  
  138. More generally, you can set special-display-regexps to a list of regular
  139. expressions; then each buffer whose name matches any of those regular
  140. expressions gets its own frame.
  141.  
  142. The variable special-display-frame-alist specifies the frame
  143. parameters for these frames.  It has a default value, so you don't
  144. need to set it.
  145.  
  146. * If you set sentence-end-double-space to nil, the fill commands
  147. expect just one space at the end of a sentence.  (If you want the
  148. sentence commands to accept single spaces, you must modify the regexp
  149. sentence-end also.)
  150.  
  151. * You can suppress the startup echo area message by adding text like
  152. this to your .emacs file:
  153.  
  154. (setq inhibit-startup-echo-area-message "YOUR-LOGIN-NAME")
  155.  
  156. Simply setting inhibit-startup-echo-area-message to your login name is
  157. not sufficient to inhibit the message; Emacs explicitly checks whether
  158. .emacs contains an expression as shown above.  Your login name must
  159. appear in the expression as a Lisp string constant.
  160.  
  161. This way, you can easily inhibit the message for yourself if you wish,
  162. but thoughtless copying of your .emacs file will not inhibit the
  163. message for someone else.
  164.  
  165. * Outline minor mode now uses C-c C-o as a prefix instead of just C-c.
  166.  
  167. * In Outline mode, hide-subtree is now C-c C-d.  (It was C-c C-h; but
  168. that is now a conventional way to ask for help about C-c commands.)
  169.  
  170. * There are two additional commands in Outline mode.
  171. M-x hide-sublevels
  172.   hides all headers except the topmost N levels.
  173. M-x hide-other
  174.   hides everything about the body that point is in
  175.   plus the headers leading up from there to the top of the tree.
  176.  
  177. * In iso-transl and iso-insert, the sequences for entering A-ring and
  178. the AE ligature are now just A and E (plus the initial C-x 8 or Alt).
  179. You used to have to enter AA or AE, after the C-x 8 prefix of course.
  180. Likewise for lower case a-ring and ae.
  181.  
  182. * iso-transl now defines convenient Alt keys as well as the C-x 8 prefix.
  183. Instead of prefixing a sequence with C-x 8, you can add Alt to the
  184. first character of the sequence.  For example, Alt-" a is now a way
  185. to enter an a-umlaut.
  186.  
  187. * CC mode is a greatly improved mode for C and C++.
  188. See the following page.
  189.  
  190. * tcl mode is a new major mode.  It provides features for
  191. editing, indenting and running tcl programs.
  192.  
  193. * Compilation minor mode lets you parse error messages in any buffer,
  194. not just a normal compilation output buffer.  Type M-x
  195. compilation-minor-mode to enable the minor mode; then C-c C-c jumps to
  196. the source location for the error at point, as in the `*compilation*'
  197. buffer.  If you use compilation-minor-mode in an Rlogin buffer, it
  198. automatically accesses remote source files by ftp.
  199.  
  200. * Comint and shell mode changes:
  201.  
  202. ** Comint modes (including Shell mode, GUD modes, etc.) now bind
  203. C-M-l to the command comint-show-output.  This command scrolls the
  204. buffer to show the last batch of output from the subprogram.
  205.  
  206. ** Completion in Comint modes now truly operates on the string before
  207. point, rather than the word that point is within.
  208.  
  209. ** Comint mode file name completion ignores those files that end with a
  210. string in the new variable comint-completion-fignore.  This variable's
  211. default value is nil.
  212.  
  213. ** Shell mode uses the variable shell-completion-fignore to set
  214. comint-completion-fignore.  The default value is nil, but some
  215. people prefer ("~" "#" "%").
  216.  
  217. ** The function `comint-watch-for-password-prompt' can be used to 
  218. suppress echoing when a subprocess asks for a password.  To use it,
  219. do this:
  220.  
  221. (add-hook `comint-output-filter-functions
  222.       `comint-watch-for-password-prompt)
  223.  
  224. ** You can use M-x shell-strip-ctrl-m to strip ^M characters from
  225. process output.
  226.  
  227. ** In Shell mode, TAB now completes environment variables, if possible,
  228. and expands directory references.
  229.  
  230. ** You can use M-x comint-run to execute any program of your choice in
  231. a comint mode.  Some programs such as shells, rlogin, and debuggers
  232. have their own specialized modes; this command is one way to use
  233. comint to run programs for which no such specialized mode exits.  (You
  234. can also run a shell with M-x shell and run the program of your choice
  235. under the shell--but that gives you the specializations of Shell
  236. mode.)
  237.  
  238. * When you run GUD (M-x gdb, M-x dbx, and so on), you can use TAB
  239. to do file name completion in the minibuffer.
  240.  
  241. The "Complete" menu includes an item for directory expansion.
  242.  
  243. * GUD working with future versions of GDB will permit TAB for
  244. GDB-style symbol completion.  This will work with GDB 4.13.
  245.  
  246. * Rmail no longer gets new mail automatically when you visit an Rmail
  247. file specified by name--not even if it is your primary Rmail file.  To
  248. get new mail, type `g'.  This feature is an advantage because you now
  249. have a choice of whether to get new mail.  (This change actually
  250. occurred in an earlier version, but wasn't listed here then, since it
  251. made the code do what the documentation already said.)
  252.  
  253. * Rmail now highlights certain fields automatically, when you use X
  254. windows.  The variable rmail-highlighted-headers controls which
  255. fields.
  256.  
  257. * If you set rmail-summary-window-size to an integer, Rmail uses
  258. a window that many lines high for the summary buffer.
  259.  
  260. * rmail-input-menu is a new command that visits an Rmail file letting
  261. you choose which file with a mouse menu.  rmail-output-menu is
  262. similar; it outputs the current message, using a mouse menu to choose
  263. which Rmail file.  These commands use the variables
  264. rmail-secondary-file-directory and rmail-secondary-file-regexp.
  265.  
  266. * The mh-e package has been changed substantially.
  267. See the file ./MH-E-NEWS for details.
  268.  
  269. * The calendar and diary have new features.
  270.  
  271. The menu bar for the calendar contains most of the calendar commands,
  272. arranged into logical categories.
  273.  
  274. Mouse-2 now performs specific-date-related commands when clicked on a
  275. date in the calendar window and common three-month-related commands
  276. when clicked elsewhere in the calendar window.
  277.  
  278. You can set up colored/shaded highlighting of holidays, diary entry
  279. dates, and today's date, by setting calendar-holiday-marker,
  280. diary-entry-marker, and calendar-today-marker to a face instead of a
  281. character.  Using a special face is now the default if you are using a
  282. window system.
  283.  
  284. * The appt package for displaying appointment reminders has new
  285. features.
  286.  
  287. ** The appt alarm window stays for the full duration of
  288. appt-display-duration.  It no longer disappears when you start typing
  289. text.
  290.  
  291. ** You can change the way the appointment window is created/deleted by
  292. setting the variables appt-disp-window-function and
  293. appt-delete-window-function.
  294.  
  295. For instance, these variables can be set to functions that display
  296. appointments in pop-up frames, which are lowered or iconified after
  297. appt-display-duration seconds.
  298.  
  299. * desktop.el can now save a list of buffer-local variables,
  300. and saves more global ones.
  301.  
  302. * Pascal mode has been completely rewritten.  It now features
  303. completing of function names, variables and type definitions around
  304. current point (like M-TAB does with lisp-symbols).  There's also an
  305. outline mode (M-x pascal-outline) that hides the bodies of all
  306. functions you're not working with.
  307.  
  308. * Edebug has a number of changes:
  309.  
  310. ** Edebug syntax error reporting is improved.
  311.  
  312. ** Top-level forms and defining forms other than defun and defmacro may
  313. now be debugged with Edebug.
  314.  
  315. ** Edebug specifications may now contain body, &define, name, arg or
  316. arglist, def-body, and def-form, to support definitions.
  317.  
  318. ** edebug-all-defuns is renamed to edebug-all-defs.
  319. def-edebug-form-spec is replaced by def-edebug-form whose arguments
  320. are unevaluated.  The old names are still available for now.
  321.  
  322. ** Frequency counts and coverage data may be displayed for functions being
  323. debugged.
  324.  
  325. ** A global break condition is now checked at every stop point.
  326.  
  327. ** The previous condition at a breakpoint may now be edited.
  328.  
  329. ** A new "next" mode stops only after expression evaluation.
  330.  
  331. ** A new command, top-level-nonstop, does not even stop for unwind-protect,
  332. as top-level would.
  333.  
  334. Changes in CC mode in Emacs 19.23.
  335.  
  336. `cc-mode' provides ANSI C, K&R C, and ARM C++ language editing.  It
  337. represents the merge of c++-mode.el and c-mode.el.  cc-mode provides a
  338. new, more flexible indentation engine so that indentation
  339. customization is more intuitive.  There are two steps to calculating
  340. indentation: first, CC mode analyzes the line for syntactic content,
  341. then based on this content it applies user defined offsets and adds
  342. this offset to the indentation of some previous line.
  343.  
  344. The syntactic analysis determines if the line describes a `statement',
  345. `substatement', `class-open', `member-init-intro', etc.  These are
  346. described in detail with C-h v c-offsets-alist.  You can change the
  347. offsets interactively with C-c C-o (c-set-offsets), or
  348. programmatically in your c-mode-common-hook, which is run both by
  349. c-mode and c++-mode.  You can also set up "styles" in the same way
  350. that you could with c-mode.el.   The variable c-basic-offset controls
  351. the basic offset given to a level of indentation.
  352.  
  353. If, for example, you wanted to change this style:
  354.  
  355. int foo (int i) 
  356. {
  357.     switch (i) {
  358.     case 1:
  359.         printf ("its a foo\n");
  360.         break;
  361.     default:
  362.         printf ("don't know what it is\n");
  363.         break;
  364.     }
  365. }
  366.  
  367. into this:
  368.  
  369. int foo (int i) 
  370. {
  371.     switch (i) {
  372.       case 1:
  373.         printf ("its a foo\n");
  374.         break;
  375.       default:
  376.         printf ("don't know what it is\n");
  377.         break;
  378.     }
  379. }
  380.  
  381. you could add the following to your .emacs file:
  382.  
  383. (defun my-c-mode-common-hook ()
  384.   (c-set-offset 'case-label 2)
  385.   (c-set-offset 'statement-case-intro 2))
  386. (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
  387.  
  388. * New variables:
  389.  
  390. c-offsets-alist contains an association list of syntactic symbols and
  391. their relative offsets.  Do a "C-h v c-offsets-alist" to get a list of
  392. all syntactic symbols currently defined, and their meanings.  You
  393. should not change this variable directly; use the supplied interface
  394. commands c-set-offset and c-set-style.
  395.  
  396. c-mode-common-hook is run by both c-mode and c++-mode during their
  397. common initializations.  You should put any customizations that are
  398. the same for both C and C++ into this hook.
  399.  
  400. The variable c-strict-semantics-p is used mainly for debugging.  When
  401. non-nil, CC mode signals an error if it returns a syntactic symbol
  402. that can't be found in c-offsets-alist.
  403.  
  404. If you want CC mode to echo the syntactic analysis for a particular
  405. line when you hit the TAB key, set c-echo-semantic-information-p to
  406. non-nil.
  407.  
  408. c-basic-offset controls the standard amount of offset for a level of
  409. indentation.  You can set a syntactic symbol's offset to + or - as a
  410. short-hand for positive or negative c-basic-offset.
  411.  
  412. c-comment-only-line-offset lets you control indentation given to lines
  413. which contain only a comment, in the case of C++ line style comments,
  414. or the introduction to a C block comment.  Comment-only lines at
  415. column zero can be anchored there independent of the indentation given
  416. to other comment-only lines.
  417.  
  418. c-block-comments-indent-p controls the style of C block comment
  419. re-indentation.  If you put leading stars in front of comment
  420. continuation lines, you should set this variable to nil.
  421.  
  422. c-cleanup-list is a list describing certain C and C++ constructs to be
  423. "cleaned up" as they are typed, but only when the auto-newline feature
  424. is turned on.  In C++, make sure this variable contains at least
  425. 'scope-operator so that double colons will not be separated by a
  426. newline.
  427.  
  428. Colons (`:') and braces (`{` and `}') are special in C and C++.  For
  429. certain constructs, you may like them to hang on the right edge of the
  430. code, or you may like them to start a new line of code.  You can use
  431. the two variables c-hanging-braces-alist and c-hanging-colons-alist
  432. to control whether newlines are placed before and/or after colons and
  433. braces when certain C and C++ constructs are entered.  For example,
  434. you can control whether the colon that introduces a C++ member
  435. initialization list hangs on the right edge, starts a new line, or has
  436. no newlines either before or after it.
  437.  
  438. c-special-indent-hook is run after a line is indented by CC mode.  You
  439. can perform any custom indentations here.
  440.  
  441. c-delete-function is the function that is called when a single
  442. character is deleted with the c-electric-delete command (DEL).
  443.  
  444. c-electric-pound-behavior describes what happens when you enter the
  445. `#' that introduces a cpp macro.
  446.  
  447. If c-tab-always-indent is neither t nor nil, then TAB inserts a tab
  448. when within strings, comments, and cpp directives, but it reindents
  449. the line unconditionally.
  450.  
  451. c-inhibit-startup-warnings-p inhibits warnings about any old
  452. version of Emacs you might be running, which could be incompatible
  453. with cc-mode.
  454.  
  455. * There are two new minor-mode features in CC mode: auto-newline and
  456. hungry-delete.  Auto-newline inserts newlines automatically as you
  457. type certain constructs.  Hungry-delete consumes all preceding
  458. whitespace (spaces, tabs, and newlines) when the delete key is hit.
  459. You can toggle auto-newline on and off on a per-buffer basis by
  460. hitting C-c C-a.  You can toggle hungry-delete on and off by hitting
  461. C-c C-d.   You can toggle them both on and off together with C-c C-t.
  462.  
  463. * Slash (`/') and star (`*') are now both electric characters.
  464.  
  465. * New commands:
  466.  
  467. The new C-c C-o (c-set-offset) command can be used to interactively change
  468. the offset for a particular syntactic symbol.
  469.  
  470. The new command C-c : (c-scope-operator) inserts the C++ scope operator in
  471. c++-mode only.
  472.  
  473. The new command C-c C-q (c-indent-defun) indents the entire enclosing
  474. top-level function or class.
  475.  
  476. The new command C-c C-s (c-show-semantic-information) echos the current
  477. syntactic analysis without re-indenting the current line.
  478.  
  479. The new commands M-x c-forward-into-nomenclature and M-x
  480. c-backward-into-nomenclature (currently otherwise unbound to a key
  481. sequence), make movement easier when using the C++ variable naming
  482. convention of VariableNamesWithoutUnderscoresButEachWordCapitalized.
  483.  
  484. * Command from c-mode.el that have been renamed in cc-mode.el:
  485.  
  486.   electric-c-brace      => c-electric-brace
  487.   electric-c-semi       => c-electric-semi&comma
  488.   electric-c-sharp-sign => c-electric-pound
  489.   mark-c-function       => c-mark-function
  490.   electric-c-terminator => c-electric-colon
  491.   indent-c-exp          => c-indent-exp
  492.   set-c-style           => c-set-style
  493.  
  494. * Variables from c-mode.el that are obsolete with cc-mode.el:
  495.  
  496.   c-indent-level
  497.   c-brace-imaginary-offset
  498.   c-brace-offset
  499.   c-argdecl-indent
  500.   c-label-offset
  501.   c-continued-statement-offset
  502.   c-continued-brace-offset
  503.  
  504. Lisp programming changes in Emacs 19.23.
  505.  
  506. * To pop up a dialog box, call x-popup-dialog.
  507. It takes two arguments, POSITION and CONTENTS.
  508.  
  509. POSITION specifies which frame to place the dialog box over;
  510. the dialog box always goes on the center of the frame.
  511. POSITION may be a mouse event, a window, a frame,
  512. or t meaning use the frame that the mouse is in.
  513.  
  514. CONTENTS specifies the contents of the dialog box.
  515. It looks like a single pane of a popup menu:
  516. (TITLE ITEM1 ITEM2 ...), where each ITEM has the form (STRING . VALUE).
  517. The return value is VALUE from the chosen item.
  518.  
  519. An ITEM may also be just a string--that makes a nonselectable item.
  520. An ITEM may also be nil--that means to put all preceding items
  521. on the left of the dialog box and all following items on the right.
  522. (By default, approximately half appear on each side.)
  523.  
  524. If your Emacs is not using an X toolkit, then it cannot display a
  525. real dialog box; so instead it displays a pop-up menu in the center
  526. of the frame.
  527.  
  528. * y-or-n-p, yes-or-no-p and map-y-or-n-p now use menus or dialog boxes
  529. to ask their question(s) if the command that is running was reached by
  530. a mouse event.
  531.  
  532. If you want to control which way these functions work, bind the
  533. variable last-nonmenu-event around the call.  These functions use the
  534. keyboard if that variable holds a keyboard event (actually, any
  535. non-list); they use the mouse if that variable holds a mouse event
  536. (actually, any list).
  537.  
  538. * The mouse-face property is now implemented, both in overlays and as
  539. a text property.  It specifies a face to use when the mouse is in the
  540. range of text for which the property is specified.
  541.  
  542. * When text has a non-nil `intangible' property, you cannot move point
  543. within it or right before it.  If you try, point actually moves to the
  544. end of the intangible text.  Note that this means that backward-char
  545. is a no-op when there is an intangible character to the left of point.
  546.  
  547. * minibuffer-exit-hook is a new normal hook that is run when you
  548. exit the minibuffer.
  549.  
  550. * The variable x-cross-pointer-shape specifies the cursor shape to use
  551. when the mouse is over text that has a mouse-face property.
  552.  
  553. * The new variable interpreter-mode-alist specifes major modes to use
  554. for shell scripts that specify a command interpreter.  Its elements
  555. look like (INTERPRETER . MODE); for example, ("perl" . perl-mode) is
  556. one element present by default.  This feature applies only when the
  557. file name doesn't indicate which mode to use.
  558.  
  559. * If you use a minibuffer-only frame, set the variable
  560. minibuffer-auto-raise to t, and entering the minibuffer will then
  561. raise the minibuffer frame.
  562.  
  563. * If pop-up-frames is t, display-buffer now looks for an existing
  564. window in any visible frame, showing the specified buffer, and uses
  565. such a window in preference to making a new frame.
  566.  
  567. * In the functions next-window, previous-window, next-frame,
  568. previous-frame, get-buffer-window, get-lru-window, get-largest-window
  569. and delete-windows-on, if you specify `visible' for the last argument,
  570. it means to consider all visible frames.
  571.  
  572. * Mouse events now give the X and Y coordinates in pixels, rather than
  573. in characters.  You can convert these values to characters by dividing by
  574. the values of (frame-char-width) and (frame-char-height).
  575.  
  576. * The new functions mouse-pixel-position and set-mouse-pixel-position
  577. read and set the mouse position in units of pixels.  The existing
  578. functions mouse-position and set-mouse-position continue to work with
  579. units of characters.
  580.  
  581. * The new function compute-motion is useful for computing the width
  582. of certain text when it is displayed.
  583.  
  584. * The function vertical-motion now takes an option second argument WINDOW
  585. which says which window to use for the display calculations.
  586.  
  587. vertical-motion always operates on the current buffer.
  588. It is ok to specify a window displaying some other buffer.
  589. Then vertical-motion uses the width, hscroll and display-table of
  590. the specified window, but still scans the current buffer.
  591.  
  592. * An error no longer sets last-command to t; the value of last-command
  593. does reflect the previous command (the one that got an error).
  594.  
  595. If you do not want a particular command to be recognized as the
  596. previous command in the case where it got an error, you must code that
  597. command to prevent this.  Set this-command to t at the beginning of
  598. the command, and set this-command back to its proper value at the end,
  599. like this:
  600.  
  601.   (defun foo (args...)
  602.     (interactive ...)
  603.     (setq this-command t)
  604.     ...do the work...
  605.     (setq this-command 'foo))
  606.  
  607. or like this:
  608.  
  609.   (defun foo (args...)
  610.     (interactive ...)
  611.     (let ((old-this-command this-command))
  612.       (setq this-command t)
  613.       ...do the work...
  614.       (setq this-command old-this-command)))
  615.  
  616. The undo and yank commands do this.
  617.  
  618. * If you specify an explicit title for a new frame when you create it,
  619. the title is used as the resource name when looking up X resources to
  620. control the shape of that frame.  If you don't specify the frame title, 
  621. the value of x-resource-name is used, as before.
  622.  
  623. * The frame parameter user-position, if non-nil, says that the user
  624. has specified the frame position.  Emacs reports this to the window
  625. manager, to tell it not to override the position that the user
  626. specified.
  627.  
  628. * Major modes can now set change-major-mode-hook to arrange for state
  629. to be cleaned up when the user switches to a new major mode.  The function
  630. kill-all-local-variables runs this hook.  For best results, make the hook a
  631. buffer-local variable so that it will disappear after doing its job and will
  632. not interfere with the subsequent major mode.
  633.  
  634. * The new variable overriding-local-map, if non-nil, specifies a keymap
  635. that overrides the current local map, all minor mode keymaps, and all
  636. text property keymaps.  Incremental search uses this feature to override
  637. all other keymaps temporarily.
  638.  
  639. * A key definition in a menu keymap can now have additional structure:
  640. in addition to (ITEMNAME [HELPSTRING] . COMMAND) which was allowed
  641. before, the form (ITEMNAME [HELPSTRING] (...) . COMMAND) is
  642. allowed.  (HELPSTRING is optional, and is not currently used.)
  643.  
  644. Here (...) represents a sublist containing information about keyboard
  645. key sequences that run the same command COMMAND.  Displaying the menu
  646. automatically creates and updates the sublist when appropriate; you
  647. need never set these up yourself.
  648.  
  649. lookup-key, key-binding, and similar functions return just COMMAND,
  650. not the whole binding.
  651.  
  652. To precompute this information for a given keymap, you can do
  653.   (x-popup-menu nil KEYMAP).
  654.  
  655. * When you specify coordinates for x-popup-menu as a list ((XOFFSET
  656. YOFFSET) WINDOW), the coordinates are now measured in pixels.
  657.  
  658. * where-is-internal now takes just four arguments:
  659. DEFINITION KEYMAP FIRSTONLY NOINDIRECT.
  660. The single argument KEYMAP replaces two arguments KEYMAP and KEYMAP1.
  661.  
  662. If KEYMAP is non-nil, where-is-internal searches only KEYMAP and the
  663. global keymap.
  664.  
  665. If KEYMAP is nil, where-is-internal searches all the currently active
  666. keymaps, but finds the active keymaps as if overriding-local-map were
  667. nil.
  668.  
  669. If you pass a list of the form (keymap) as KEYMAP, where-is-internal
  670. searches only the global map.  (This is not a special case--it follows
  671. from the specifications above.)
  672.  
  673. If you pass the value of overriding-local-map as KEYMAP, where-is-internal
  674. searches in exactly the same was as command execution does.
  675.  
  676. * Use the macro define-derived-mode to define a new major mode that
  677. inherits the definition of another major mode.  Here's how to define a
  678. command named hypertext-mode that inherits from the command text-mode:
  679.  
  680.     (define-derived-mode hypertext-mode text-mode "Hypertext"
  681.       "Major mode for hypertext.\n\n\\{hypertext-mode-map}"
  682.       (setq case-fold-search nil))
  683.  
  684.     (define-key hypertext-mode-map [down-mouse-3] 'do-hyper-link)
  685.  
  686. The new mode has its own keymap, which inherits from that of the
  687. original mode.  It also has its own syntax and abbrev tables, which
  688. are initialized by copying those of the original mode.  It also has
  689. its own mode hook.  All are given names made by appending a suffix
  690. to the name of the new mode.
  691.  
  692. * A syntax table can now inherit the data for some characters from
  693. standard-syntax-table, while specifying other characters itself.
  694. Syntax code 13 means "inherit this character from the standard syntax
  695. table."  In modify-syntax-entry, the character `@' represents this code.
  696.  
  697. The function `make-syntax-table' now creates a syntax table which
  698. inherits all letters and control characters (0 to 31 and 128 to 255)
  699. from the standard syntax table, while copying the other characters
  700. from the standard syntax table.  Most syntax tables in Emacs are set
  701. up this way.
  702.  
  703. This sort of inheritance is useful for people who set up character
  704. sets with additional alphabetic characters in the range 128 to 255.
  705. Just changing the standard syntax for these characters affects all
  706. major modes.
  707.  
  708. * The new function transpose-regions swaps two regions of the buffer.
  709. It preserves the markers in those two regions, so that they stay with
  710. the surrounding text as it is swapped.
  711.  
  712. * revert-buffer now runs before-revert-hook at the beginning and
  713. after-revert-hook at the end.  These can be used by minor modes
  714. that need to clean up state variables.
  715.  
  716. * The new function get-char-property is like get-text-property, but
  717. checks for overlays with properties as well as for text properties.
  718. It checks for overlays first, in order of descending priority, and
  719. text properties last.
  720.  
  721. get-char-property allows windows as the OBJECT argument, as well
  722. as buffers and strings.  If you specify a window, then only overlays
  723. active on that window are considered.
  724.  
  725. * Overlays can have the `invisible' property.
  726.  
  727. * The function insert-file-contents now takes an optional fifth 
  728. argument called REPLACE.  If this is t, it means to replace the
  729. contents of the buffer (actually, just the accessible portion)
  730. with the contents of the file.
  731.  
  732. This is better than simply deleting and inserting the whole thing
  733. because (1) it preserves some marker positions and (2) it puts less
  734. data in the undo list.
  735.  
  736. * If you set auto-save-list-file-name to a non-nil value, it specifies
  737. a file; then auto-saving writes a list of all auto save file names of
  738. all Emacs buffers into that file.
  739.  
  740. * The variable inhibit-first-line-modes-regexps specifies classes of
  741. file names for which -*- on the first line should not be looked for.
  742.  
  743. * The variables before-change-functions and after-change-functions
  744. hold lists of functions to call before and after a change in the
  745. buffer's text.  They work much like before-change-function and
  746. after-change-function, except that they hold a list of functions
  747. instead of just one.
  748.  
  749. These variables will eventually make before-change-function and
  750. after-change-function obsolete.
  751.  
  752. * The variable kill-buffer-query-functions holds a list of functions
  753. to be called with no arguments when a buffer is about to be killed.
  754. (That buffer is the current buffer when the function is called.)
  755. If any of the functions returns nil, the buffer is not killed
  756. (and the remaining functions in the list are not called).
  757.  
  758. * The variable kill-emacs-query-functions holds a list of functions
  759. to be called with no arguments when you ask to exit Emacs.
  760. If any of the functions returns nil, the exit is canceled
  761. (and the remaining functions in the list are not called).
  762.  
  763. * The argument for buffer-disable-undo is now optional,
  764. like the argument for buffer-enable-undo.
  765.  
  766. * The new variable system-configuration holds the canonical three-part
  767. GNU configuration name for which Emacs was built.
  768.  
  769. * The function system-name now tries harder to return a fully qualified
  770. domain name.
  771.  
  772. * The variable emacs-major-version holds the major version number
  773. of Emacs.  (Currently 19.)
  774.  
  775. * The variable emacs-minor-version holds the minor version number
  776. of Emacs.  (Currently 23.)
  777.  
  778. * The default value of comint-input-autoexpand is now nil.
  779. However, Shell mode sets it from the value of shell-input-autoexpand,
  780. whose default value is `history'.
  781.  
  782. * The new function set-process-window-size specifies the terminal window
  783. size for a subprocess.  On some systems it sends the subprocess a signal
  784. to let it know that the size has changed.
  785.  
  786. * %P is a new way to display a percentage in the mode line.  It
  787. displays the percentage of the buffer text that is above the *bottom*
  788. of the window (which includes the text visible, in the window as well
  789. as the text above the top).  It dispays `Top' as well as the
  790. percentage if the top of the buffer is visible on screen.
  791.  
  792. * %+ in the mode line specs displays `*' if the buffer is modified,
  793. and otherwise `-'.  It never displays `%', as `%*' would do; whether the
  794. buffer is read-only has no effect on %+.
  795.  
  796. * The new functions ffloor, fceil, fround and ftruncate take a
  797. floating point argument and return a floating point result whose value
  798. is a nearby integer.  ffloor returns the nearest integer below; fceil,
  799. the nearest integer above; ftrucate, the nearest integer in the
  800. direction towards zero; fround, the nearest integer.
  801.  
  802. * Setting `print-escape-newlines' to a non-nil value now also makes
  803. formfeeds print as ``\f''.
  804.  
  805. * auto-mode-alist now has a new feature.  If an element has the form
  806. (REGEXP FUNCTION t), and REGEXP matches the file name, then after calling
  807. FUNCTION, Emacs deletes the part of the file name that matched REGEXP
  808. and then searches auto-mode-alist again for a new match.
  809.  
  810. This is useful for uncompression packages.  An entry of this sort for
  811. .gz can uncompress the file and then put the uncompressed file in the
  812. proper mode according to the name sans .gz.
  813.  
  814. * The new function emacs-pid returns the process ID number of Emacs.
  815.  
  816. * user-login-name now consistently checks the LOGNAME environment
  817. variable before USER.  user-original-login-name is obsolete, since it
  818. provides the same functionality.  To ignore the environment variables,
  819. use user-real-login-name.
  820.  
  821. * There is a more general way of handling the system-specific X
  822. keysyms.  Set the variable system-key-alist to an alist containing
  823. elements of the form (CODE . SYMBOL), where CODE is the numeric keysym
  824. code minus the "vendor specific" bit, and symbol is the name for the
  825. function key.
  826.  
  827. * You can use the variable command-line-functions to set up functions
  828. to process unrecognized command line arguments.  The variable's value
  829. should be a list of functions of no arguments.  The functions are
  830. called successively until one of them returns non-nil.
  831.  
  832. Each function should access the free variables argi (the current
  833. argument) and command-line-args-left (the remaining arguments).  The
  834. function should return non-nil only if it recognizes and processes the
  835. argument in argi.  If it does so, it may consume following arguments
  836. as well by removing them from command-line-args-left.
  837.  
  838. * There's a new way for a magic file name handler to run a primitive
  839. and inhibit handling of the file name.  Here is how to do it:
  840.  
  841. (let ((inhibit-file-name-handlers
  842.        (cons 'ange-ftp-file-handler 
  843.              (and (eq inhibit-file-name-operation operation)
  844.                       inhibit-file-name-handlers)))
  845.       (inhibit-file-name-operation operation))
  846.   (apply this-operation args))
  847.  
  848. The function find-file-name-handler now takes two arguments.  The
  849. second argument is OPERATION, the operation for which the handler is
  850. being sought.
  851.  
  852. People have suggested that the second argument should be optional, for
  853. backward compatibility.  It would be nice if that were possible, but
  854. it is not.  There is simply no way for find-file-name-handler to do
  855. the right thing without receiving the proper value for its second
  856. argument.
  857.  
  858. * The variable completion-regexp-list affects the completion
  859. primitives try-completion and all-completions.  They consider
  860. only the possible completions that match each regexp in the list.
  861.  
  862. * Case conversion in the function replace-match has been changed.
  863.  
  864. The old behavior was this: if any word in the old text was
  865. capitalized, replace-match capitalized each word of the replacement
  866. text.
  867.  
  868. The new behavior is this: if the first word in the old text is capitalized,
  869. replace-match capitalizes the first word of the replacement text.
  870.  
  871. * You can now specify a case table with CANON non-nil and EQV nil.
  872. Then the EQV part of the case table is deduced from CANON.
  873.  
  874. * The new function minibuffer-prompt takes no arguments and returns
  875. the current minibuffer prompt string.
  876.  
  877. The new function minibuffer-prompt-width takes no arguments and
  878. returns the display width of the minibuffer prompt string.
  879.  
  880. * The new function frame-first-window returns the window at the
  881. upper left corner of a given frame.
  882.  
  883. * wholenump is a new alias for natnump.
  884.  
  885. * The variable installation-directory, if non-@code{nil}, names a
  886. directory within which to look for the `lib-src' and `etc'
  887. subdirectories.  This is non-nil when Emacs can't find those
  888. directories in their standard installed locations, but can find them
  889. near where the Emacs executable was found.
  890.  
  891. * invocation-name and invocation-directory are now variables as well
  892. as functions.  The variable values are the same values that the
  893. functions return: the Emacs program name sans directories, and the
  894. directory it was found in.  (invocation-directory may be nil, if Emacs
  895. can't determine which directory it should be.)
  896.  
  897. * Installation change regarding version number counting.
  898.  
  899. The version number of an Emacs executable contains three numbers.
  900. The first two describe the Emacs release and the third increments
  901. each time you build Emacs.
  902.  
  903. Now the file version.el contains only the first two version numbers.
  904. The third component is now determined on the basis of the names of the
  905. existing executable files.  This means that version.el is not altered
  906. by building Emacs.
  907.  
  908. Changes in 19.22.
  909.  
  910. * The mouse click M-mouse-2 now inserts the current secondary
  911. selection (from Emacs or any other X client) where you click.
  912. It does not move point.
  913. This command is called mouse-yank-secondary.
  914.  
  915. mouse-kill-secondary no longer has a key binding by default.
  916. Clicking M-mouse-3 (mouse-secondary-save-then-kill) twice
  917. may be a convenient enough way of killing the secondary selection.
  918. Or perhaps there should be a keyboard binding for killing the
  919. secondary selection.  Any suggestions?
  920.  
  921. * New packages:
  922.  
  923. ** `icomplete' provides character-by-character information
  924. about what you could complete if you type TAB.
  925.  
  926. ** `avoid' moves the mouse away from point so that it doesn't hide
  927. your typing.
  928.  
  929. ** `shadowfile' helps you update files that are supposed to be stored
  930. identically in different places (perhaps on different machines).
  931.  
  932. * C-h p now knows about four additional keywords: data, faces, mouse,
  933. and matching.
  934.  
  935. * The key for starting an inferior Lisp process, in Lisp mode,
  936. is now C-c C-z instead of C-c C-l.
  937.  
  938. * When the VC commands ask whether to save the buffer, if you say no,
  939. they signal an error.  This is so that you won't operate on the wrong
  940. data.
  941.  
  942. * ISO Accents mode now supports `"s' as a way of typing German sharp s.
  943.  
  944. * By default, comint buffers (including Shell mode and debuggers)
  945. no longer try to scroll to keep the cursor on the bottom line.
  946. This feature was added in 19.21 but did not work smoothly enough.
  947.  
  948. * Emacs now handles the window manager "delete window" operation.
  949.  
  950. * Display of buffers with text properties is much faster now.
  951.  
  952. * The feature previously announced whereby `insert' does not inherit
  953. text properties from surrounding text was not fully implemented
  954. before; but now it is.  use `insert-and-inherit' if you wish to
  955. inherit sticky properties from the surrounding text.
  956.  
  957. * The functions next-property-change, previous-property-change,
  958. next-single-property-change, and previous-single-property-change
  959. now take one additional optional argument LIMIT that is a position at
  960. which to stop scanning.  If scan ends without finding the property
  961. change sought, these functions return the specified limit.
  962.  
  963. The value returned by previous-single-property-change and
  964. previous-property-change, when they do find a change, is now one
  965. greater than what it used to be.  It is the position between the two
  966. characters whose properties differ, which is one greater than the
  967. position of the first character found (while scanning back) with
  968. different properties.
  969.  
  970. User editing changes in version 19.21.
  971.  
  972. * ISO Accents mode supports four additional characters:
  973. A-with-ring (entered as /A), AE ligature (entered as /E),
  974. and their lower-case equivalents.
  975.  
  976. User editing changes in version 19.20.
  977. (See following page for Lisp programming changes.)
  978.  
  979. Note that some of these changes were made subsequent to the Emacs 19.20
  980. editions of the Emacs manual and Emacs Lisp manual; therefore, if you
  981. have those editions, do read this page.
  982.  
  983. * Dragging with mouse button 1 now puts the selected region
  984. in the kill ring so you can paste it into other X applications.
  985.  
  986. * Double and triple clicks with button 1 now behave as in xterm,
  987. selecting the word or line surrounding where you click.  If you drag
  988. after the last click, you can select a range of words or lines.
  989.  
  990. * You can use button 3 to extend a mouse-selected region, as in xterm.
  991. This works for regions selected either by dragging Mouse-1 or by
  992. multiple-clicking Mouse-1.  Clicking Mouse-3 moves the end of the
  993. region that is (initially) nearer to where you click.
  994.  
  995. If the selection was first made by multiple-clicking Mouse-1, and thus
  996. consists of entire words or lines, Mouse-3 preserves that state.
  997.  
  998. As before, clicking Mouse-3 again in the same place kills the region
  999. thus selected.
  1000.  
  1001. * The secondary selection commands, M-Mouse-1 and M-Mouse-3, have been
  1002. likewise modified.
  1003.  
  1004. * You can now search for strings and regexps using the Edit menu bar menu.
  1005.  
  1006. * You can now access bookmarks using the Bookmark submenu in the File
  1007. menu in the menu bar.
  1008.  
  1009. * ISO Accents mode, a buffer-local minor mode, provides a convenient
  1010. way to type certain non-ASCII characters.  It makes the characters `,
  1011. ', ", ^, ~ and / serve as modifiers for the following letter.  ` and '
  1012. add accents, " adds an umlaut or diaresis, ^ adds a circumflex, ~
  1013. adds a tilde, and / adds a slash to the following letter.
  1014.  
  1015. If the following character is not a letter, or cannot be modified as
  1016. requested, then both characters stand for themselves.  If you
  1017. duplicate the modifier accent character, that enters the corresponding
  1018. ISO non-spacing accent character (thus, '' enters the ISO acute-accent
  1019. character).  To enter a modifier character itself, type it followed by
  1020. a space.
  1021.  
  1022. This feature can be used whenever a key sequence is expected: for
  1023. ordinary insertion, for searching, and for certain command arguments.
  1024.  
  1025. A few special combinations:
  1026.  
  1027. ~c => c with cedilla
  1028. ~d => d with stroke
  1029. ~< => left guillemet
  1030. ~> => right guillemet
  1031.  
  1032. * iso-transl.el is a new library that replaces iso-insert.el.
  1033. It defines C-x 8 as an insertion prefix for the ISO characters
  1034. between 128 and 255, much like iso-insert, except that iso-transl
  1035. works even in searches and help commands--wherever a key sequence
  1036. is expected.
  1037.  
  1038. To define case-conversion for these characters for ISO 8859/1,
  1039. load the library iso-syntax.  (This is not new.)
  1040.  
  1041. * M-TAB in Text mode now runs the command ispell-complete-word
  1042. which performs completion using the spelling dictionary.
  1043.  
  1044. The spelling correction submenu now includes this command 
  1045. and another command which completes a word fragment (that is,
  1046. it doesn't assume that the text to be completed starts at the
  1047. beginning of a word.
  1048.  
  1049. * In incremental search, you can use M-y to yank the most recent kill
  1050. into the search string.
  1051.  
  1052. * The new function ispell-message checks the spelling of a message
  1053. you are about to send or post.  It ignores text cited from other
  1054. messages.
  1055.  
  1056. To automatically check all your outgoing messages, include the
  1057. following line in your .emacs file:
  1058.   (setq news-inews-hook (setq mail-send-hook 'ispell-message))
  1059.  
  1060. * There is now a separate minibuffer history list for the names of
  1061. extended commands.  This history list is used by M-x when reading
  1062. the command name.  The motivation for this is to prevent command
  1063. names from appearing in the history used for other minibuffer
  1064. arguments.
  1065.  
  1066. Note that the history list for entire commands that use the minibuffer
  1067. is a separate feature.  That history list records a command with all
  1068. its arguments, and you must use C-x ESC ESC to access it.
  1069.  
  1070. * You can use the new command C-x v ~ VERSION RET to examine a
  1071. specified version of a file that is maintained with version control.
  1072.  
  1073. * In Indented Text mode, only blank lines now separate paragraphs.
  1074. Indented lines continue the paragraph that is in progress.  This makes
  1075. the user option variable adaptive-fill-mode have its intended effect.
  1076.  
  1077. * Local variable specifications in files for variables whose names end
  1078. in `-hook' and `-function' are now controlled by the variable
  1079. `enable-local-eval', just like the `eval' variable.
  1080.  
  1081. * C-x r j (jump-to-register) when restoring a frame configuration now
  1082. makes all unwanted frames (existing frames not mentioned in the
  1083. configuration) invisible.
  1084.  
  1085. If you want to delete these unwanted frames, use a prefix argument for
  1086. C-x r j.
  1087.  
  1088. * You can customize the calendar to display weeks beginning on
  1089. Monday: set the variable `calendar-week-start-day' to 1.
  1090.  
  1091. * Rmail changes.
  1092.  
  1093. If you save messages to a file in Unix format while viewing a message
  1094. with its whole header, this now copies to the file the entire header
  1095. of each message copied.
  1096.  
  1097. * Comint mode changes.
  1098.  
  1099. C-c C-e shows as much output as possible in the window.
  1100. C-c RET copies an old input (the one at point)
  1101. and places the copy after the latest prompt.
  1102. C-c C-p and C-c C-n move through the buffer, stopping at places
  1103. where the subshell prompted for input.
  1104. C-c C-h lists the input history in a `*Help*' buffer.
  1105.  
  1106. There are new menu bar items for completion/input/output/signal commands.
  1107.  
  1108. Input behaviour is configurable.  Variables control whether some windows
  1109. showing the buffer scroll to the bottom before insertion.  These are
  1110. `comint-scroll-to-bottom-on-input' and `before-change-function'.  By default,
  1111. insertion causes the selected window to scroll to the bottom before insertion
  1112. occurs.
  1113.  
  1114. Subprocess output now keeps point at the end of the buffer in each
  1115. window individually if point was already at the end of the buffer in
  1116. that window.
  1117.  
  1118. If `comint-scroll-show-maximum-output' is non-nil (which is the
  1119. default), then scrolling due to arrival of output tries to place the
  1120. last line of text at the bottom line of the window, so as to show as
  1121. much useful text as possible.  (This mimics the scrolling behavior of
  1122. many terminals.)
  1123.  
  1124. By setting `comint-scroll-to-bottom-on-output', you can opt for having
  1125. point jump to the end of the buffer whenever output arrives--no matter
  1126. where in the buffer point was before.  If the value is `this', point
  1127. jumps in the selected window.  If the value is `all', point jumps in
  1128. each window that shows the comint buffer.  If the value is `other',
  1129. point jumps in all nonselected windows that show the current buffer.
  1130. The default value is nil, which means point does not jump to the end.
  1131.  
  1132. Input history insertion is configurable.  A variable controls whether only the
  1133. first instance of successive identical inputs is stored in the input history.
  1134. This is `comint-input-ignoredups'.
  1135.  
  1136. Completion (bound to TAB) is now more general.  Depending on context,
  1137. completion now operates on the input history, on command names, or (as
  1138. before) on filenames.
  1139.  
  1140. Filename completion is configurable.  Variables control whether
  1141. file/directory suffix characters are added (`comint-completion-addsuffix'),
  1142. whether shortest completion is acceptable when no further unambiguous
  1143. completion is possible (`comint-completion-recexact'), and the timing of
  1144. completion candidate listing (`comint-completion-autolist').
  1145.  
  1146. Comint mode now provides history expansion.  Insert input using `!'
  1147. and `^', in the same syntax that typical shells use; then type TAB.
  1148. This searches the comint input history for a matching element,
  1149. performs substitution if necessary, and places the result in the
  1150. comint buffer in place of the original input.
  1151.  
  1152. History references in the input may be expanded before insertion into
  1153. the input ring, or on input to the interpreter (and therefore
  1154. visibly).  The variable `comint-input-autoexpand' specifies which.
  1155.  
  1156. You can make the SPC key perform history expansion by binding
  1157. SPC to the command `comint-magic-space'.
  1158.  
  1159. The command `comint-dynamic-complete-variable' does variable name
  1160. completion using the environment variables as set within Emacs.  The
  1161. variables controlling filename completion apply to variable name
  1162. completion too.  This command is normally available through the menu
  1163. bar.
  1164.  
  1165. * Shell mode
  1166.  
  1167. Paragraph motion and marking commands (default bindings M-{, M-}, M-h) operate
  1168. on output groups (i.e., shell prompt plus associated shell output).
  1169.  
  1170. TAB now completes commands, as well as file names and expand history.
  1171. Commands are searched for along the path that Emacs has on startup.
  1172.  
  1173. C-c C-f now moves forward a command (`shell-forward-command') and
  1174. C-c C-b now moves backward a command (`shell-backward-command').
  1175.  
  1176. Command completion is configurable.  The variables controlling
  1177. filename completion in comint mode apply, together with a variable
  1178. controlling whether to restrict possible completions to only files
  1179. that are executable (`shell-command-execonly').
  1180.  
  1181. The input history is initialised from the file name given in the
  1182. variable `shell-input-ring-file-name'--normally `.history' in your
  1183. home directory.
  1184.  
  1185. Directory tracking is more robust.  It can cope with command sequences
  1186. and forked commands, and can detect the failure of directory changing
  1187. commands in most circumstances.  It's still not infallible, of course.
  1188.  
  1189. You can now configure the behaviour of `pushd'.  Variables control
  1190. whether `pushd' behaves like `cd' if no argument is given
  1191. (`shell-pushd-tohome'), pop rather than rotate with a numeric argument
  1192. (`shell-pushd-dextract'), and only add directories to the directory
  1193. stack if they are not already on it (`shell-pushd-dunique').  The
  1194. configuration you choose should match the underlying shell, of course.
  1195.  
  1196. Emacs Lisp programming changes in Emacs 19.20.
  1197.  
  1198. * A new function `remove-hook' is now used to remove a hook that you might
  1199. have added with `add-hook'.
  1200.  
  1201. * There is now a Lisp pretty-printer in the library `pp'.
  1202.  
  1203. * The partial Common Lisp support has been entirely reimplemented.
  1204.  
  1205. * When you insert text using `insert', `insert-before-markers' or
  1206. `insert-buffer-substring', text properties are no longer inherited
  1207. from the surrounding text.
  1208.  
  1209. When you want to inherit text properties, use the new functions
  1210. `insert-and-inherit' or `insert-before-markers-and-inherit'.
  1211.  
  1212. The self-inserting character command does do inheritance.
  1213.  
  1214. * Frame creation hooks.
  1215.  
  1216. The function make-frame now runs the normal hooks
  1217. before-make-frame-hook and after-make-frame-hook.
  1218.  
  1219. * You can now use function-key-map to make a key an alias for other
  1220. key sequences that can vary depending on circumstances.  To do this,
  1221. give the key a definition in function-key-map which is a function
  1222. rather than a specific expansion key sequence.
  1223.  
  1224. If the function reads input itself, it can have the effect of altering
  1225. the event that follows.  For example, here's how to define C-c h to
  1226. turn the character that follows into a hyper character:
  1227.  
  1228. (define-key function-key-map "\C-ch" 'hyperify)
  1229.  
  1230. (defun hyperify (prompt)
  1231.   (let ((e (read-event)))
  1232.     (vector (if (numberp e)
  1233.         (logior (lsh 1 20) e)
  1234.           (if (memq 'hyper (event-modifiers e))
  1235.           e
  1236.         (add-event-modifier "H-" e))))))
  1237.  
  1238. (defun add-event-modifier (string e)
  1239.   (let ((symbol (if (symbolp e) e (car e))))
  1240.     (setq symbol (intern (concat string (symbol-name symbol))))
  1241.     (if (symbolp e)
  1242.     symbol
  1243.       (cons symbol (cdr e)))))
  1244.  
  1245. The character translation function gets one argument, which is the
  1246. prompt that was specified in read-key-sequence--or nil if the key
  1247. sequence is being read by the editor command loop.  In most cases
  1248. you can just ignore the prompt value.
  1249.  
  1250. * Changes for reading and writing text properties.
  1251.  
  1252. New low-level Lisp features make it possible to write Lisp programs to
  1253. save text properties in files, and read text properties from files.
  1254. You can program any file format you like.
  1255.  
  1256. The variable `write-region-annotation-functions' should contain a list
  1257. of functions to be run by `write-region' to encode text properties in
  1258. some fashion as annotations to the text that is written.
  1259.  
  1260. Each function in the list is called with two arguments: the start and
  1261. end of the region to be written.  These functions should not alter the
  1262. contents of the buffer.  Instead, they should return lists indicating
  1263. annotations to write in the file in addition to the text in the
  1264. buffer.
  1265.  
  1266. Each function should return a list of elements of the form (POSITION
  1267. . STRING), where POSITION is an integer specifying the relative
  1268. position in the text to be written, and STRING is the annotation to
  1269. add there.
  1270.  
  1271. Each list returned by one of these functions must be already sorted in
  1272. increasing order by POSITION.  If there is more than one function,
  1273. `write-region' merges the lists destructively into one sorted list.
  1274.  
  1275. When `write-region' actually writes the text from the buffer to the
  1276. file, it intermixes the specified annotations at the corresponding
  1277. positions.  All this takes place without modifying the buffer.
  1278.  
  1279. The variable `after-insert-file-functions' should contain a list of
  1280. functions to be run each time a file's contents have been inserted into
  1281. a buffer.  Each function receives one argument, the length of the
  1282. inserted text; point indicates the start of that text.  The function
  1283. should make whatever changes it wants to make, then return the updated
  1284. length of the inserted text, as it stands after those changes.  The
  1285. value returned by one function is used as the argument to the next.
  1286. These functions should always return with point at the beginning of
  1287. the inserted text.
  1288.  
  1289. The intended use of `after-insert-file-functions' is for converting
  1290. some sort of textual annotations into actual text properties.  But many
  1291. other uses may be possible.
  1292.  
  1293. We now invite users to begin implementing Lisp programs to store and
  1294. retrieve text properties in files, using these new primitive features,
  1295. and thus to experiment with various data formats and find good ones.
  1296.  
  1297. We suggest not trying to handle arbitrary Lisp objects as property
  1298. names or property values--because a program that general is probably
  1299. difficult to write, and slow.  Instead, choose a set of possible data
  1300. types that are reasonably flexible, and not too hard to encode.
  1301.  
  1302. * Comint completion.
  1303.  
  1304. Currently comint-dynamic-complete-command (and associated variable
  1305. comint-after-partial-pathname-command) are set by default to complete a
  1306. filename.  Other comint-mode users should have their own functions to achieve
  1307. this.  For example, gud-mode could complete debugger commands.  A completion
  1308. function is provided solely for this reason (comint-dynamic-simple-complete).
  1309.  
  1310. Other comint-mode users should bind comint-dynamic-complete (shell-mode does
  1311. already).
  1312.  
  1313. * Comint history reference expansion
  1314.  
  1315. Currently comint-input-autoexpand is 'history, which means only expand
  1316. history on insertion to comint-input-ring.  For non-shell modes, this is
  1317. a strange default, since non-shells will not understand history references.
  1318. Perhaps it would be better for the variable to be 'input, which means expand
  1319. on RET.
  1320.  
  1321. The value 'history might possibly be wrong even for shells, since the
  1322. expansion will be done both by comint and the underlying shell (except sh, of
  1323. course).  It would be better for expansion to be done by one or the other,
  1324. not both since they may (ahem) disagree.  Since it is silly to put a literal
  1325. history reference into comint-input-ring, perhaps it would be better for the
  1326. variable to be 'input too.
  1327.  
  1328. The reason the variable is not 'input by default is that I was attempting to
  1329. adhere to The Principle of Least Astonishment.  I didn't want to shock users
  1330. by having their input change in front of their eyes.
  1331.  
  1332. * Argument delimiters and Comint mode.
  1333.  
  1334. Currently comint-delimiter-argument-list is '(), which means no strings are
  1335. to be treated as delimiters and arguments.  In shell-mode, this variable is
  1336. set to shell-delimiter-argument-list, '("|" "&" "<" ">" "(" ")" ";").  Other
  1337. comint-mode users should set this variable too.  For example, a lisp-type
  1338. mode might want to set this to '("." "(" ")") or some such.
  1339.  
  1340. * Comint output hook.
  1341.  
  1342. There is now a hook, comint-output-filter-hook, that is run-hooks'ed by the
  1343. output filter, comint-output-filter.  This is useful for scrolling (see
  1344. below), but also things like processing output for specific text, output
  1345. hilighting, etc.
  1346.  
  1347. So that such output processing may be done efficiently, there is a new
  1348. variable, comint-last-output-start, that records the position of the start of
  1349. the lastest output inserted into the buffer (effectively the previous value
  1350. of process-mark).  Output processing functions should process the text
  1351. between comint-last-output-start (or perhaps the beginning of the line that
  1352. the position lies on) and process-mark.
  1353.  
  1354. * Comint scrolling.
  1355.  
  1356. There is now automatic scrolling of process windows.
  1357.  
  1358. Currently comint-scroll-show-maximum-output is t, which means when scrolling
  1359. output put process-mark at the bottom of the window.  There is a good case
  1360. for it to be t, since the user is likely to want to see as much output as
  1361. possible.  But, then again, there is a comint-show-maximum-output command.
  1362.  
  1363. * Comint history retrieval.
  1364.  
  1365. The input following point is not deleted when moving around the input history
  1366. (with M-p etc.).  Emacs maintainers may not like this.  However, I feel this
  1367. is a useful feature.  The simple remedy is to put end-of-line in before
  1368. delete-region in comint-previous-matching-input.
  1369.  
  1370. The input history retrieval commands still wrap-around the input ring, unlike
  1371. Emacs command history.
  1372.  
  1373. Changes in version 19.19.
  1374.  
  1375. * The new package bookmark.el records named bookmarks: positions that
  1376. you can jump to.  Bookmarks are saved automatically between Emacs
  1377. sessions.
  1378.  
  1379. * Another simpler package saveplace.el records your position in each
  1380. file when you kill its buffer (or kill Emacs), and jumps to the same
  1381. position when you visit the file again (even in another Emacs
  1382. session).  Use `toggle-save-place' to turn on place-saving in a given file;
  1383. use (setq-default save-place t) to turn it on for all files.
  1384.  
  1385. * In Outline mode, you can now customize how to compute the level of a
  1386. heading line.  Set `outline-level' to a function of no arguments which
  1387. returns the level, assuming point is at the beginning of a heading
  1388. line.
  1389.  
  1390. * You can now specify the prefix key to use for Outline minor mode.
  1391. (The default is C-c.)  Set the variable outline-minor-mode-prefix to
  1392. the key sequence you want to use (as a string or vector).
  1393.  
  1394. * In Bibtex mode, C-c e has been changed to C-c C-b.  This is because
  1395. C-c followed by a letter is reserved for users.
  1396.  
  1397. * The `mod' function is no longer an alias for `%', but is a separate function
  1398. that yields a result with the same sign as the divisor.  `floor' now takes an
  1399. optional second argument, which divides the first argument before the floor is
  1400. taken.
  1401.  
  1402. * `%' no longer allows floating point arguments, since the results were often
  1403. inconsistent with integer `%'.
  1404.  
  1405. Changes in version 19.18.
  1406.  
  1407. * Typing C-z in an iconified Emacs frame now deiconifies it.
  1408.  
  1409. * hilit19 is a new library for automatic highlighting of parts of the
  1410. text in the buffer, based on its meaning and context.
  1411.  
  1412. * Killing no longer sends the killed text to the X clipboard.
  1413. And large strings are not put in the cut buffer either.
  1414. The variable x-cut-buffer-max specifies the maximum number of characters
  1415. to put in the cut buffer.
  1416.  
  1417. * The new command C-x 5 o (other-frame) selects different frames,
  1418. successively, in cyclic order.  It does for frames what C-x o
  1419. does for windows.
  1420.  
  1421. * The command M-ESC (eval-expression) has its own command history.
  1422.  
  1423. * The commands M-! and M-| for running shell commands have their own
  1424. command history.
  1425.  
  1426. * If the directory containing the Emacs executable has a sibling named
  1427. `lisp', that `lisp' directory is added to the end of `load-path'
  1428. (provided you don't override the normal value with the EMACSLOADPATH
  1429. environment variable).  This feature may make it easier to move
  1430. an installed Emacs from place to place.
  1431.  
  1432. * M-x validate-tex-buffer now records the locations of mismatches
  1433. found in the `*Occur*' buffer.  You can go to that buffer and type C-c
  1434. C-c to visit a particular mismatch.
  1435.  
  1436. * There are new commands in Shell mode.
  1437.  
  1438. C-c C-n and C-c C-p move point to the next or previous shell input line.
  1439.  
  1440. C-c C-d is now another way to send an end-of-file to the subshell.
  1441.  
  1442. * Changes to calendar/diary.
  1443.  
  1444. Time zone data is now determined automatically, including the
  1445. start/stop days and times of daylight savings time.  The code now
  1446. works correctly almost anywhere in the world.
  1447.  
  1448. The format of the holiday specifications has changed and IS NO LONGER
  1449. COMPATIBLE with the old (version 18) format.  See the documentation of
  1450. the variable calendar-holidays for details of the new, improved
  1451. format.
  1452.  
  1453. The hook `diary-display-hook' has been split into two:
  1454. diary-display-hook which should be used ONLY for the display and
  1455. `diary-hook' which should be used for appointment notification.  If
  1456. diary-display-hook is nil (the default), simple-diary-display is
  1457. used.  This allows the diary hooks to be correctly set with add-hook.
  1458.  
  1459. The forms used for dates in diary entries and general display are no
  1460. longer autoloaded, but set at load time; this means they will be set
  1461. correctly based on values you assign to various variables.
  1462.  
  1463. * The functions x-rebind-key and x-rebind-keys have been deleted,
  1464. because you can accomplish the same job by binding keys to keyboard
  1465. macros.
  1466.  
  1467. * Emacs now distinguishes double and triple drag events and double and
  1468. triple button-down events.  These work analogously to double and
  1469. triple click events.
  1470.  
  1471. Double drag events, if not defined, convert to ordinary click events.
  1472. Double down events, if not defined, convert first to ordinary down
  1473. events, which are then discarded if not defined.  Triple events that
  1474. are not defined convert to the corresponding double event; if that is
  1475. also not defined, it may convert further.
  1476.  
  1477. * The new function event-click-count returns the number of clicks,
  1478. from an event which is a list.  It is 1 for an ordinary click, drag,
  1479. or button-down event, 2 for a double event, and 3 or more for a triple
  1480. event.
  1481.  
  1482. * The new function previous-frame is like next-frame, but moves
  1483. around through the set of existing frames in the opposite order.
  1484.  
  1485. * The post-command-hook now runs even after commands that get an error
  1486. and return to top level.  As a consequence of the same change, this
  1487. hook also runs before Emacs reads the first command.  That might sound
  1488. paradoxical, as if this hook were the same as the pre-command-hook.
  1489. Actually, they are not similar; the latter runs before *execution* of
  1490. a command, but after it has been read.
  1491.  
  1492. * You can turn off the text property hooks that run when point moves
  1493. to certain places in the buffer, by binding inhibit-point-motion-hooks
  1494. to a non-nil value.
  1495.  
  1496. * Inserting a string with no text properties into the buffer normally
  1497. inherits the properties of the preceding character.  You can now
  1498. control this inheritence by setting the front-sticky and
  1499. rear-nonsticky properties of a character.
  1500.  
  1501. If you make a character's front-sticky property t, then insertion
  1502. before the character inherits its properties.  If you make the
  1503. rear-nonsticky property t, then insertion after the character does not
  1504. inherit its properties.  You can regard characters as normally being
  1505. rear-sticky and not front-sticky, and this is why insertion normally
  1506. inherits from the previous character.
  1507.  
  1508. If neither side of an insertion is suitably sticky, then the inserted
  1509. text gets no properties.  If both sides are sticky, then the inserted
  1510. text gets the properties of both sides, with the previous character's
  1511. properties taking precedence when both sides have a property in
  1512. common.
  1513.  
  1514. You can also specify stickiness for individual properties.  To do so,
  1515. use a list of property names as the value of the front-sticky property
  1516. or the rear-nonsticky property.  For example, if a character has a
  1517. rear-nonsticky property whose value is (face read-only), then
  1518. insertion after the character will not inherit its face property or
  1519. read-only property (if any), but will inherit any other properties.
  1520.  
  1521. The merging of properties when both sides of the insertion are sticky
  1522. takes place one property at a time.  If the preceding character is
  1523. rear-sticky for the property, and the property is non-nil, it
  1524. dominates.  Otherwise, the following character's property value is
  1525. used if it is front-sticky for that property.
  1526.  
  1527. * If you give a character a non-nil `invisible' text property, the
  1528. character does not appear on the screen.  This works much like
  1529. selective display.
  1530.  
  1531. The details of this feature are likely to change in future Emacs
  1532. versions.
  1533.  
  1534. * In Info, when you go to a node, it runs the normal hook
  1535. Info-selection-hook.
  1536.  
  1537. * You can use the new function `invocation-directory' to get the name
  1538. of the directory containing the Emacs executable that was run.
  1539.  
  1540. * Entry to the minibuffer runs the normal hook minibuffer-setup-hook.
  1541.  
  1542. * The new function minibuffer-window-active-p takes one argument, a
  1543. minibuffer window, and returns t if the window is currently active.
  1544.  
  1545. Changes in version 19.17.
  1546.  
  1547. * When Emacs displays a list of completions in a buffer, 
  1548. you can select a completion by clicking mouse button 2
  1549. on that completion.
  1550.  
  1551. * Use the command `list-faces-display' to display a list of 
  1552. all the currently defined faces, showing what they look like.
  1553.  
  1554. * Menu bar items from local maps now come after the usual items.
  1555.  
  1556. * The Help menu bar item always comes last in the menu bar.
  1557.  
  1558. * If you enable Font-Lock mode on a buffer containing a program
  1559. (certain languages such as C and Lisp are supported), everything you
  1560. type is automatically given a face property appropriate to its
  1561. syntactic role.  For example, there are faces for comments, string
  1562. constants, names of functions being defined, and so on.
  1563.  
  1564. * Dunnet, an adventure game, is now available.
  1565.  
  1566. * Several major modes now have their own menu bar items, 
  1567. including Dired, Rmail, and Sendmail.  We would like to add 
  1568. suitable menu bar items to other major modes.
  1569.  
  1570. * The key binding C-x a C-h has been eliminated.
  1571. This is because it got in the way of the general feature of typing
  1572. C-h after a prefix character.  If you want to run
  1573. inverse-add-global-abbrev, you can use C-x a - or C-x a i g instead.
  1574.  
  1575. * If you set the variable `rmail-mail-new-frame' to a non-nil value,
  1576. all the Rmail commands to send mail make a new frame to do it in.
  1577. When you send the message, or use the menu bar command not to send it,
  1578. that frame is deleted.
  1579.  
  1580. * In Rmail, the o and C-o commands are now almost interchangeable.
  1581. Both commands check the format of the file you specify, and append
  1582. the message to it in Rmail format if it is an Rmail file, and in
  1583. inbox file format otherwise.  C-o and o are different only when you
  1584. specify a new file.
  1585.  
  1586. * The function `copy-face' now takes an optional fourth argument
  1587. NEW-FRAME.  If you specify this, it copies the definition of face
  1588. OLD-FACE on frame FRAME to face NEW-NAME on frame NEW-FRAME.
  1589.  
  1590. * A local map can now cancel out one of the global map's menu items.
  1591. Just define that subcommand of the menu item with `undefined'
  1592. as the definition.  For example, this cancels out the `Buffers' item
  1593. for the current major mode:
  1594.  
  1595.     (local-set-key [menu-bar buffer] 'undefined)
  1596.  
  1597. * To put global items at the end of the menu bar, use the new variable
  1598. `menu-bar-final-items'.  It should be a list of symbols--event types
  1599. bound in the menu bar.  The menu bar items for these symbols are
  1600. moved to the end.
  1601.  
  1602. * The list returned by `buffer-local-variables' now contains cons-cell
  1603. elements of the form (SYMBOL . VALUE) only for buffer-local variables
  1604. that have values.  For unbound buffer-local variables, the variable
  1605. name (symbol) appears directly as an element of the list.
  1606.  
  1607. * The `modification-hooks' property of a character no longer affects
  1608. insertion; it runs only for deletion and modification of the character.
  1609.  
  1610. To detect insertion, use `insert-in-front-hooks' and
  1611. `insert-behind-hooks' properties.  The former runs when text is
  1612. inserted immediately preceding the character that has the property;
  1613. the latter runs when text is inserted immediately following the
  1614. character.
  1615.  
  1616. * Buffer modification now runs hooks belonging to overlays as well as
  1617. hooks belonging to characters.  If an overlay has a
  1618. `modification-hooks' property, it applies to any change to text in the
  1619. overlay, and any insertion within the overlay.  If the overlay has a
  1620. `insert-in-front-hooks' property, it runs for insertion at the
  1621. beginning boundary of the overlay.  If the overlay has an
  1622. `insert-behind-hooks' property, it runs for insertion at the end
  1623. boundary of the overlay.
  1624.  
  1625. The values of these properties should be lists of functions.  Each
  1626. function is called, receiving as arguments the overlay in question,
  1627. followed by the bounds of the range being modified.
  1628.  
  1629. * The new `-name NAME' option directs Emacs to search for its X
  1630. resources using the name `NAME', and sets the title of the initial
  1631. frame.  This argument was added for consistency with other X clients.
  1632.  
  1633. * The new `-xrm DATABASE' option tells Emacs to treat the string
  1634. DATABASE as the text of an X resource database.  Emacs searches
  1635. DATABASE for resource values, in addition to the usual places.  This
  1636. argument was added for consistency with other X clients.
  1637.  
  1638. * Emacs now searches for X resources in the files specified by the
  1639. XFILESEARCHPATH, XUSERFILESEARCHPATH, and XAPPLRESDIR environment
  1640. variables, emulating the functionality provided by programs written
  1641. using Xt.  Because of this change, Emacs will now notice system-wide
  1642. application defaults files, as other X clients do.
  1643.  
  1644. XFILESEARCHPATH and XUSERFILESEARCHPATH should be a list of file names
  1645. separated by colons; XAPPLRESDIR should be a list of directory names
  1646. separated by colons.
  1647.  
  1648. Emacs searches for X resources
  1649.   + specified on the command line, with the `-xrm RESOURCESTRING'
  1650.     option,
  1651.   + then in the value of the XENVIRONMENT environment variable,
  1652.     - or if that is unset, in the file named ~/.Xdefaults-HOSTNAME if it exists
  1653.       (where HOSTNAME is the hostname of the machine Emacs is running on),
  1654.   + then in the screen-specific and server-wide resource properties
  1655.     provided by the server,
  1656.     - or if those properties are unset, in the file named ~/.Xdefaults
  1657.       if it exists,
  1658.   + then in the files listed in XUSERFILESEARCHPATH,
  1659.     - or in files named LANG/Emacs in directories listed in XAPPLRESDIR
  1660.       (where LANG is the value of the LANG environment variable), if
  1661.       the LANG environment variable is set,
  1662.     - or in files named Emacs in the directories listed in XAPPLRESDIR
  1663.     - or in ~/LANG/Emacs (if the LANG environment variable is set),
  1664.     - or in ~/Emacs,
  1665.   + then in the files listed in XFILESEARCHPATH.
  1666.  
  1667. The paths in the variables XFILESEARCHPATH, XUSERFILESEARCHPATH, and
  1668. XAPPLRESDIR may contain %-escapes (like the control strings passed to
  1669. the the Emacs lisp `format' function or C printf function), which
  1670. Emacs expands.
  1671.  
  1672. %N is replaced by the string "Emacs" wherever it occurs.
  1673. %T is replaced by "app-defaults" wherever it occurs.
  1674. %S is replaced by the empty string wherever it occurs.
  1675. %L and %l are replaced by the value of the LANG environment variable; if LANG
  1676.    is not set, Emacs does not use that directory or file name at all.
  1677. %C is replaced by the value of the resource named "customization"
  1678.    (class "Customization"), as retrieved from the server's resource
  1679.    properties or the user's ~/.Xdefaults file, or the empty string if
  1680.    that resource doesn't exist.
  1681.  
  1682. So, for example,
  1683.   if XFILESEARCHPATH is set to the value
  1684.     "/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%T/%N",
  1685.   and the LANG environment variable is set to
  1686.     "english",
  1687.   and the customization resource is the string
  1688.     "-color",
  1689. then, in the last step of the process described above, Emacs checks
  1690. for resources in the first of the following files that is present and
  1691. readable:
  1692.     /usr/lib/X11/english/app-defaults/Emacs-color
  1693.     /usr/lib/X11/app-defaults/Emacs-color
  1694.     /usr/lib/X11/app-defaults/Emacs
  1695. If the LANG environment variable is not set, then Emacs never uses the
  1696. first element of the path, "/usr/lib/X11/%L/%T/%N%C", because it
  1697. contains the %L escape.
  1698.  
  1699. If XFILESEARCHPATH is unset, Emacs uses the default value
  1700. "/usr/lib/X11/%L/app-defaults/Emacs%C:\
  1701. /usr/lib/X11/app-defaults/Emacs%C:\
  1702. /usr/lib/X11/%L/app-defaults/Emacs:\
  1703. /usr/lib/X11/app-defaults/Emacs"
  1704.  
  1705. This feature was added for consistency with other X applications.
  1706.  
  1707. * The new function `text-property-any' scans the region of text from
  1708. START to END to see if any character's property PROP is `eq' to
  1709. VALUE.  If so, it returns the position of the first such character.
  1710. Otherwise, it returns nil.
  1711.  
  1712. The optional fifth argument, OBJECT, specifies the string or buffer to
  1713. be examined.
  1714.  
  1715. * The new function `text-property-not-all' scans the region of text from
  1716. START to END to see if any character's property PROP is not `eq' to
  1717. VALUE.  If so, it returns the position of the first such character.
  1718. Otherwise, it returns nil.
  1719.  
  1720. The optional fifth argument, OBJECT, specifies the string or buffer to
  1721. be examined.
  1722.  
  1723. * The function `delete-windows-on' now takes an optional second
  1724. argument FRAME, which specifies which frames it should affect.
  1725.   + If FRAME is nil or omitted, then `delete-windows-on' deletes windows
  1726.     showing BUFFER (its first argument) on all frames.
  1727.   + If FRAME is t, then `delete-windows-on' only deletes windows on the
  1728.     selected frame; other frames are unaffected.
  1729.   + If FRAME is a frame, then `delete-windows-on' only deletes windows on
  1730.     the given frame; other frames are unaffected.
  1731.  
  1732.  
  1733. Changes in version 19.16.
  1734.  
  1735. * When dragging the mouse to select a region, Emacs now highlights the
  1736. region as you drag (if Transient Mark mode is enabled).  If you
  1737. continue the drag beyond the boundaries of the window, Emacs scrolls
  1738. the window at a steady rate until you either move the mouse back into
  1739. the window or release the button.
  1740.  
  1741. * RET now exits `query-replace' and `query-replace-regexp'; this makes it
  1742. more consistent with the incremental search facility, which uses RET
  1743. to end the search.
  1744.  
  1745. * In C mode, C-c C-u now runs c-up-conditional.
  1746. C-c C-n and C-c C-p now run new commands that move forward
  1747. and back over balanced sets of C conditionals (c-forward-conditional
  1748. and c-backward-conditional).
  1749.  
  1750. * The Edit entry in the menu bar has a new alternative:
  1751. "Choose Next Paste".  It gives you a menu showing the various
  1752. strings in the kill ring; click on one to select it as the text 
  1753. to be yanked ("pasted") the next time you yank.
  1754.  
  1755. * If you enable Transient Mark mode and set `mark-even-if-inactive' to
  1756. non-nil, then the region is highlighted in a transient fashion just as
  1757. normally in Transient Mark mode, but the mark really remains active
  1758. all the time; commands that use the region can be used even if the
  1759. region highlighting turns off.
  1760.  
  1761. * If you type C-h after a prefix key, it displays the bindings
  1762. that start with that prefix.
  1763.  
  1764. * The VC package now searches for version control commands in the
  1765. directories named by the variable `vc-path'; its value should be a
  1766. list of strings.
  1767.  
  1768. * If you are visiting a file that has locks registered under RCS,
  1769. VC now displays each lock's owner and version number in the mode line
  1770. after the string `RCS'.  If there are no locks, VC displays the head
  1771. version number.
  1772.  
  1773. * When using X, if you load the `paren' library, Emacs automatically
  1774. underlines or highlights the matching paren whenever point is
  1775. next to the outside of a paren.  When point is before an open-paren,
  1776. this shows the matching close; when point is after a close-paren,
  1777. this shows the matching open.
  1778.  
  1779. * The new function `define-key-after' is like `define-key',
  1780. but takes an extra argument AFTER.  It places the newly defined
  1781. binding after the binding for the event AFTER.
  1782.  
  1783. * `accessible-keymaps' now takes an optional second argument, PREFIX.
  1784. If PREFIX is non-nil, it means the value should include only maps for
  1785. keys that start with PREFIX.
  1786.  
  1787. `describe-bindings' also accepts an optional argument PREFIX which
  1788. means to describe only the keys that start with PREFIX.
  1789.  
  1790. * The variable `prefix-help-command' hold a command to run to display help
  1791. whenever the character `help-char' follows a prefix key and does not have
  1792. a key binding in that context.
  1793.  
  1794. * Emacs now detects double- and triple-mouse clicks.  A single mouse
  1795. click produces a pair events of the form:
  1796.     (down-mouse-N POSITION)
  1797.     (mouse-N POSITION)
  1798. Clicking the same mouse button again, soon thereafter and at the same
  1799. location, produces another pair of events of the form:
  1800.     (down-mouse-N POSITION)
  1801.     (double-mouse-N POSITION 2)
  1802. Another click will produce an event pair of the form:
  1803.     (down-mouse-N POSITION)
  1804.     (triple-mouse-N POSITION 3)
  1805. All the POSITIONs in such a sequence would be identical, except for
  1806. their timestamps.
  1807.  
  1808. To count as double- and triple-clicks, mouse clicks must be at the
  1809. same location as the first click, and the number of milliseconds
  1810. between the first release and the second must be less than the value
  1811. of the lisp variable `double-click-time'.  Setting `double-click-time'
  1812. to nil disables multi-click detection.  Setting it to t removes the
  1813. time limit; Emacs then detects multi-clicks by position only.
  1814.  
  1815. If `read-key-sequence' finds no binding for a double-click event, but
  1816. the corresponding single-click event would be bound,
  1817. `read-key-sequence' demotes it to a single-click.  Similarly, it
  1818. demotes unbound triple-clicks to double- or single-clicks.  This means
  1819. you don't have to distinguish between single- and multi-clicks if you
  1820. don't want to.
  1821.  
  1822. Emacs reports all clicks after the third as `triple-mouse-N' clicks,
  1823. but increments the click count after POSITION.  For example, a fourth
  1824. click, soon after the third and at the same location, produces a pair
  1825. of events of the form:
  1826.     (down-mouse-N POSITION)
  1827.     (triple-mouse-N POSITION 4)
  1828.  
  1829. * The way Emacs reports positions of mouse events has changed
  1830. slightly.  If a mouse event includes a position list of the form:
  1831.     (WINDOW (PLACE-SYMBOL) (COLUMN . ROW) TIMESTAMP)
  1832. this denotes exactly the same position as the list:
  1833.     (WINDOW  PLACE-SYMBOL  (COLUMN . ROW) TIMESTAMP)
  1834. That is, the event occurred over a non-textual area of the frame,
  1835. specified by PLACE-SYMBOL, a symbol like `mode-line' or
  1836. `vertical-scroll-bar'.
  1837.  
  1838. Enclosing PLACE-SYMBOL in a singleton list does not change the
  1839. position denoted, but the `read-key-sequence' function uses the
  1840. presence or absence of the singleton list to tell whether or not it
  1841. should prefix the event with its place symbol.
  1842.  
  1843. Normally, `read-key-sequence' prefixes mouse events occuring over
  1844. non-textual areas with their PLACE-SYMBOLs, to select the sub-keymap
  1845. appropriate for the event; for example, clicking on the mode line
  1846. produces a sequence like
  1847.     [mode-line (mouse-1 POSN)]
  1848. However, if lisp code elects to unread the resulting key sequence by
  1849. placing it in the `unread-command-events' variable, it is important
  1850. that `read-key-sequence' not insert the prefix symbol again; that
  1851. would produce a malformed key sequence like
  1852.     [mode-line mode-line (mouse-1 POSN)]
  1853. For this reason, `read-key-sequence' encloses the event's PLACE-SYMBOL
  1854. in a singleton list when it first inserts the prefix, but doesn't
  1855. insert the prefix when processing events whose PLACE-SYMBOLs are
  1856. already thus enclosed.
  1857.  
  1858.  
  1859. Changes in version 19.15.
  1860.  
  1861. * `make-frame-visible', which uniconified frames, is now a command,
  1862. and thus may be bound to a key.  This makes sense because frames
  1863. respond to user input while iconified.
  1864.  
  1865. * You can now use Meta mouse clicks to set and use the "secondary
  1866. selection".  You can drag M-Mouse-1 across the region you want to
  1867. select.  Or you can press M-Mouse-1 at one end and M-Mouse-3 at the
  1868. other (this also copies the text to the kill ring).  Repeating M-Mouse-3
  1869. again at the same place kills that text.
  1870.  
  1871. M-Mouse-2 kills the secondary selection.
  1872.  
  1873. Setting the secondary selection does not move point or the mark.  It
  1874. is possible to make a secondary selection that does not all fit on the
  1875. screen, by using M-Mouse-1 at one end, scrolling, then using M-Mouse-3
  1876. at the other end.
  1877.  
  1878. Emacs has only one secondary selection at any time.  Starting to set
  1879. a new one cancels any previous one.  The secondary selection displays
  1880. using a face named `secondary-selection'.
  1881.  
  1882. * There's a new way to request use of Supercite (sc.el).  Do this:
  1883.  
  1884.     (add-hook 'mail-citation-hook 'sc-cite-original)
  1885.  
  1886. Currently this works with Rmail.  In the future, other Emacs based
  1887. mail-readers should be modified to understand this hook also.
  1888. In the mean time, you should keep doing what you have done in the past
  1889. for those other mail readers.
  1890.  
  1891. * When a regular expression contains `\(...\)' inside a repetition
  1892. operator such as `*' or `+', and you ask about the range that was matched
  1893. using `match-beginning' and `match-end', the range you get corresponds
  1894. to the *last* repetition *only*.  In Emacs 18, you would get a range
  1895. corresponding to all the repetitions.
  1896.  
  1897. If you want to get a range corresponding to all the repetitions,
  1898. put a `\(...\)' grouping *outside* the repetition operator.  This
  1899. is the syntax that corresponds logically to the desired result, and
  1900. it works the same in Emacs 18 and Emacs 19.
  1901.  
  1902. (This change actually took place earlier, but we didn't know about it
  1903. and thus didn't document it.)
  1904.  
  1905. Changes in version 19.14.
  1906.  
  1907. * To modify read-only text, bind the variable `inhibit-read-only'
  1908. to a non-nil value.  If the value is t, then all reasons that might
  1909. make text read-only are inhibited (including `read-only' text properties).
  1910. If the value is a list, then a `read-only' property is inhibited
  1911. if it is `memq' in the list.
  1912.  
  1913. * If you call `get-buffer-window' passing t as its second argument, it
  1914. will only search for windows on visible frames.  Previously, passing t
  1915. as the secord argument caused `get-buffer-window' to search all
  1916. frames, visible or not.
  1917.  
  1918. * If you call `other-buffer' with a nil or omitted second argument, it
  1919. will ignore buffers displayed windows on any visible frame, not just
  1920. the selected frame.
  1921.  
  1922. * You can specify a window or a frame for C-x # to use when
  1923. selects a server buffer.  Set the variable server-window
  1924. to the window or frame that you want.
  1925.  
  1926. * The command M-( now inserts spaces outside the open-parentheses in
  1927. some cases--depending on the syntax classes of the surrounding
  1928. characters.  If the variable `parens-dont-require-spaces' is non-nil,
  1929. it inhibits insertion of these spaces.
  1930.  
  1931. * The GUD package now supports the debugger known as xdb on HP/UX
  1932. systems.  Use M-x xdb.  The variable `gud-xdb-directories' lets you
  1933. specify a list of directories to search for source code.
  1934.  
  1935. * If you are using the mailabbrev package, you should note that its
  1936. function for defining an alias is now called `define-mail-abbrev'.
  1937. This package no longer contains a definition for `define-mail-alias';
  1938. that name is used only in mailaliases.
  1939.  
  1940. * Inserted characters now inherit the properties of the text before
  1941. them, by default, rather than those of the following text.
  1942.  
  1943. * The function `insert-file-contents' now takes optional arguments BEG
  1944. and END that specify which part of the file to insert.  BEG defaults to
  1945. 0 (the beginning of the file), and END defaults to the end of the file.
  1946.  
  1947. If you specify BEG or END, then the argument VISIT must be nil.
  1948.  
  1949. Changes in version 19.13.
  1950.  
  1951. * Magic file names can now handle the `load' operation.
  1952.  
  1953. * Bibtex mode now sets up special entries in the menu bar.
  1954.  
  1955. * The incremental search commands C-w and C-y, which copy text from
  1956. the buffer into the search string, now convert it to lower case
  1957. if you are in a case-insensitive search.  This is to avoid making
  1958. the search a case-sensitive one.
  1959.  
  1960. * GNUS now knows your time zone automatically if Emacs does.
  1961.  
  1962. * Hide-ifdef mode no longer defines keys of the form
  1963. C-c LETTER, since those keys are reserved for users.
  1964. Those commands have been moved to C-c M-LETTER.
  1965. We may move them again for greater consistency with other modes.
  1966.  
  1967. Changes in version 19.12.
  1968.  
  1969. * You can now make many of the sort commands ignore case by setting
  1970. `sort-fold-case' to a non-nil value.
  1971.  
  1972. Changes in version 19.11.
  1973.  
  1974. * Supercite is installed.
  1975.  
  1976. * `write-file-hooks' functions that return non-nil are responsible
  1977. for making a backup file if you want that to be done.
  1978. To do so, execute the following code:
  1979.  
  1980.    (or buffer-backed-up (backup-buffer))
  1981.  
  1982. You might wish to save the file modes value returned by
  1983. `backup-buffer' and use that to set the mode bits of the file
  1984. that you write.  This is what `basic-save-buffer' does when
  1985. it writes a file in the usual way.
  1986.  
  1987. (This is not actually new, but wasn't documented before.)
  1988.  
  1989. Changes in version 19.10.
  1990.  
  1991. * The command `repeat-complex-command' is now on C-x ESC ESC.
  1992. It used to be bound to C-x ESC.
  1993.  
  1994. The reason for this change is to make function keys work after C-x.
  1995.  
  1996. * The variable `highlight-nonselected-windows' now controls whether
  1997. the region is highlighted in windows other than the selected window
  1998. (in Transient Mark mode only, of course, and currently only when
  1999. using X).
  2000.  
  2001. Changes in version 19.8.
  2002.  
  2003. * It is now simpler to tell Emacs to display accented characters under
  2004. X windows.  M-x standard-display-european toggles the display of
  2005. buffer text according to the ISO Latin-1 standard.  With a prefix
  2006. argument, this command enables European character display iff the
  2007. argument is positive.
  2008.  
  2009. * The `-i' command-line argument tells Emacs to use a picture of the
  2010. GNU gnu as its icon, instead of letting the window manager choose an
  2011. icon for it.  This option used to insert a file into the current
  2012. buffer; use `-insert' to do that now.
  2013.  
  2014. * The `configure' script now supports `--prefix' and `--exec-prefix'
  2015. options.
  2016.  
  2017. The `--prefix=PREFIXDIR' option specifies where the installation process
  2018. should put emacs and its data files.  This defaults to `/usr/local'.
  2019. - Emacs (and the other utilities users run) go in PREFIXDIR/bin
  2020.   (unless the `--exec-prefix' option says otherwise).
  2021. - The architecture-independent files go in PREFIXDIR/lib/emacs/VERSION
  2022.   (where VERSION is the version number of Emacs, like `19.7').
  2023. - The architecture-dependent files go in
  2024.   PREFIXDIR/lib/emacs/VERSION/CONFIGURATION
  2025.   (where CONFIGURATION is the configuration name, like mips-dec-ultrix4.2),
  2026.   unless the `--exec-prefix' option says otherwise.
  2027.  
  2028. The `--exec-prefix=EXECDIR' option allows you to specify a separate
  2029. portion of the directory tree for installing architecture-specific
  2030. files, like executables and utility programs.  If specified,
  2031. - Emacs (and the other utilities users run) go in EXECDIR/bin, and
  2032. - The architecture-dependent files go in
  2033.   EXECDIR/lib/emacs/VERSION/CONFIGURATION.
  2034. EXECDIR/bin should be a directory that is normally in users' PATHs.
  2035.  
  2036. * When running under X Windows, the new lisp function `x-list-fonts'
  2037. allows code to find out which fonts are available from the X server.
  2038. The first argument PATTERN is a string, perhaps with wildcard characters;
  2039.   the * character matches any substring, and
  2040.   the ? character matches any single character.
  2041.   PATTERN is case-insensitive.
  2042. If the optional arguments FACE and FRAME are specified, then
  2043. `x-list-fonts' returns only fonts the same size as FACE on FRAME.
  2044.  
  2045.  
  2046.  
  2047. Changes in version 19.
  2048.  
  2049. * When you kill buffers, Emacs now returns memory to the operating system,
  2050. thus reducing the size of the Emacs process.  All the space that you free
  2051. up by killing buffers can now be reused for other buffers no matter what
  2052. their sizes, or reused by other processes if Emacs doesn't need it.
  2053.  
  2054. * Emacs now does garbage collection and auto saving while it is waiting
  2055. for input, which often avoids the need to do these things while you
  2056. are typing.
  2057.  
  2058. The variable `auto-save-timeout' says how many seconds Emacs should
  2059. wait, after you stop typing, before it does an auto save and a garbage
  2060. collection.
  2061.  
  2062. * If auto saving detects that a buffer has shrunk greatly, it refrains
  2063. from auto saving that buffer and displays a warning.  Now it also turns
  2064. off Auto Save mode in that buffer, so that you won't get the same
  2065. warning again.
  2066.  
  2067. If you reenable Auto Save mode in that buffer, Emacs will start saving
  2068. it again with no further warnings.
  2069.  
  2070. * A new minor mode called Line Number mode displays the current line
  2071. number in the mode line, updating it as necessary when you move
  2072. point.
  2073.  
  2074. However, if the buffer is very large (larger than the value of
  2075. `line-number-display-limit'), then the line number doesn't appear.
  2076. This is because computing the line number can be painfully slow if the
  2077. buffer is very large.
  2078.  
  2079. * You can quit while Emacs is waiting to read or write files.
  2080.  
  2081. * The arrow keys now have default bindings to move in the appropriate
  2082. directions. 
  2083.  
  2084. * You can suppress next-line's habit of inserting a newline when
  2085. called at the end of a buffer by setting next-line-add-newlines to nil
  2086. (it defaults to t).
  2087.  
  2088. * You can now get back recent minibuffer inputs conveniently.  While
  2089. in the minibuffer, type M-p to fetch the next earlier minibuffer
  2090. input, and use M-n to fetch the next later input.
  2091.  
  2092. There are also commands to search forward or backward through the
  2093. history for history elements that match a regular expression.  M-r
  2094. searches older elements in the history, while M-s searches newer
  2095. elements.  By special dispensation, these commands can always use the
  2096. minibuffer to read their arguments even though you are already in the
  2097. minibuffer when you issue them.
  2098.  
  2099. The history feature is available for all uses of the minibuffer, but
  2100. there are separate history lists for different kinds of input.  For
  2101. example, there is a list for file names, used by all the commands that
  2102. read file names.  There is a list for arguments of commands like
  2103. `query-replace'.  There are also very specific history lists, such
  2104. as the one that `compile' uses for compilation commands.
  2105.  
  2106. * You can now display text in a mixture of fonts and colors, using the
  2107. "face" feature, together with the overlay and text property features.
  2108. See the Emacs Lisp manual for details.  The Emacs Users Manual describes
  2109. how to change the colors and font of standard predefined faces.
  2110.  
  2111. * You can refer to files on other machines using special file name syntax:
  2112.  
  2113. /HOST:FILENAME
  2114. /USER@HOST:FILENAME
  2115.  
  2116. When you do this, Emacs uses the FTP program to read and write files on
  2117. the specified host.  It logs in through FTP using your user name or the
  2118. name USER.  It may ask you for a password from time to time; this
  2119. is used for logging in on HOST.
  2120.  
  2121. * Some C-x key bindings have been moved onto new prefix keys.
  2122.  
  2123. C-x r is a prefix for registers and rectangles.
  2124. C-x n is a prefix for narrowing.
  2125. C-x a is a prefix for abbrev commands.
  2126.  
  2127. C-x r C-SPC
  2128. C-x r SPC    point-to-register    (Was C-x /)
  2129. C-x r j        jump-to-register     (Was C-x j)
  2130. C-x r s        copy-to-register     (Was C-x x)
  2131. C-x r i        insert-register      (Was C-x g)
  2132. C-x r r        copy-rectangle-to-register  (Was C-x r)
  2133. C-x r k        kill-rectangle
  2134. C-x r y        yank-rectangle
  2135. C-x r o        open-rectangle
  2136. C-x r f        frame-configuration-to-register
  2137.           (This saves the state of all windows in all frames.)
  2138. C-x r w        window-configuration-to-register
  2139.           (This saves the state of all windows in the selected  frame.)
  2140.  
  2141. (Use C-x r j to restore a configuration saved with C-x r f or C-x r w.)
  2142.  
  2143. C-x n n        narrow-to-region    (Was C-x n)
  2144. C-x n p        narrow-to-page        (Was C-x p)
  2145. C-x n w        widen            (Was C-x w)
  2146.  
  2147. C-x a l        add-mode-abbrev        (Was C-x C-a)
  2148. C-x a g        add-global-abbrev    (Was C-x +)
  2149. C-x a i l    inverse-add-mode-abbrev    (Was C-x C-h)
  2150. C-x a i g    inverse-add-global-abbrev  (Was C-x -)
  2151. C-x a e        expand-abbrev        (Was C-x ')
  2152.  
  2153. (The old key bindings C-x /, C-x j, C-x x and C-x g
  2154. have not yet been removed.)
  2155.  
  2156. * You can put a file name in a register to be able to visit the file
  2157. quickly.  Do this:
  2158.  
  2159.    (set-register ?CHAR '(file . NAME))
  2160.  
  2161. where NAME is the file name as a string.  Then C-x r j CHAR finds that
  2162. file.
  2163.  
  2164. This is useful for files that you need to visit frequently,
  2165. but that you don't want to keep in buffers all the time.
  2166.  
  2167. * The keys M-g (fill-region) and C-x a (append-to-buffer)
  2168. have been eliminated.
  2169.  
  2170. * The new command `string-rectangle' inserts a specified string on
  2171. each line of the region-rectangle.
  2172.  
  2173. * C-x 4 r is now `find-file-read-only-other-window'.
  2174.  
  2175. * C-x 4 C-o is now `display-buffer', which displays a specified buffer
  2176. in another window without selecting it.
  2177.  
  2178. * Picture mode has been substantially improved.  The picture editing commands
  2179. now arrange for automatic horizontal scrolling to keep point visible
  2180. when editing a wide buffer with truncate-lines on.  Picture-mode
  2181. initialization now does a better job of rebinding standard commands;
  2182. it finds not just their normal keybindings, but any function keys
  2183. attached to them.
  2184.  
  2185. * If you enable Transient Mark mode, then the mark becomes "inactive"
  2186. after every command that modifies the buffer.  While the mark is
  2187. active, the region is highlighted (under X, at least).  Most commands
  2188. that use the mark give an error if the mark is inactive, but you can
  2189. use C-x C-x to make it active again.  This feature is also sometimes
  2190. known as "Zmacs mode".
  2191.  
  2192. * Outline mode is now available as a minor mode.  This minor mode can
  2193. combine with any major mode; it substitutes the C-c commands of
  2194. Outline mode for those of the major mode.  Use M-x outline-minor-mode
  2195. to enable and disable the new mode.
  2196.  
  2197. M-x outline-mode is unchanged; it still switches to Outline mode as a
  2198. major mode.
  2199.  
  2200. * The default setting of `version-control' comes from the environment
  2201. variable VERSION_CONTROL.
  2202.  
  2203. * The user option for controlling whether files can set local
  2204. variables is now called `enable-local-variables'.  A value of t means
  2205. local-variables lists are obeyed; nil means they are ignored; anything
  2206. else means query the user.
  2207.  
  2208. The user option for controlling use of the `eval' local variable is
  2209. now called is `enable-local-eval'; its values are interpreted like
  2210. those of `enable-local-variables'.
  2211.  
  2212. * X Window System changes:
  2213.  
  2214. C-x 5 C-f and C-x 5 b switch to a specified file or buffer in a new
  2215. frame.  Likewise, C-x 5 m starts outgoing mail in another frame, and
  2216. C-x 5 . finds a tag in another frame.
  2217.  
  2218. When you are using X, C-z now iconifies the selected frame.
  2219.  
  2220. Emacs can now exchange text with other X applications.  Killing or
  2221. copying text in Emacs now makes that text available for pasting into
  2222. other X applications.  The Emacs yanking commands now insert the
  2223. latest selection set by other applications, and add the text to the
  2224. kill ring.  The Emacs commands for selecting and inserting text with
  2225. the mouse now use the kill ring in the same way the keyboard killing
  2226. and yanking commands do.
  2227.  
  2228. The option to specify the title for the initial frame is now `-name NAME'.
  2229. There is currently no way to specify an icon title; perhaps we will add
  2230. one in the future.
  2231.  
  2232. * Undoing a deletion now puts point back where it was before the
  2233. deletion.
  2234.  
  2235. * The variables that control how much undo information to save have
  2236. been renamed to `undo-limit' and `undo-strong-limit'.  They used to be
  2237. called `undo-threshold' and `undo-high-threshold'.
  2238.  
  2239. * You can now use kill commands in read-only buffers.  They don't
  2240. actually change the buffer, and Emacs will beep and warn you that the
  2241. buffer is read-only, but they do copy the text you tried to kill into
  2242. the kill ring, so you can yank it into other buffers.
  2243.  
  2244. * C-o inserts the fill-prefix on the newly created line.  The command
  2245. M-^ deletes the prefix (if it occurs) after the newline that it
  2246. deletes.
  2247.  
  2248. * C-M-l now runs the command `reposition-window'.  It scrolls the
  2249. window heuristically in a way designed to get useful information onto
  2250. the screen.
  2251.  
  2252. * C-M-r is now reverse incremental regexp search.
  2253.  
  2254. * M-z now kills through the target character.  In version 18, it
  2255. killed up to but not including the target character.
  2256.  
  2257. * M-! now runs the specified shell command asynchronously if it
  2258. ends in `&' (just as the shell does).
  2259.  
  2260. * C-h C-f and C-h C-k are new help commands that display the Info
  2261. node for a given Emacs function name or key sequence, respectively.
  2262.  
  2263. * The C-h p command system lets you find Emacs Lisp packages by
  2264. topic keywords.  Here is a partial list of package categories:
  2265.  
  2266. abbrev          abbreviation handling, typing shortcuts, macros
  2267. bib          code related to the bib bibliography processor
  2268. c          C and C++ language support
  2269. calendar      calendar and time management support
  2270. comm          communications, networking, remote access to files
  2271. docs          support for Emacs documentation
  2272. emulations    emulations of other editors
  2273. extensions    Emacs Lisp language extensions
  2274. games          games, jokes and amusements
  2275. hardware      support for interfacing with exotic hardware
  2276. help          support for on-line help systems
  2277. i14n          internationalization and alternate character-set support
  2278. internal      code for Emacs internals, build process, defaults
  2279. languages     specialized modes for editing programming languages
  2280. lisp          Lisp support, including Emacs Lisp
  2281. local          code local to your site
  2282. maint          maintenance aids for the Emacs development group
  2283. mail          modes for electronic-mail handling
  2284. news          support for netnews reading and posting
  2285. processes     process, subshell, compilation, and job control support
  2286. terminals     support for terminal types
  2287. tex          code related to the TeX formatter
  2288. tools          programming tools
  2289. unix          front-ends/assistants for, or emulators of, UNIX features
  2290. vms          support code for vms
  2291. wp          word processing
  2292.  
  2293. More will be added soon.
  2294.  
  2295. * The command to split a window into two side-by-side windows is now
  2296. C-x 3.  It was C-x 5.
  2297.  
  2298. * M-. (find-tag) no longer has any effect on what M-, will do
  2299. subsequently.  You can no longer use M-, to find the next similar tag;
  2300. you must use M-. with a prefix argument, instead.
  2301.  
  2302. The motive for this change is so that you can more reliably use
  2303. M-, to resume a suspended `tags-search' or `tags-query-replace'.
  2304.  
  2305. * C-x s (`save-some-buffers') now gives you more options when it asks
  2306. whether to save a particular buffer.  In addition to `y' or `n', you
  2307. can answer `!' to save all the remaining buffers, `.' to save this
  2308. buffer but not save any others, ESC to stop saving and exit the
  2309. command, and C-h to get help.  These options are analogous to those 
  2310. of `query-replace'.
  2311.  
  2312. * M-x make-symbolic-link does not expand its first argument.
  2313. This lets you make a link with a target that is a relative file name.
  2314.  
  2315. * M-x add-change-log-entry and C-x 4 a now automatically insert the
  2316. name of the file and often the name of the function that you changed.
  2317. They also handle grouping of entries.
  2318.  
  2319. There is now a special major mode for editing ChangeLog files.  It
  2320. makes filling work conveniently.  Each bunch of grouped entries is one
  2321. paragraph, and each collection of entries from one person on one day
  2322. is considered a page.
  2323.  
  2324. * The `comment-region' command adds comment delimiters to the lines that
  2325. start in the region, thus commenting them out.  With a negative argument,
  2326. it deletes comment delimiters from the lines in the region--this cancels
  2327. the effect of `comment-region' without an argument.
  2328.  
  2329. With a positive argument, `comment-region' adds comment delimiters
  2330. but duplicates the last character of the comment start sequence as many
  2331. times as the argument specifies.  This is a way of calling attention to
  2332. the comment.  In Lisp, you should use an argument at least two, because
  2333. the indentation convention for single semicolon comments does not leave
  2334. them at the beginning of a line.
  2335.  
  2336. * If `split-window-keep-point' is non-nil, C-x 2 tries to avoid
  2337. shifting any text on the screen by putting point in whichever window
  2338. happens to contain the screen line the cursor is already on.
  2339. The default is that `split-window-keep-point' is non-nil on slow
  2340. terminals.
  2341.  
  2342. * M-x super-apropos is like M-x apropos except that it searches both
  2343. Lisp symbol names and documentation strings for matches.  It describes
  2344. every symbol that has a match in either the symbol's name or its
  2345. documentation.
  2346.  
  2347. Both M-x apropos and M-x super-apropos take an optional second
  2348. argument DO-ALL which controls the more expensive part of the job.
  2349. This includes looking up and printing the key bindings of all
  2350. commands.  It also includes checking documentation strings in
  2351. super-apropos.  DO-ALL is nil by default; use a prefix arg to make it
  2352. non-nil.
  2353.  
  2354. * M-x revert-buffer no longer offers to revert from a recent auto-save
  2355. file unless you give it a prefix argument.  Otherwise it always
  2356. reverts from the real file regardless of whether there has been an
  2357. auto-save since thenm.  (Reverting from the auto-save file is no longer
  2358. very useful now that the undo capacity is larger.)
  2359.  
  2360. * M-x recover-file no longer turns off Auto Save mode when it reads
  2361. the last Auto Save file.
  2362.  
  2363. * M-x rename-buffer, if you give it a prefix argument,
  2364. avoids errors by modifying the new name to make it unique.
  2365.  
  2366. * M-x rename-uniquely renames the current buffer to a similar name
  2367. with a numeric suffix added to make it both different and unique.
  2368.  
  2369. One use of this command is for creating multiple shell buffers.
  2370. If you rename your shell buffer, and then do M-x shell again, it
  2371. makes a new shell buffer.  This method is also good for mail buffers,
  2372. compilation buffers, and any Emacs feature which creates a special
  2373. buffer with a particular name.
  2374.  
  2375. * M-x compare-windows with a prefix argument ignores changes in whitespace.
  2376. If `compare-ignore-case' is non-nil, then differences in case are also
  2377. ignored.
  2378.  
  2379. * `backward-paragraph' is now bound to M-{ by default, and `forward-paragraph'
  2380. to M-}.  Originally, these commands were bound to M-[ and M-], but they were
  2381. running into conflicts with the use of function keys.  On many terminals,
  2382. function keys send a sequence beginning ESC-[, so many users have defined this
  2383. as a prefix key.
  2384.  
  2385. * C-x C-u (upcase-region) and C-x C-l (downcase-region) are now disabled by
  2386. default; these commands seem to be often hit by accident, and can be
  2387. quite destructive if their effects are not noticed immediately.
  2388.  
  2389. * The function `erase-buffer' is now interactive, but disabled by default.
  2390.  
  2391. * When visiting a new file, Emacs attempts to abbreviate the file's
  2392. path using the symlinks listed in `directory-abbrev-alist'.
  2393.  
  2394. * When you visit the same file in under two names that translate into
  2395. the same name once symbolic links are handled, Emacs warns you that
  2396. you have two buffers for the same file.
  2397.  
  2398. * If you wish to avoid visiting the same file in two buffers under
  2399. different names, set the variable `find-file-existing-other-name'
  2400. non-nil.  Then `find-file' uses the existing buffer visiting the file,
  2401. no matter which of the file's names you specify.
  2402.  
  2403. * If you set `find-file-visit-truename' non-nil, then the file name
  2404. recorded for a buffer is the file's truename (in which all symbolic
  2405. links have been removed), rather than the name you specify.  Setting
  2406. `find-file-visit-truename' also implies the effect of
  2407. `find-file-existing-other-name'.
  2408.  
  2409. * C-x C-v now inserts the entire current file name in the minibuffer.
  2410. This is convenient if you made a small mistake in typing it.  Point
  2411. goes after the last slash, before the last file name component, so if
  2412. you want to replace it entirely, you can use C-k right away to delete
  2413. it.
  2414.  
  2415. * Commands such as C-M-f in Lisp mode now ignore parentheses within comments.
  2416.  
  2417. * C-x q now uses ESC to terminate all iterations of the keyboard
  2418. macro, rather than C-d as before.
  2419.  
  2420. * Use the command `setenv' to set an individual environment variable
  2421. for Emacs subprocesses.  Specify a variable name and a value, both as
  2422. strings.  This command applies only to subprocesses yet to be
  2423. started.
  2424.  
  2425. * Use `rot13-other-window' to examine a buffer with rot13.
  2426.  
  2427. This command does not change the text in the buffer.  Instead, it
  2428. creates a window with a funny display table that applies the code when
  2429. displaying the text.
  2430.  
  2431. * The command `M-x version' now prints the current Emacs version; The
  2432. `version' command is an alias for the `emacs-version' command.
  2433.  
  2434. * More complex changes in existing packages.
  2435.  
  2436. ** `fill-nonuniform-paragraphs' is a new command, much like
  2437. `fill-individual-paragraphs' except that only separator lines separate
  2438. paragraphs.  Since this means that the lines of one paragraph may have
  2439. different amounts of indentation, the fill prefix used is the smallest
  2440. amount of indentation of any of the lines of the paragraph.
  2441.  
  2442. ** Filling is now partially controlled by a new minor mode, Adaptive
  2443. Fill mode.  When this mode is enabled (and it is enabled by default),
  2444. if you use M-x fill-region-as-paragraph on an indented paragraph and
  2445. you don't have a fill prefix, it uses the indentation of the second
  2446. line of the paragraph as the fill prefix.
  2447.  
  2448. Adaptive Fill mode doesn't have much effect on M-q in most major
  2449. modes, because an indented line will probably count as a paragraph
  2450. starter and thus each line of an indented paragraph will be considered
  2451. a paragraph of its own.
  2452.  
  2453. ** M-q in C mode now runs `c-fill-paragraph', which is designed
  2454. for filling C comments.  (We assume you don't want to fill
  2455. the code in a C program.)
  2456.  
  2457. ** M-$ now runs the Ispell program instead of the Unix spell program.
  2458.  
  2459. M-$ starts an Ispell process the first time you use it.  But the process
  2460. stays alive, so that subsequent uses of M-$ run very fast.
  2461. If you want to get rid of the process, use M-x kill-ispell.
  2462.  
  2463. To check the entire current buffer, use M-x ispell-buffer.
  2464. Use M-x ispell-region to check just the current region.
  2465.  
  2466. Ispell commands often involve interactive replacement of words.
  2467. You can interrupt the interactive replacement with C-g.
  2468. You can restart it again afterward with C-u M-$.
  2469.  
  2470. During interactive replacement, you can type the following characters:
  2471.  
  2472. a    Accept this word this time.
  2473. DIGIT    Replace the word (this time) with one of the displayed near-misses.
  2474.     The digit you use says which near-miss to use.
  2475. i    Insert this word in your private dictionary
  2476.       so that Ispell will consider it correct it from now on.
  2477. r    Replace the word this time with a string typed by you.
  2478.  
  2479. When the Ispell process starts, it reads your private dictionary which
  2480. is the file `~/ispell.words'.  If you "insert" words with the `i' command,
  2481. these words are added to that file, but not right away--only at the end
  2482. of the interactive replacement process.
  2483.  
  2484. Use M-x reload-ispell to reload your private dictionary from
  2485. `~/ispell.words' if you edit it outside of Ispell.
  2486.  
  2487. * Changes in existing modes.
  2488.  
  2489. ** gdb-mode has been replaced by gud-mode.
  2490.  
  2491. The package gud.el (Grand Unified Debugger) replaces gdb.el in Emacs
  2492. 19.  It provides a gdb.el-like interface to any of three debuggers;
  2493. gdb itself, the sdb debugger supported on some Unix systems, or the
  2494. dbx debugger on Berkeley systems.
  2495.  
  2496.    You start it up with one of the commands M-x gdb, M-x sdb, or
  2497. M-x dbx.  Each entry point finishes by executing a hook; gdb-mode-hook,
  2498. sdb-mode-hook or dbx-mode-hook respectively.
  2499.  
  2500. These bindings have changed:
  2501. C-x C-a >    gud-down            (was M-d)
  2502. C-x C-a <    gud-up                (was M-u)
  2503. C-x C-a C-r    gud-cont            (was M-c)
  2504. C-x C-a C-n    gud-next            (was M-n)
  2505. C-x C-a C-s    gud-step            (was M-s)
  2506. C-x C-a C-i     gud-stepi            (was M-i)
  2507. C-x C-a C-l    gud-recenter            (was C-l)
  2508. C-d        comint-delchar-or-maybe-eof    (was C-c C-d)
  2509.  
  2510. These bindings have been removed:
  2511. C-c C-r        (was comint-show-output; now gud-cont)
  2512.  
  2513. Since GUD mode uses comint, it uses comint's input history commands,
  2514. superseding C-c C-y (copy-last-shell-input):
  2515.   M-p        comint-next-input
  2516.   M-n        comint-previous-input
  2517.   M-r        comint-previous-similar-input
  2518.   M-s        comint-next-similar-input
  2519.   M-C-r        comint-previous-input-matching
  2520.  
  2521. The C-x C-a bindings are also active in source files.
  2522.  
  2523. ** The old TeX mode bindings of M-{ and M-} have been moved to C-c {
  2524. and C-c }.  (These commands are `up-list' and `tex-insert-braces';
  2525. they are the TeX equivalents of M-( and M-).)  This is because M-{ 
  2526. and M-} are now globally defined commands.
  2527.  
  2528. ** Changes in Mail mode.
  2529.  
  2530. `%' is now a word-separator character in Mail mode.
  2531.  
  2532. `mail-signature', if non-nil, tells M-x mail to insert your
  2533. `.signature' file automatically.  If you don't want your signature in
  2534. a particular message, just delete it before you send the message.
  2535.  
  2536. You can specify the text to insert at the beginning of each line when
  2537. you use C-c C-y to yank the message you are replying to.  Set
  2538. `mail-yank-prefix' to the desired string.  A value of `nil' (the
  2539. default) means to use indentation, as in Emacs 18.  If you use just
  2540. C-u as the prefix argument to C-c C-y, then it does not insert
  2541. anything at the beginning of the lines, regardless of the value of
  2542. `mail-yank-prefix'.
  2543.  
  2544. If you like, you can expand mail aliases as abbrevs, as soon as you
  2545. type them in.  To enable this feature, execute the following:
  2546.  
  2547.     (add-hook 'mail-setup-hook 'mail-abbrevs-setup)
  2548.  
  2549. This can go in your .emacs file.
  2550.  
  2551. Word abbrevs don't expand unless you insert a word-separator character
  2552. afterward.  Any mail aliases that you didn't expand at insertion time
  2553. are expanded subsequently when you send the message.
  2554.  
  2555. ** Changes in Rmail.
  2556.  
  2557. Rmail by default gets new mail only from the system inbox file,
  2558. not from `~/mbox'.
  2559.  
  2560. In Rmail, you can retry sending a message that failed
  2561. by typing `M-m' on the failure message.
  2562.  
  2563. By contrast, another new command M-x rmail-resend is used for
  2564. forwarding a message and marking it as "resent from" you
  2565. with header fields "Resent-From:" and "Resent-To:".
  2566.  
  2567. `e' is now the command to edit a message.
  2568. To expunge, type `x'.  We know this will surprise people
  2569. some of the time, but the surprise will not be disastrous--if
  2570. you type `e' meaning to expunge, just turn off editing with C-c C-c
  2571. and then type `x'.
  2572.  
  2573. Another new Rmail command is `<', which moves to the first message.
  2574. This is for symmetry with `>'.
  2575.  
  2576. Use the `b' command to bury the Rmail buffer and its summary buffer,
  2577. if any, removing both of them from display on the screen.
  2578.  
  2579. The variable `rmail-output-file-alist' now controls the default
  2580. for the file to output a message to.
  2581.  
  2582. In the Rmail summary buffer, all cursor motion commands select
  2583. the message you move to.  It's really neat when you use
  2584. incremental search.
  2585.  
  2586. You can now issue most Rmail commands from an Rmail summary buffer.
  2587. The commands do the same thing in that buffer that they do in the
  2588. Rmail buffer.  They apply to the message that is selected in the Rmail
  2589. buffer, which is always the one described by the current summary
  2590. line.
  2591.  
  2592. Conversely, motion and deletion commands in the Rmail buffer also
  2593. update the summary buffer.  If you set the variable
  2594. `rmail-redisplay-summary' to a non-nil value, then they bring the
  2595. summary buffer (if one exists) back onto the screen.
  2596.  
  2597. C-M-t is a new command to make a summary by topic.  It uses regexp
  2598. matching against just the subjects of the messages to decide which
  2599. messages to show in the summary.
  2600.  
  2601. You can easily convert an Rmail file to system mailbox format with the
  2602. command `unrmail'.  This command reads two arguments, the name of
  2603. the Rmail file to convert, and the name of the new mailbox file.
  2604. (This command does not change the Rmail file itself.)
  2605.  
  2606. Rmail now handles Content Length fields in messages.
  2607.  
  2608. ** `mail-extract-address-components' unpacks mail addresses.
  2609. It takes an address as a string (the contents of the From field, for
  2610. example) and returns a list of the form (FULL-NAME
  2611. CANONICAL-ADDRESS).
  2612.  
  2613. ** Changes in C mode and C-related commands.
  2614.  
  2615. *** M-x c-up-conditional
  2616.  
  2617. In C mode, `c-up-conditional' moves back to the containing
  2618. preprocessor conditional, setting the mark where point was
  2619. previously.
  2620.  
  2621. A prefix argument acts as a repeat count.  With a negative argument,
  2622. this command moves forward to the end of the containing preprocessor
  2623. conditional.  When going backwards, `#elif' acts like `#else' followed
  2624. by `#if'.  When going forwards, `#elif' is ignored.
  2625.  
  2626. *** In C mode, M-a and M-e are now defined as
  2627. `c-beginning-of-statement' and `c-end-of-statement'.
  2628.  
  2629. *** In C mode, M-x c-backslash-region is a new command to insert or
  2630. align `\' characters at the ends of the lines of the region, except
  2631. for the last such line.  This is useful after writing or editing a C
  2632. macro definition.
  2633.  
  2634. If a line already ends in `\', this command adjusts the amount of
  2635. whitespace before it.  Otherwise, it inserts a new `\'.
  2636.  
  2637. ** New features in info.
  2638.  
  2639. When Info looks for an Info file, it searches the directories
  2640. in `Info-directory-list'.  This makes it easy to install the Info files
  2641. that come with various packages.  You can specify the path with
  2642. the environment variable INFOPATH.
  2643.  
  2644. There are new commands in Info mode.
  2645.  
  2646. `]' now moves forward a node, going up and down levels as needed.
  2647. `[' is similar but moves backward.  These two commands try to traverse
  2648. the entire Info tree, node by node.  They are the equivalent of reading
  2649. a printed manual sequentially.
  2650.  
  2651. `<' moves to the top node of the current Info file.
  2652. `>' moves to the last node of the file.
  2653.  
  2654. SPC scrolls through the current node; at the end, it advances to the
  2655. next node in depth-first order (like `]').
  2656.  
  2657. DEL scrolls backwards in the current node; at the end, it moves to the
  2658. previous node in depth-first order (like `[').
  2659.  
  2660. After a menu select, the info `up' command now restores point in the
  2661. menu.  The combination of this and the previous two changes means that
  2662. repeated SPC keystrokes do the right (depth-first traverse forward) thing.
  2663.  
  2664. `i STRING RET' moves to the node associated with STRING in the index
  2665. or indices of this manual.  If there is more than one match for
  2666. STRING, the `i' command finds the first match.
  2667.  
  2668. `,' finds the next match for the string in the previous `i' command
  2669.  
  2670. If you click the middle mouse button near a cross-reference,
  2671. menu item or node pointer while in Info, you will go to the node
  2672. which is referenced.
  2673.  
  2674. ** Changes in M-x compile.
  2675.  
  2676. You can repeat any previous compilation command conveniently using the
  2677. minibuffer history commands, while in the minibuffer entering the
  2678. compilation command.
  2679.  
  2680. While a compilation is going on, the string `Compiling' appears in
  2681. the mode line.  When this string disappears, that tells you the
  2682. compilation is finished.
  2683.  
  2684. The buffer of compiler messages is in Compilation mode.  This mode
  2685. provides the keys SPC and DEL to scroll by screenfuls, and M-n and M-p
  2686. to move to the next or previous error message.  You can also use C-c
  2687. C-c on any error message to find the corresponding source code.
  2688.  
  2689. Emacs 19 has a more general parser for compiler messages.  For example, it
  2690. can understand messages from lint, and from certain C compilers whose error
  2691. message format is unusual.  Also, it only parses until it sees the error
  2692. message you want; you never have to wait a long time to see the first
  2693. error, no matter how big the buffer is.
  2694.  
  2695. ** M-x diff and M-x diff-backup.
  2696.  
  2697. This new command compares two files, displaying the differences in an
  2698. Emacs buffer.  The options for the `diff' program come from the
  2699. variable `diff-switches', whose value should be a string.
  2700.  
  2701. The buffer of differences has Compilation mode as its major mode, so you
  2702. can use C-x ` to visit successive changed locations in the two
  2703. source files, or you can move to a particular hunk of changes and type
  2704. C-c C-c to move to the corresponding source.  You can also use the
  2705. other special commands of Compilation mode: SPC and DEL for
  2706. scrolling, and M-n and M-p for cursor motion.
  2707.  
  2708. M-x diff-backup compares a file with its most recent backup.
  2709. If you specify the name of a backup file, `diff-backup' compares it
  2710. with the source file that it is a backup of.
  2711.  
  2712. ** The View commands (such as M-x view-buffer and M-x view-file) no
  2713. longer use recursive edits; instead, they switch temporarily to a
  2714. different major mode (View mode) specifically designed for moving
  2715. around through a buffer without editing it.
  2716.  
  2717. ** Changes in incremental search.
  2718.  
  2719. *** The character to terminate an incremental search is now RET.
  2720. This is for compatibility with the way most other arguments are read.
  2721.  
  2722. To search for a newline in an incremental search, type LFD (also known
  2723. as C-j).
  2724.  
  2725. *** Incremental search now maintains a ring of previous search
  2726. strings.  Use M-p and M-n to move through the ring to pick a search
  2727. string to reuse.  These commands leave the selected search ring
  2728. element in the minibuffer, where you can edit it.  Type C-s or C-r to
  2729. finish editing and search for the chosen string.
  2730.  
  2731. *** If you type an upper case letter in incremental search, that turns
  2732. off case-folding, so that you get a case-sensitive search.
  2733.  
  2734. *** If you type a space during regexp incremental search, it matches
  2735. any sequence of whitespace characters.  If you want to match just a space,
  2736. type C-q SPC.
  2737.  
  2738. *** Incremental search is now implemented as a major mode.  When you
  2739. type C-s, it switches temporarily to a different keymap which defines
  2740. each key to do what it ought to do for incremental search.  This has
  2741. next to no effect on the user-visible behavior of searching, but makes
  2742. it easier to customize that behavior.
  2743.  
  2744. Emacs 19 eliminates the old variables `search-...-char' that used to
  2745. be the way to specify the characters to use for various special
  2746. purposes in incremental search.  Instead, you can define the meaning
  2747. of a character in incremental search by modifying `isearch-mode-map'.
  2748.  
  2749. ** New commands in Buffer Menu mode.
  2750.  
  2751. The command C-o now displays the current line's buffer in another
  2752. window but does not select it.  This is like the existing command `o'
  2753. which selects the current line's buffer in another window.
  2754.  
  2755. The command % toggles the read-only flag of the current line's buffer.
  2756.  
  2757. The way to switch to a set of several buffers, including those marked
  2758. with m, is now v.  The q command simply quits, replacing the buffer
  2759. menu buffer with the buffer that was displayed previously.
  2760.  
  2761. * New major modes and packages.
  2762.  
  2763. ** The news reader GNUS is now installed.
  2764.  
  2765. ** There is a new interface for version control systems, called VC.
  2766. It works with both RCS and SCCS; in fact, you don't really have to
  2767. know which one of them is being used, because it automatically deals
  2768. with either one.
  2769.  
  2770. Most of the time, the only command you have to know about is C-x C-q.
  2771. This command normally toggles the read-only flag of the current
  2772. buffer.  If the buffer is visiting a file that is maintained with a
  2773. version control system, the command still toggles read-only, but does
  2774. so by checking the file in or checking it out.
  2775.  
  2776. When you check a file in, VC asks you for a log entry by popping up a
  2777. buffer.  Edit the entry there, then type C-c C-c when it is ready.
  2778. That's when the actual checkin happens.  If you change your mind about
  2779. the checkin, simply switch buffers and don't ever go back to the log
  2780. buffer.
  2781.  
  2782. To start using version control for a file, use the command C-x v v.
  2783. This works like C-x C-q (performing the next logical version-control
  2784. operation needed to change the file's writeability) but it will also
  2785. perform initial checkin on an unregistered file.
  2786.  
  2787. By default, VC uses RCS if RCS is installed on your machine;
  2788. otherwise, SCCS.  If you want to make the choice explicitly, you can do
  2789. it by setting `vc-default-back-end' to the symbol `RCS' or the symbol
  2790. `SCCS'.
  2791.  
  2792. You can tell when a file you visit is maintained with version control
  2793. because either `RCS' or `SCCS' appears in the mode line.
  2794.  
  2795. ** A new Calendar mode has been added, the work of Edward M. Reingold.
  2796. The mode can display the Gregorian calendar and a variety of other
  2797. calendars at any date, and interacts with a diary facility similar to
  2798. the UNIX `calendar' utility.
  2799.  
  2800. ** There is a new major mode for editing binary files: Hexl mode.
  2801. To use it, use M-x hexl-find-file instead of C-x C-f to visit the file.
  2802. This command converts the file's contents to hexadecimal and lets you
  2803. edit the translation.  When you save the file, it is converted 
  2804. automatically back to binary.
  2805.  
  2806. You can also use M-x hexl-mode to translate an existing buffer into hex.
  2807. Do this if you have already visited a binary file.  
  2808.  
  2809. Hexl mode has a few other commands:
  2810.  
  2811. C-M-d    insert a byte with a code typed in decimal.
  2812. C-M-o    insert a byte with a code typed in octal.
  2813. C-M-x    insert a byte with a code typed in hex.
  2814.  
  2815. C-x [   move to the beginning of a 1k-byte "page".
  2816. C-x ]   move to the end of a 1k-byte "page".
  2817.  
  2818. M-g     go to an address specified in hex.
  2819. M-j    go to an address specified in decimal.
  2820.  
  2821. C-c C-c    leave hexl mode and go back to the previous major mode.
  2822.  
  2823. ** Miscellaneous new major modes include Awk mode, Icon mode, Makefile
  2824. mode, Perl mode and SGML mode.
  2825.  
  2826. ** Edebug, a new source-level debugger for Emacs Lisp functions.
  2827.  
  2828. To use Edebug, use the command M-x edebug-defun to "evaluate" a
  2829. function definition in an Emacs Lisp file.  We put "evaluate" in
  2830. quotation marks because it doesn't just evaluate the function, it also
  2831. inserts additional information to support source-level debugging.
  2832.  
  2833. You must also do
  2834.  
  2835.     (setq debugger 'edebug-debug)
  2836.  
  2837. to cause errors and single-stepping to use Edebug instead of the usual
  2838. Emacs Lisp debugger.
  2839.  
  2840. For more information, see the Edebug manual, which should be included
  2841. in the Emacs distribution.
  2842.  
  2843. ** C++ mode is like C mode, except that it understands C++ comment syntax
  2844. and certain other differences between C and C++.  It also has a command
  2845. `fill-c++-comment' which fills a paragraph made of comment lines.
  2846.  
  2847. The command `comment-region' is useful in C++ mode for commenting out
  2848. several consecutive lines, or removing the commenting out of such lines.
  2849.  
  2850. ** A new package for merging two variants of the same text.
  2851.  
  2852. It's not unusual for programmers to get their signals crossed and
  2853. modify the same program in two different directions.  Then somebody
  2854. has to merge the two versions.  The command `emerge-files' makes this
  2855. easier.
  2856.  
  2857. `emerge-files' reads two file names and compares them.  Then it
  2858. displays three buffers: one for each file, and one for the
  2859. differences.
  2860.  
  2861. If the original version of the file is available, you can make things
  2862. even easier using `emerge-files-with-ancestor'.  It reads three file
  2863. names--variant 1, variant 2, and the common ancestor--and uses diff3
  2864. to compare them.
  2865.  
  2866. You control the merging interactively.  The main loop of Emerge
  2867. consists of showing you one set of differences, asking you what to do
  2868. about them, and doing it.  You have a choice of two modes for giving
  2869. directions to Emerge: "fast" mode and "edit" mode.
  2870.  
  2871. In Fast mode, Emerge commands are single characters, and ordinary
  2872. Emacs commands are disabled.  This makes Emerge operations fast, but
  2873. prevents you from doing more than selecting the A or the B version of
  2874. differences.  In Edit mode, all emerge commands use the C-c prefix,
  2875. and the usual Emacs commands are available.  This allows editing the
  2876. merge buffer, but slows down Emerge operations.  Edit and fast modes
  2877. are indicated by `F' and `E' in the minor modes in the mode line.
  2878.  
  2879. The Emerge commands are:
  2880.  
  2881.     p    go to the previous difference
  2882.     n    go to the next difference
  2883.     a    select the A version of this difference
  2884.     b    select the B version of this difference
  2885.     j    go to a particular difference (prefix argument
  2886.         specifies which difference) (0j suppresses display of
  2887.         the flags)
  2888.     q    quit - finish the merge*
  2889.     f    go into fast mode
  2890.     e    go into edit mode
  2891.     l    recenter (C-l) all three windows*
  2892.     - and 0 through 9
  2893.         prefix numeric arguments
  2894.     d a    select the A version as the default from here down in
  2895.         the merge buffer*
  2896.     d b    select the B version as the default from here down in
  2897.         the merge buffer*
  2898.     c a    copy the A version of the difference into the kill
  2899.         ring
  2900.     c b    copy the B version of the difference into the kill
  2901.         ring
  2902.     i a    insert the A version of the difference at the point
  2903.     i b    insert the B version of the difference at the point
  2904.     m    put the point and mark around the difference region
  2905.     ^    scroll-down (like M-v) the three windows*
  2906.     v    scroll-up (like C-v) the three windows*
  2907.     <    scroll-left (like C-x <) the three windows*
  2908.     >    scroll-right (like C-x >) the three windows*
  2909.     |    reset horizontal scroll on the three windows*
  2910.     x 1    shrink the merge window to one line (use C-u l to restore it
  2911.         to full size)
  2912.     x a    find the difference containing a location in the A buffer*
  2913.     x b    find the difference containing a location in the B buffer*
  2914.     x c    combine the two versions of this difference*
  2915.     x C    combine the two versions of this difference, using a
  2916.         register's value as the template*
  2917.     x d    find the difference containing a location in the merge buffer*
  2918.     x f    show the files/buffers Emerge is operating on in Help window
  2919.         (use C-u l to restore windows)
  2920.     x j    join this difference with the following one
  2921.         (C-u x j joins this difference with the previous one)
  2922.     x l    show line numbers of points in A, B, and merge buffers
  2923.     x m    change major mode of merge buffer*
  2924.     x s    split this difference into two differences
  2925.         (first position the point in all three buffers to the places
  2926.         to split the difference)
  2927.     x t    trim identical lines off top and bottom of difference
  2928.         (such lines occur when the A and B versions are
  2929.         identical but differ from the ancestor version)
  2930.     x x    set the template for the x c command*
  2931.  
  2932. Normally, the merged output goes back in the first file specified.
  2933. If you use a prefix argument, Emerge reads another file name to use
  2934. for the output file.
  2935.  
  2936. Once Emerge has prepared the buffer of differences, it runs the hooks
  2937. in `emerge-startup-hooks'.
  2938.  
  2939. ** Asm mode is a new major mode for editing files of assembler code.
  2940. It defines these commands:
  2941.  
  2942. TAB    tab-to-tab-stop.
  2943. LFD    Insert a newline and then indent using tab-to-tab-stop.
  2944. :    Insert a colon and then remove the indentation
  2945.     from before the label preceding colon.  Then tab-to-tab-stop.
  2946. ;    Insert or align a comment.
  2947.  
  2948. ** Two-column mode lets you conveniently edit two side-by-side columns
  2949. of text.  It works using two side-by-side windows, each showing its
  2950. own buffer.
  2951.  
  2952. Here are three ways to enter two-column mode:
  2953.  
  2954. C-x 6 2 makes the current buffer into the left-hand buffer.  In the
  2955. right-hand window it puts a buffer whose name is based on the current
  2956. buffer's name.
  2957.  
  2958. C-x 6 b BUFFER RET makes the current buffer into the left-hand buffer,
  2959. and uses buffer BUFFER as the right-hand buffer.
  2960.  
  2961. C-x 6 s splits the current buffer, which contains two-column text,
  2962. into two side-by-side buffers.  The old current buffer becomes the
  2963. left-hand buffer, but the text in the right column is moved into the
  2964. right-hand buffer.  The current column specifies the split point.
  2965. Splitting starts with the current line and continues to the end of the
  2966. buffer.
  2967.  
  2968. C-x 6 s takes a prefix argument which specifies how many characters
  2969. before point constitute the column separator.  (The default argument
  2970. is 1, as usual, so by default the column separator is the character
  2971. before point.)  Lines that don't have the column separator at the
  2972. proper place remain unsplit; they stay in the left-hand buffer, and
  2973. the right-hand buffer gets an empty line to correspond.
  2974.  
  2975. You can scroll both buffers together using C-x 6 SPC (scroll up), C-x
  2976. 6 DEL (scroll down), and C-x 6 RET (scroll up one line).  C-x 6 C-l
  2977. recenters both buffers together.
  2978.  
  2979. If you want to make a line which will span both columns, put it in
  2980. the left-hand buffer, with an empty line in the corresponding place in
  2981. the right-hand buffer.
  2982.  
  2983. When you have edited both buffers as you wish, merge them with C-x 6
  2984. 1.  This copies the text from the right-hand buffer as a second column
  2985. in the other buffer.  To go back to two-column editing, use C-x 6 s.
  2986.  
  2987. Use C-x 6 d to disassociate the two buffers, leaving each as it
  2988. stands.  (If the other buffer, the one that was not current when you
  2989. type C-x 6 d, is empty, C-x 6 d kills it.)
  2990.  
  2991. ** You can supply command arguments such as files to visit to an Emacs
  2992. that is already running.  To do this, you must do this in your .emacs
  2993. file:
  2994.    (add-hook 'suspend-hook 'resume-suspend-hook)
  2995. Also you must use the shellscript emacs.csh or emacs.sh, found in the
  2996. etc subdirectory.
  2997.  
  2998. ** Shell mode has been completely replaced.
  2999. The basic idea is the same, but there are new commands available in
  3000. this mode.
  3001.       
  3002. TAB now completes the file name before point in the shell buffer.
  3003. To get a list of all possible completions, type M-?.
  3004.  
  3005. There is a new convenient history mechanism for repeating previous
  3006. commands.  Use the command M-p to recall the last command; it copies
  3007. the text of that command to the place where you are editing.  If you
  3008. repeat M-p, it replaces the copied command with the previous command.
  3009. M-n is similar but goes in the opposite direction towards the present.
  3010. When you find the command you wanted, you can edit it, or just
  3011. resubmit it by typing RET.
  3012.  
  3013. You can also use M-r and M-s to search for (respectively) earlier or 
  3014. later inputs starting with a given string.  First type the string, 
  3015. then type M-r to yank a previous input from the history which starts
  3016. with that string.  You can repeat M-r to find successively earlier
  3017. inputs starting with the same string.  You can start moving in the
  3018. opposite direction (toward more recent inputs) by typing M-s instead
  3019. of M-r.  As long as you don't use any commands except M-r and M-s,
  3020. they keep using the same string that you had entered initially.
  3021.  
  3022. C-c C-o kills the last batch of output from a shell command.  This is
  3023. useful if a shell command spews out lots of output that just gets in
  3024. the way.
  3025.  
  3026. C-c C-r scrolls to display the beginning of the last batch of output
  3027. at the top of the window; it also moves the cursor there.
  3028.  
  3029. C-a on a line that starts with a shell prompt moves to the end of the
  3030. prompt, not to the very beginning of the line.
  3031.  
  3032. C-d typed at the end of the shell buffer sends EOF to the subshell.
  3033. At any other position in the buffer, it deletes a character as usual.
  3034.  
  3035. If Emacs gets confused while trying to track changes in the shell's
  3036. current directory, type M-x dirs to re-synchronize.
  3037.  
  3038. M-x send-invisible reads a line of text without echoing it, and
  3039. sends it to the shell.
  3040.  
  3041. If you accidentally suspend your process, use M-x comint-continue-subjob 
  3042. to continue it.
  3043.          
  3044. ** There is now a convenient way to enable flow control on terminals
  3045. where you can't win without it.  Suppose you want to do this on
  3046. VT-100 and H19 terminals; put the following in your `.emacs' file:
  3047.  
  3048.    (enable-flow-control-on "vt100" "h19")
  3049.  
  3050. When flow control is enabled, you must type C-\ to get the effect of a
  3051. C-s, and type C-^ to get the effect of a C-q.
  3052.  
  3053. The function `enable-flow-control' enables flow control unconditionally.
  3054.  
  3055. * Changes in Dired
  3056.  
  3057. Dired has many new features which allow you to do these things:
  3058.  
  3059. - Rename, copy, or make links to many files at once.
  3060.  
  3061. - Make distinguishable types of marks for different operations.
  3062.  
  3063. - Display contents of subdirectories in the same Dired buffer as the
  3064. parent directory.
  3065.  
  3066. ** Setting and Clearing Marks
  3067.  
  3068. There are now two kinds of marker that you can put on a file in Dired:
  3069. `D' for deletion, and `*' for any other kind of operation.
  3070. The `x' command deletes only files marked with `D', and most
  3071. other Dired commands operate only on the files marked with `*'.
  3072.  
  3073. To mark files with `D' (also called "flagging" the files), you
  3074. can use `d' as usual.  Here are some commands for marking with
  3075. `*' (and also for unmarking):
  3076.  
  3077. *** `m' marks the current file with `*', for an operation other than
  3078. deletion.
  3079.  
  3080. *** `*' marks all executable files.  With a prefix argument, it
  3081. unmarks all those files.
  3082.  
  3083. *** `@' marks all symbolic links.  With a prefix argument, it unmarks
  3084. all those files.
  3085.  
  3086. *** `/' marks all directory files except `.' and `..'.  With a prefix
  3087. argument, it unmarks all those files.
  3088.  
  3089. *** M-DEL removes a specific or all marks from every file.  With an
  3090. argument, queries for each marked file.  Type your help character,
  3091. usually C-h, at that time for help.
  3092.  
  3093. *** `c' replaces all marks that use the character OLD with marks that
  3094. use the character NEW.  You can use almost any character as a mark
  3095. character by means of this command, to distinguish various classes of
  3096. files.  If OLD is ` ', then the command operates on all unmarked
  3097. files; if NEW is ` ', then the command unmarks the files it acts on.
  3098.  
  3099. ** Operating on Multiple Files
  3100.  
  3101. The Dired commands to operate directly on files (rename them, copy
  3102. them, and so on) have been generalized to work on multiple files.
  3103. There are also some additional commands in this series.
  3104.  
  3105. All of these commands use the same convention to decide which files to
  3106. manipulate:
  3107.  
  3108. - If you give the command a numeric prefix argument @var{n}, it operates
  3109. on the next @var{n} files, starting with the current file.
  3110.  
  3111. - Otherwise, if there are marked files, the commands operate on all the
  3112. marked files.
  3113.  
  3114. - Otherwise, the command operates on the current file only.
  3115.  
  3116. These are the commands:
  3117.  
  3118. *** `C' copies the specified files.  You must specify a directory to
  3119. copy into, or (if copying a single file) a new name.
  3120.  
  3121. If `dired-copy-preserve-time' is non-`nil', then copying sets
  3122. the modification time of the new file to be the same as that of the old
  3123. file.
  3124.  
  3125. *** `R' renames the specified files.  You must specify a directory to
  3126. rename into, or (if renaming a single file) a new name.
  3127.  
  3128. Dired automatically changes the visited file name of buffers associated
  3129. with renamed files so that they refer to the new names.
  3130.  
  3131. *** `H' makes hard links to the specified files.  You must specify a
  3132. directory to make the links in, or (if making just one link) the name
  3133. to give the link.
  3134.  
  3135. *** `S' makes symbolic links to the specified files.  You must specify
  3136. a directory to make the links in, or (if making just one link) the
  3137. name to give the link.
  3138.  
  3139. *** `M' changes the mode of the specified files.  This calls the
  3140. `chmod' program, so you can describe the desired mode change with any
  3141. argument that `chmod' would handle.
  3142.  
  3143. *** `G' changes the group of the specified files.
  3144.  
  3145. *** `O' changes the owner of the specified files.  (On normal systems,
  3146. only the superuser can do this.)
  3147.  
  3148. The variable `dired-chown-program' specifies the name of the
  3149. program to use to do the work (different systems put `chown' in
  3150. different places.
  3151.  
  3152. *** `Z' compresses or uncompresses the specified files.
  3153.  
  3154. *** `L' loads the specified Emacs Lisp files.
  3155.  
  3156. *** `B' byte compiles the specified Emacs Lisp files.
  3157.  
  3158. *** `P' prints the specified files.  It uses the variables
  3159. `lpr-command' and `lpr-switches' just as `lpr-file' does.
  3160.  
  3161. ** Shell Commands in Dired
  3162.  
  3163. `!' reads a shell command string in the minibuffer and runs the shell
  3164. command on all the specified files.  There are two ways of applying a
  3165. shell command to multiple files:
  3166.  
  3167. - If you use `*' in the command, then the shell command runs just
  3168. once, with the list of file names substituted for the `*'.
  3169.  
  3170. Thus, `! tar cf foo.tar * RET' runs `tar' on the entire list of file
  3171. names, putting them into one tar file `foo.tar'.  The file names are
  3172. inserted in the order that they appear in the Dired buffer.
  3173.  
  3174. - If the command string doesn't contain `*', then it runs once for
  3175. each file, with the file name attached at the end.  For example, `!
  3176. uudecode RET' runs `uudecode' on each file.
  3177.  
  3178. To run the shell command once for each file but without being limited
  3179. to putting the file name inserted in the middle, use a shell loop.
  3180. For example, this shell command would run `uuencode' on each of the
  3181. specified files, writing the output into a corresponding `.uu' file:
  3182.  
  3183.     for file in *; uuencode $file $file >$file.uu; done
  3184.  
  3185. The working directory for the shell command is the top level directory
  3186. of the Dired buffer.
  3187.  
  3188. ** Regular Expression File Name Substitution
  3189.  
  3190. *** `% m REGEXP RET' marks all files whose names match the regular
  3191. expression REGEXP.
  3192.  
  3193. Only the non-directory part of the file name is used in matching.  Use
  3194. `^' and `$' to anchor matches.  Exclude subdirs by hiding them.
  3195.  
  3196. *** `% d REGEXP RET' flags for deletion all files whose names match
  3197. the regular expression REGEXP.
  3198.  
  3199. *** `% R', `% C', `% H', `% S'
  3200.  
  3201. These four commands rename, copy, make hard links and make soft links,
  3202. in each case computing the new name by regular expression substitution
  3203. from the name of the old file.  They  effectively perform
  3204. `query-replace-regexp' on the selected file names in the Dired buffer.
  3205.  
  3206. The commands read two arguments: a regular expression, and a
  3207. substitution pattern.  Each selected file name is matched against the
  3208. regular expression, and then the part which matched is replaced with
  3209. the substitution pattern.  You can use `\&' and `\DIGIT' in the
  3210. substitution pattern to refer to all or part of the old file name.
  3211.  
  3212. If the regular expression matches more than once in a file name,
  3213. only the first match is replaced.
  3214.  
  3215. Normally, the replacement process does not consider the directory names;
  3216. it operates on the file name within the directory.  If you specify a
  3217. prefix argument of zero, then replacement affects entire file name.
  3218.  
  3219. To apply the command to all files matching the same regexp that you
  3220. use in the command, mark those files with `% m REGEXP RET', then use
  3221. the same regular expression in `% R'.  To make this easier, `% R' uses
  3222. as a default the last regular expression specified in a `%' command.
  3223.  
  3224. ** Dired Case Conversion
  3225.  
  3226. *** `% u' renames each of the selected files to an upper case name.
  3227.  
  3228. *** `% l' renames each of the selected files to a lower case name.
  3229.  
  3230. ** File Comparison with Dired
  3231.  
  3232. *** `=' compares the current file with another file (the file at the
  3233. mark), by running the `diff' program.  The file at the mark is given
  3234. to `diff' first.
  3235.  
  3236. *** `M-=' compares the current file with its backup file.  If there
  3237. are several numerical backups, it uses the most recent one.  If this
  3238. file is a backup, it is compared with its original.
  3239.  
  3240. The backup file is the first file given to `diff'.
  3241.  
  3242. ** Subdirectories in Dired
  3243.  
  3244. You can display more than one directory in one Dired buffer.
  3245. The simplest way to do this is to specify the options `-lR' for
  3246. running `ls'.  That produces a recursive directory listing showing
  3247. all subdirectories, all within the same Dired buffer.
  3248.  
  3249. You can also insert the contents of a particular subdirectory with the
  3250. `i' command.  Use this command on the line that describes a file which
  3251. is a directory.  Inserted subdirectory contents follow the top-level
  3252. directory of the Dired buffer, just as they do in `ls -lR' output.
  3253.  
  3254. If the subdirectory's contents are already present in the buffer, the
  3255. `i' command just moves to it (type `l' to refresh it).  It sets the
  3256. Emacs mark before moving, so C-x C-x takes you back to the old
  3257. position in the buffer.
  3258.  
  3259. When you have subdirectories in the Dired buffer, you can use the page
  3260. motion commands C-x [ and C-x ] to move by entire directories.
  3261.  
  3262. The following commands move up and down in the tree of directories
  3263. in one Dired buffer:
  3264.  
  3265. *** C-M-u  Go up to the parent directory's headerline.
  3266.  
  3267. *** C-M-d  Go down in the tree, to the first subdirectory's
  3268. headerline.
  3269.  
  3270. *** C-M-n  Go to next subdirectory headerline, regardless of level.
  3271.  
  3272. *** C-M-p  Go to previous subdirectory headerline, regardless of
  3273. level.
  3274.  
  3275. ** Hiding Subdirectories
  3276.  
  3277. "Hiding" a subdirectory means to make it invisible, except for its
  3278. headerline.  Files inside a hidden subdirectory are never considered
  3279. by Dired.  For example, the commands to operate on marked files ignore
  3280. files in hidden directories even if they are marked.
  3281.  
  3282. *** `$' hides or unhides the current subdirectory and move to next
  3283. subdirectory.  A prefix argument serves as a repeat count.
  3284.  
  3285. *** `M-$' hides all subdirectories, leaving only their header lines.
  3286. Or, if at least one subdirectory is currently hidden, it makes
  3287. everything visible again.  You can use this command to get an overview
  3288. in very deep directory trees or to move quickly to subdirectories far
  3289. away.
  3290.  
  3291. ** Editing the Dired Buffer
  3292.  
  3293. *** `l' updates the specified files in a Dired buffer.  This means
  3294. reading their current status from the file system and changing the
  3295. buffer to reflect it properly.
  3296.  
  3297. If you use this command on a subdirectory header line, it updates the
  3298. contents of the subdirectory.
  3299.  
  3300. *** `g' updates the entire contents of the Dired buffer.  It preserves
  3301. all marks except for those on files that have vanished.  Hidden
  3302. subdirectories are updated but remain hidden.
  3303.  
  3304. *** `k' kills all marked lines (not the files).  With a prefix
  3305. argument, it kills that many lines starting with the current line.
  3306.  
  3307. This command does not delete files; it just deletes text from the Dired
  3308. buffer.
  3309.  
  3310. If you kill the line for a file that is a directory, then its contents
  3311. are also deleted from the buffer.  Typing `C-u k' on the header line
  3312. for a subdirectory is another way to delete a subdirectory from the
  3313. Dired buffer.
  3314.  
  3315. ** `find' and Dired.
  3316.  
  3317. To search for files with names matching a wildcard pattern use
  3318. `find-name-dired'.  Its arguments are DIRECTORY and
  3319. PATTERN.  It selects all the files in DIRECTORY or its
  3320. subdirectories whose own names match PATTERN.
  3321.  
  3322. The files thus selected are displayed in a Dired buffer in which the
  3323. ordinary Dired commands are available.
  3324.  
  3325. If you want to test the contents of files, rather than their names, use
  3326. `find-grep-dired'.  This command takes two minibuffer arguments,
  3327. DIRECTORY and REGEXP; it selects all the files in
  3328. DIRECTORY or its subdirectories that contain a match for
  3329. REGEXP.  It works by running `find' and `grep'.
  3330.  
  3331. The most general command in this series is `find-dired', which lets
  3332. you specify any condition that `find' can test.  It takes two
  3333. minibuffer arguments, DIRECTORY and FIND-ARGS; it runs `find' in
  3334. DIRECTORY with using FIND-ARGS as the arguments to `find' specifying
  3335. which files to accept.  To use this command, you need to know how to
  3336. use `find'.
  3337.  
  3338. * New amusements and novelties.
  3339.  
  3340. ** `M-x mpuz' displays a multiplication puzzle, in which each letter
  3341. stands for a digit, and you must determine which digit.  The puzzles
  3342. are determined randomly, so they are always different.
  3343.  
  3344. ** `M-x gomoku' plays the game Gomoku with you.  It needs more work.
  3345.  
  3346. ** `M-x spook' adds a line of randomly chosen keywords to an outgoing
  3347. mail message.  The keywords are chosen from a list of words that
  3348. suggest you are discussing something subversive.
  3349.  
  3350. The idea is that the NSA reads all messages that contain keywords
  3351. suggesting they might be interested, and that adding these lines could
  3352. help to overload them.  I would guess that they have modified their
  3353. program by now to ignore these lines of keywords; perhaps the program
  3354. can be updated if some clever hacker can determine what criterion they
  3355. actually use now.
  3356.  
  3357. * Installation changes
  3358.  
  3359. ** The configure script has been provided to help with the
  3360. installation process.  It takes the place of editing the Makefiles and
  3361. src/config.h, and can often guess the appropriate operating system to
  3362. use for a particular machine type.  See INSTALL for a more detailed
  3363. description of the steps required for installation.
  3364.  
  3365. ** If you create a Lisp file named `site-start.el', Emacs loads the file
  3366. whenever it starts up.
  3367.  
  3368. ** A new Lisp variable, `data-directory', indicates the directory
  3369. containing the DOC file, tutorial, copying agreement, and other
  3370. familiar `etc' files.  The value of `data-directory' is a simple string.
  3371. The default should be set at build time, and the person installing
  3372. Emacs should place all the data files in this directory.  The `help.el'
  3373. functions that look for docstrings and information files check this
  3374. variable.  All Emacs Lisp packages should also be coded so that they
  3375. refer to `data-directory' to find data files.
  3376.  
  3377. ** The PURESIZE definition has been moved from config.h to its own
  3378. file, puresize.h.  Since almost every file of C source in the
  3379. distribution depends on config.h, but only alloc.c and data.c depend
  3380. on puresize.h, this means that changing the value of PURESIZE causes
  3381. only those two files to be recompiled.
  3382.  
  3383. ** The makefile at the top of the Emacs source tree now supports a
  3384. `dist' target, which creates a compressed tar file suitable for
  3385. distribution, using the contents of the source tree.  Object files,
  3386. old file versions, executables, DOC files, and other
  3387. architecture-specific or easy-to-recreate files are not included in
  3388. the tar file.
  3389.  
  3390. For older news, see the file ONEWS.  For Lisp changes in (the first
  3391. release of) Emacs 19, see the file LNEWS.
  3392.  
  3393. ----------------------------------------------------------------------
  3394. Copyright information:
  3395.  
  3396. Copyright (C) 1993 Free Software Foundation, Inc.
  3397.  
  3398.    Permission is granted to anyone to make or distribute verbatim copies
  3399.    of this document as received, in any medium, provided that the
  3400.    copyright notice and this permission notice are preserved,
  3401.    thus giving the recipient permission to redistribute in turn.
  3402.  
  3403.    Permission is granted to distribute modified versions
  3404.    of this document, or of portions of it,
  3405.    under the above conditions, provided also that they
  3406.    carry prominent notices stating who last changed them.
  3407.  
  3408. Local variables:
  3409. mode: text
  3410. end:
  3411.