home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / emacs-19.28-src.tgz / tar.out / fsf / emacs / etc / NEWS < prev    next >
Text File  |  1996-09-28  |  152KB  |  3,585 lines

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