Spelling fixes.
[emacs.git] / etc / NEWS
blobb5ff946f722e6a9d4aa3a413f473a9e3671b654f
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2010-2011  Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 24.
11 See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18,
12 and NEWS.1-17 for changes in older Emacs versions.
14 You can narrow news to a specific version by calling `view-emacs-news'
15 with a prefix argument or by typing C-u C-h C-n.
18 Temporary note:
19  +++ indicates that the appropriate manual has already been updated.
20  --- means no change in the manuals is called for.
21 When you add a new item, please add it without either +++ or ---
22 so we will look at it and add it to the manual.
25 * Installation Changes in Emacs 24.1
27 ** Configure links against libselinux if it is found.
28 You can disable this by using --without-selinux.
30 ---
31 ** By default, the installed Info and man pages are compressed.
32 You can disable this by configuring --without-compress-info.
34 ---
35 ** There are new configure options:
36 --with-mmdf, --with-mail-unlink, --with-mailhost.
37 These provide no new functionality, they just remove the need to edit
38 lib-src/Makefile by hand in order to use the associated features.
40 ---
41 ** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
42 to configure.  Note that other libraries used by Emacs, RSVG and GConf,
43 also depend on Gtk+.  You can disable them with --without-rsvg and
44 --without-gconf.
46 ---
47 ** There is a new configure option --enable-use-lisp-union-type.
48 This is only useful for Emacs developers to debug certain types of bugs.
49 This is not a new feature; only the configure flag is new.
51 ---
52 ** There is a new configure option --with-wide-int.
53 With it, Emacs integers typically have 62 bits, even on 32-bit machines.
54 On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB
55 to about 2 GiB.
57 ---
58 ** New translation of the Emacs Tutorial in Hebrew is available.
59 Type `C-u C-h t' to choose it in case your language setup doesn't
60 automatically select it.
62 ** Emacs can be compiled with ImageMagick support.
63 Emacs links to ImageMagick if version 6.2.8 or newer of the library is
64 present at build time.  To inhibit ImageMagick, use the configure
65 option `--without-imagemagick' .
67 ---
68 ** The standalone programs digest-doc and sorted-doc are removed.
69 Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
71 ---
72 ** The standalone program `fakemail' is removed.
73 If you need it, feedmail.el provides a superset of the functionality.
76 * Startup Changes in Emacs 24.1
78 ---
79 ** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
80 command line arguments, and the EMACS_UNIBYTE environment variable, no
81 longer have any effect.  (They were declared obsolete in Emacs 23.)
83 +++
84 ** New command line option `--no-site-lisp' removes site-lisp directories
85 from load-path.  -Q now implies this.
87 ---
88 ** On Windows, Emacs now warns when the obsolete _emacs init file is used,
89 and also when HOME is set to C:\ by default.
92 * Changes in Emacs 24.1
94 +++
95 ** auto-mode-case-fold is now enabled by default.
97 ** Completion
99 *** shell-mode uses pcomplete rules, with the standard completion UI.
101 *** Many packages have been changed to use `completion-at-point'
102 rather than their own completion code.
104 *** `completion-at-point' now handles tags and semantic completion.
106 *** Completion in a non-minibuffer now tries to detect the end of completion
107 and pops down the *Completions* buffer accordingly.
109 *** Completion can cycle, depending on completion-cycle-threshold.
111 *** New completion style `substring'.
113 *** Completion style can be set per-category `completion-category-overrides'.
115 *** Completion of buffers now uses substring completion by default.
117 ** Mail changes
119 The default of `send-mail-function' is now `sendmail-query-once',
120 which asks the user (once) whether to use the smtpmail package to send
121 email, or to use the old defaults that rely on external mail
122 facilities (`sendmail-send-it' on GNU/Linux and other Unix-like
123 systems, and `mailclient-send-it' on Windows).
125 *** smtpmail changes
127 **** smtpmail now uses encrypted connections (via STARTTLS) if the
128 mail server supports them.  It also uses the auth-source framework for
129 getting credentials.
131 **** The variable `smtpmail-auth-credentials' has been removed.
132 That variable used to have the default value "~/.authinfo", in which
133 case you won't see any difference.  But if you changed it to be a list
134 of user names and passwords, that setting is now ignored; you will be
135 prompted for the user name and the password, which will then be saved
136 to ~/.authinfo.
138 You can also manually copy the credentials to your ~/.authinfo file.
139 For example, if you had
141   (setq smtpmail-auth-credentials
142         '(("mail.example.org" 25 "jim" "s!cret")))
144 then the equivalent line in ~/.authinfo would be
146   machine mail.example.org port 25 login jim password s!cret
148 **** The variable `smtpmail-starttls-credentials' has been removed.
150 If you had that set, then then you need to put
152   machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
154 in your ~/.authinfo file instead.
156 *** sendmail changes
158 You can now add MIME attachments to outgoing messages with the new
159 command `mail-add-attachment'.
162 The command `mail-attach-file' was renamed to `mail-insert-file'; the
163 old name is now an obsolete alias to the new name.
165 ** Emacs server and client changes
167 *** New option `server-port' specifies the port on which the Emacs
168 server should listen.
170 *** New emacsclient argument -q/--quiet suppresses some status messages.
172 *** New emacsclient argument --frame-parameters can be used to set the
173 frame parameters of a newly-created graphical frame.
175 *** If emacsclient shuts down as a result of Emacs signaling an
176 error, its exit status is 1.
178 *** New emacsclient argument --parent-id ID.
179 This opens a client frame in parent X window ID, via XEmbed, similar
180 to the --parent-id argument to Emacs.
182 ** Internationalization changes
185 *** Emacs now supports display and editing of bidirectional text.
187 Text that includes characters from right-to-left (RTL) scripts, such
188 as Arabic, Farsi, or Hebrew, is displayed in the correct visual order
189 as expected by users of those scripts.  This display reordering is a
190 "Full bidirectionality" class implementation of the Unicode
191 Bidirectional Algorithm.  Buffers with no RTL text should look exactly
192 the same as before.
194 For more information, see the node "Bidirectional Editing" in the
195 Emacs Manual.
198 **** New buffer-local variable `bidi-display-reordering'.
199 To disable display reordering in any given buffer, change this to nil.
202 **** New buffer-local variable `bidi-paragraph-direction'.
203 If nil (the default), Emacs determines the base direction of each
204 paragraph from its text, as specified by the Unicode Bidirectional
205 Algorithm.
207 Setting this to `right-to-left' or `left-to-right' forces a particular
208 base direction on each paragraph in the buffer.
210 Paragraphs whose base direction is right-to-left are displayed
211 starting at the right margin of the window.
214 *** Enhanced support for characters with no glyphs in available fonts.
215 If a character has no glyphs in any of the available fonts, Emacs
216 normally displays it either as a hexadecimal code in a box or as a
217 thin 1-pixel space.  In addition to these two methods, Emacs can
218 display these characters as empty box, as an acronym, or not display
219 them at all.  To change how these characters are displayed, customize
220 the variable `glyphless-char-display-control'.
222 On character terminals, these methods are used for characters that
223 cannot be encoded by the `terminal-coding-system'.
226 *** New input methods for Farsi: farsi and farsi-translit.
229 *** `nobreak-char-display' now also highlights Unicode hyphen chars
230 (U+2010 and U+2011).
232 ** Improved GTK integration
234 *** GTK scroll-bars are now placed on the right by default.
235 Use `set-scroll-bar-mode' to change this.
237 *** GTK tool bars can have just text, just images or images and text.
238 Customize `tool-bar-style' to choose style.  On a Gnome desktop, the default
239 is taken from the desktop settings.
241 *** GTK tool bars can be placed on the left/right or top/bottom of the frame.
242 The frame-parameter tool-bar-position controls this.  It takes the values
243 top, left, right or bottom.  The Options => Show/Hide menu has entries
244 for this.
246 *** The colors for selected text (the `region' face) are taken from
247 the GTK theme when Emacs is built with GTK.
249 *** Emacs uses GTK tooltips by default if built with GTK.  You can turn that
250 off by customizing x-gtk-use-system-tooltips.
253 ** New basic faces `error', `warning', `success' are available to
254 highlight strings that indicate failure, caution or successful operation.
256 ** Lucid menus and dialogs can display antialiased fonts if Emacs is built
257 with Xft.  To change font, use the X resource font, for example:
258 Emacs.pane.menubar.font:  Courier-12
261 ** On graphical displays, the mode-line no longer ends in dashes.
262 Also, the first dash (which does not indicate anything) is just
263 displayed as a space.
265 ** Basic SELinux support has been added.
266 This requires Emacs to be linked with libselinux at build time.
268 *** Emacs preserves the SELinux file context when backing up, and
269 optionally when copying files. To this end, copy-file has an extra
270 optional argument, and backup-buffer and friends include the SELinux
271 context in their return values.
273 *** The new functions file-selinux-context and set-file-selinux-context
274 get and set the SELinux context of a file.
276 *** Tramp offers handlers for file-selinux-context and set-file-selinux-context
277 for remote machines which support SELinux.
279 ** Changes for exiting Emacs
281 *** The function kill-emacs is now run upon receipt of the signals
282 SIGTERM and SIGHUP, and upon SIGINT in batch mode.
284 *** kill-emacs-hook is now also run in batch mode.
285 If you have code that adds something to kill-emacs-hook, you should
286 consider if it is still appropriate to add it in the noninteractive case.
288 ** Scrolling changes
290 *** New scrolling commands `scroll-up-command' and `scroll-down-command'
291 (bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
292 of buffer at first key-press (instead move to top/bottom of buffer)
293 when `scroll-error-top-bottom' is non-nil.
295 *** New variable `scroll-error-top-bottom' (see above).
297 *** New scrolling commands `scroll-up-line' and `scroll-down-line'
298 scroll a line instead of full screen.
300 *** New property `scroll-command' should be set on a command's symbol to
301 define it as a scroll command affected by `scroll-preserve-screen-position'.
303 *** If you customize `scroll-conservatively' to a value greater than 100,
304 Emacs will never recenter point in the window when it scrolls due to
305 cursor motion commands or commands that move point (e.f., `M-g M-g').
306 Previously, you needed to use `most-positive-fixnum' as the value of
307 `scroll-conservatively' to achieve the same effect.
309 *** ``Aggressive'' scrolling now honors the scroll margins.
310 If you customize `scroll-up-aggressively' or
311 `scroll-down-aggressively' and move point off the window, Emacs now
312 scrolls the window so as to avoid positioning point inside the scroll
313 margin.
315 ** Trash changes
317 *** `delete-by-moving-to-trash' now only affects commands that specify
318 trashing.  This avoids inadvertently trashing temporary files.
320 *** Calling `delete-file' or `delete-directory' with a prefix argument
321 now forces true deletion, regardless of `delete-by-moving-to-trash'.
323 ** New option `list-colors-sort' defines the color sort order
324 for `list-colors-display'.
326 ** An Emacs Lisp package manager is now included.
327 This is a convenient way to download and install additional packages,
328 from a package repository at http://elpa.gnu.org.
330 *** `M-x list-packages' shows a list of packages, which can be
331 selected for installation.
333 *** New command `describe-package', bound to `C-h P'.
335 *** By default, all installed packages are loaded and activated
336 automatically when Emacs starts up.  To disable this, set
337 `package-enable-at-startup' to nil.  To change which packages are
338 loaded, customize `package-load-list'.
340 ** Custom Themes
342 *** `M-x customize-themes' lists Custom themes which can be enabled.
344 *** New option `custom-theme-load-path' is the load path for themes.
345 Emacs no longer looks for custom themes in `load-path'.  The default
346 is to search in `custom-theme-directory', followed by a built-in theme
347 directory named "themes/" in `data-directory'.
349 *** New option `custom-safe-themes' records known-safe theme files.
350 If a theme is not in this list, Emacs queries before loading it, and
351 offers to save the theme to `custom-safe-themes' automatically.  By
352 default, all themes included in Emacs are treated as safe.
354 ** The user option `remote-file-name-inhibit-cache' controls whether
355 the remote file-name cache is used for read access.
357 ** File- and directory-local variable changes
359 *** You can stop directory local vars from applying to subdirectories.
360 Add an element (subdirs . nil) to the alist portion of any variables
361 settings to indicate that the section should not apply to
362 subdirectories.
364 *** Directory local variables can apply to some file-less buffers.
365 Affected modes include dired, vc-dir, and log-edit.  For example,
366 adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
367 turn on `whitespace-mode' for *vc-diff* buffers.  Modes should call
368 `hack-dir-local-variables-non-file-buffer' to support this.
370 *** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
371 Instead, use "eval: (minor-mode 1)".
374 ** The variable `focus-follows-mouse' now always defaults to nil.
376 ** New primitive `secure-hash' that supports many secure hash algorithms
377 including md5, sha-1 and sha-2 (sha-224, sha-256, sha-384 and sha-512).
378 The elisp implementation sha1.el is removed. Feature sha1 is provided
379 by default.
381 ** Menu-bar changes
383 *** `menu-bar-select-buffer-function' lets you choose another operation
384 instead of `switch-to-buffer' when selecting an item in the Buffers menu.
386 ** Window changes
389 *** Resizing an Emacs frame now preserves proportional window sizes,
390 modulo restrictions like window minimum sizes and fixed-size windows.
392 *** The behavior of `display-buffer' is now customizable in detail.
394 **** New option `display-buffer-base-action' specifies a list of
395 user-determined display "actions" (functions and optional arguments
396 for choosing the displaying window).
398 This takes precedence over the default display action, which is
399 specified by `display-buffer-fallback-action'.
402 **** New option `display-buffer-alist' maps buffer name regexps to
403 display actions, taking precedence over `display-buffer-base-action'.
406 *** New option `window-combination-limit'.
407 The new option `window-combination-limit' allows to return the space
408 obtained for resizing or creating a window more reliably to the window
409 from which such space was obtained.
412 *** New option `window-combination-resize'.
413 The new option `window-combination-resize' allows to split a window that
414 otherwise cannot be split because it's too small by stealing space from
415 other windows in the same combination.  Subsequent resizing or deletion
416 of the window will resize all windows in the same combination as well.
419 *** New commands `maximize-window' and `minimize-window'.
420 These maximize and minimize the size of a window within its frame.
423 *** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
424 These functions allow to navigate through the live buffers that have
425 been shown in a specific window.
428 *** New functions `window-state-get' and `window-state-put'.
429 These functions allow to save and restore the state of an arbitrary
430 frame or window as an Elisp object.
432 ** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'.
433 This is handy for minibuffer-only frames, and is also used for the "mouse-1
434 pops up *Messages*" feature, which can now easily be changed.
437 * Editing Changes in Emacs 24.1
439 ** Search changes
441 *** C-y in Isearch is now bound to isearch-yank-kill, instead of
442 isearch-yank-line.
444 *** M-y in Isearch is now bound to isearch-yank-pop, instead of
445 isearch-yank-kill.
447 *** M-s C-e in Isearch is now bound to isearch-yank-line.
450 ** New commands `count-words-region' and `count-words'.
452 *** `count-lines-region' is now an alias for `count-words-region',
453 bound to M-=, which shows the number of lines, words, and characters.
456 ** The default value of `backup-by-copying-when-mismatch' is now t.
459 ** The command `just-one-space' (M-SPC), if given a negative argument,
460 also deletes newlines around point.
462 ** Deletion changes
464 *** New option `delete-active-region'.
465 If non-nil, [delete] and DEL delete the region if it is active and no
466 prefix argument is given.  If set to `kill', these commands kill
467 instead.
469 *** New command `delete-forward-char', bound to [delete].
470 This is meant for interactive use, and obeys `delete-active-region'.
471 The command `delete-char' does not obey `delete-active-region'.
473 *** `delete-backward-char' is now a Lisp function.
474 Apart from obeying `delete-active-region', its behavior is unchanged.
475 However, the byte compiler now warns if it is called from Lisp; you
476 should use delete-char with a negative argument instead.
478 *** The option `mouse-region-delete-keys' has been deleted.
480 ** Selection changes.
482 The default handling of clipboard and primary selections was changed
483 to conform with modern X applications.  In short, most commands for
484 killing and yanking text now use the clipboard, while mouse commands
485 use the primary selection.
487 In the following, we provide a list of these changes, followed by a
488 list of steps to get the old behavior back if you prefer that.
491 *** `select-active-regions' now defaults to t.
492 Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
493 the kill ring.  The selected text is put in the primary selection, if
494 the system possesses a separate primary selection facility (e.g. X).
497 **** `select-active-regions' also accepts a new value, `only'.
498 This means to only set the primary selection for temporarily active
499 regions (usually made by mouse-dragging or shift-selection);
500 "ordinary" active regions, such as those made with C-SPC followed by
501 point motion, do not alter the primary selection.
504 **** `mouse-drag-copy-region' now defaults to nil.
507 *** mouse-2 is now bound to `mouse-yank-primary'.
508 This pastes from the primary selection, ignoring the kill-ring.
509 Previously, mouse-2 was bound to `mouse-yank-at-click'.
512 *** `x-select-enable-clipboard' now defaults to t on all platforms.
514 *** `x-select-enable-primary' now defaults to nil.
515 Thus, commands that kill text or copy it to the kill-ring (such as
516 M-w, C-w, and C-k) also use the clipboard---not the primary selection.
519 **** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
520 exactly equivalent to, respectively M-w, C-w, and C-y.
523 **** Note that on MS-Windows, `x-select-enable-clipboard' was already
524 non-nil by default, as Windows does not support the primary selection
525 between applications.
528 *** To return to the previous behavior, do the following:
529 **** Change `select-active-regions' to nil.
530 **** Change `mouse-drag-copy-region' to t.
531 **** Change `x-select-enable-primary' to t (on X only).
532 **** Change `x-select-enable-clipboard' to nil.
533 **** Bind `mouse-yank-at-click' to mouse-2.
536 *** Support for X cut buffers has been removed.
538 *** X clipboard managers are now supported.
539 To inhibit this, change `x-select-enable-clipboard-manager' to nil.
542 ** New command `rectangle-number-lines', bound to `C-x r N', numbers
543 the lines in the current rectangle.  With a prefix argument, this
544 prompts for a number to count from and for a format string.
547 ** The default value of redisplay-dont-change is now t
548 This makes Emacs feel more responsive to editing commands that arrive
549 at high rate, e.g. if you lean on some key, because stopping redisplay
550 in the middle (when this variable is nil) forces more expensive
551 updates later on, and Emacs appears to be unable to keep up.
554 * Changes in Specialized Modes and Packages in Emacs 24.1
557 ** Archive Mode has basic support for browsing and updating 7z archives.
559 ** browse-url has a new variable `browse-url-mailto-function'
560 specifies how mailto: URLs are handled.  The default is `browse-url-mail'.
562 ** BibTeX mode
564 *** BibTeX mode now supports biblatex.
565 Use the variable bibtex-dialect to select support for different BibTeX
566 dialects.  bibtex-entry-field-alist is now an obsolete alias for
567 bibtex-BibTeX-entry-alist.
569 *** New command `bibtex-search-entries' bound to C-c C-a.
571 *** New `bibtex-entry-format' option `sort-fields', disabled by default.
573 *** New variable `bibtex-search-entry-globally'.
575 ** Calendar, Diary, and Appt
578 *** Diary entries can contain non-printing `comments'.
579 See the variable `diary-comment-start'.
582 *** Appointments can specify their individual warning times.
583 See the variable `appt-warning-time-regexp'.
586 *** The function specified by `appt-disp-window-function' may be passed
587 lists of arguments if multiple appointments are due at similar times.
588 If you are using a custom function for this, you should update it.
591 *** New function `diary-hebrew-birthday'.
594 *** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array'
595 may no longer be nil, but must all be strings.
598 *** The obsolete (since Emacs 22.1) method of enabling the appt package
599 by adding appt-make-list to diary-hook has been removed.  Use appt-activate.
602 *** Some appt variables (obsolete since Emacs 22.1) have been removed:
603 appt-issue-message (use the function appt-activate)
604 appt-visible/appt-msg-window (use the variable appt-display-format)
607 *** Some diary function aliases (obsolete since Emacs 22.1) have been removed:
608 view-diary-entries, list-diary-entries, show-all-diary-entries
610 ** CC Mode (C, C++, etc.)
612 *** New feature to "guess" the style in an existing buffer.
614 ** comint and modes derived from it use the generic completion code.
616 ** Compilation mode
618 *** Compilation mode can be used without font-lock-mode.
619 `compilation-parse-errors-function' is now obsolete.
621 *** `compilation-filter-start' is let-bound to the start of the text
622 inserted by the compilation filter function, when calling
623 compilation-filter-hook.
625 *** `compilation-error-screen-columns' is obeyed in the editing buffer.
626 So programming language modes can set it, whereas previously only the value
627 in the *compilation* buffer was used.
629 ** Customize
631 *** Customize buffers now contain a search field.
632 The search is performed using `customize-apropos'.
633 To turn off the search field, set custom-search-field to nil.
635 *** Custom options now start out hidden if at their default values.
636 Use the arrow to the left of the option name to toggle visibility.
638 *** custom-buffer-sort-alphabetically now defaults to t.
640 *** The color widget now has a "Choose" button, which allows you to
641 choose a color via list-colors-display.
643 ** D-Bus
645 *** It is possible now, to access alternative buses than the default
646 system or session bus.
648 *** dbus-register-{service,method,property}
649 The -method and -property functions do not automatically register
650 names anymore.
652 The new function dbus-register-service registers a service known name
653 on a D-Bus without simultaneously registering a property or a method.
655 ** Dired-x
657 *** dired-jump and dired-jump-other-window called with a prefix argument
658 read a file name from the minibuffer instead of using buffer-file-name.
661 *** The `dired local variables' feature provided by Dired-x is obsolete.
662 The standard directory local variables feature replaces it.
664 ** ERC changes
666 *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'.
667 If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a
668 successful NickServ identification, or after `erc-autojoin-delay'
669 seconds.  The default value, 'ident, means to autojoin immediately
670 after connecting.
672 *** New variable `erc-coding-system-precedence': If we use `undecided'
673 as the server coding system, this variable will then be consulted.
674 The default is to decode strings that can be decoded as utf-8 as
675 utf-8, and do the normal `undecided' decoding for the rest.
677 ** Eshell changes
679 *** The default value of eshell-directory-name is a directory named
680 "eshell" in `user-emacs-directory'.  If the old "~/.eshell/" directory
681 exists, that is used instead.
683 ** gdb-mi
685 *** GDB User Interface migrated to GDB Machine Interface and now
686 supports multithread non-stop debugging and debugging of several
687 threads simultaneously.
689 ** In ido-mode, C-v is no longer bound to ido-toggle-vc.
690 The reason is that this interferes with cua-mode.
692 ** Image mode
694 *** RET (`image-toggle-animation') toggles animation, if the displayed
695 image can be animated.
697 *** Option `image-animate-loop', if non-nil, loops the animation.
698 If nil, `image-toggle-animation' plays the animation once.
700 ** Info
702 *** New command `info-display-manual' displays an Info manual
703 specified by its name.  If that manual is already visited in some Info
704 buffer within the current session, the command will display that
705 buffer.  Otherwise, it will load the manual and display it.  This is
706 handy if you have many manuals in many Info buffers, and don't
707 remember the name of the buffer visiting the manual you want to
708 consult.
710 ** The Landmark game is now invoked with `landmark', not `lm'.
712 ** MH-E has been upgraded to MH-E version 8.3.
713 See MH-E-NEWS for details.
715 ** Modula-2 mode provides auto-indentation.
717 ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
719 ** Prolog mode has been completely revamped, with lots of additional
720 functionality such as more intelligent indentation, electricity, support for
721 more variants, including Mercury, and a lot more.
723 ** Rmail
725 *** The command `rmail-epa-decrypt' decrypts OpenPGP data
726 in the Rmail incoming message.
728 ** Shell mode
730 *** Shell mode uses pcomplete rules, with the standard completion UI.
732 *** The `shell' command prompts for the shell path name if the default
733 directory is a remote file name and neither the environment variable
734 $ESHELL nor the variable `explicit-shell-file-name' is set.
736 *** New variable `shell-dir-cookie-re'.
737 If set to an appropriate regexp, Shell mode can track your cwd by
738 reading it from your prompt.
741 ** SQL Mode enhancements.
743 *** `sql-dialect' is an alias for `sql-product'.
745 *** New variable `sql-port' specifies the port number for connecting
746 to a MySQL or Postgres server.
748 *** The command `sql-product-interactive' now takes a prefix argument,
749 which causes it to prompt for an SQL product instead of the current
750 value of `sql-product'.
752 *** Product-specific SQL interactive commands now take prefix args.
753 These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
754 given a prefix argument, prompt for a name for the SQL interactive
755 buffer.  This reduces the need for calling `sql-rename-buffer'.
757 *** SQL interactive modes suppress command continuation prompts, and
758 replace tabs with spaces.  The first change impacts multiple line SQL
759 statements entered with C-j between each line, statements yanked into
760 the buffer and statements sent with `sql-send-*' functions.  The
761 second change prevents the MySQL and Postgres interpreters from
762 listing object name completions when sent text via `sql-send-*'
763 functions.
765 *** New custom variables control prompting for login parameters.
766 Each supported product has a custom variable `sql-*-login-params',
767 which is a list of the parameters to be prompted for before a
768 connection is established.
770 *** New variable `sql-connection-alist' for login parameter values.
771 This can be used to store different username, database and server
772 values.  Connections defined in this variable appear in the submenu
773 SQL->Start... for making new SQLi sessions.
775 *** New command `sql-connect' starts a predefined SQLi session,
776 using the login parameters from `sql-connection-alist'.
778 *** New "Save Connection" menu item in SQLi buffers.
779 This gathers the login params specified for the SQLi session, if it
780 was not started by a connection, and saves them as a new connection.
782 *** Commands for listing database objects and details.
783 In an SQLi session, you can get a list of objects in the database.
784 The contents of these lists are product specific.
786 **** `C-c C-l a' or the "SQL->List all objects" menu item
787 lists all the objects in the database.  With a prefix argument, it
788 displays additional details or extend the listing to include other
789 schemas objects.
791 **** `C-c C-l t' or the "SQL->List Table details" menu item
792 prompts for the name of a database table or view and displays the list
793 of columns in the relation.  With a prefix argument, it displays
794 additional details about each column.
796 *** New options `sql-send-terminator' and `sql-oracle-scan-on'.
798 *** An API for manipulating SQL product definitions has been added.
800 ** TeX modes
802 *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
804 ** Tramp
806 *** There exists a new inline access method "ksu" (kerberized su).
808 *** The following access methods are discontinued: "ssh1_old",
809 "ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish".
811 *** The option `ange-ftp-binary-file-name-regexp' has changed its
812 default value to "".
814 ** `url-queue-retrieve' downloads web pages asynchronously, but allow
815 controlling the degree of parallelism.
817 ** VC and related modes
819 *** Support for pulling on distributed version control systems.
820 The vc-pull command runs a "pull" operation, if it is supported.
821 This updates the current branch from upstream.  A prefix argument
822 means to prompt the user for specifics, e.g. a pull location.
824 **** `vc-update' is now an alias for `vc-pull'.
826 **** Currently supported by Bzr, Git, and Mercurial.
828 *** Support for merging on distributed version control systems.
829 The vc-merge command now runs a "merge" operation, if it is supported.
830 This merges another branch into the current one.  This command prompts
831 the user for specifics, e.g. a merge source.
833 **** Currently supported for Bzr, Git, and Mercurial.
835 *** New option `vc-revert-show-diff' controls whether `vc-revert'
836 shows a diff while querying the user.  It defaults to t.
838 *** Log entries in some Log View buffers can be toggled to display a
839 longer description by typing RET (log-view-toggle-entry-display).
840 In the Log View buffers made by `C-x v L' (vc-print-root-log), you can
841 use this to display the full log entry for the revision at point.
843 **** Currently supported for Bzr, Git, and Mercurial.
845 **** Packages using Log View mode can enable this functionality by
846 binding `log-view-expanded-log-entry-function' to a suitable function.
848 *** New command `vc-ediff' allows visual comparison of two revisions
849 of a file similar to `vc-diff', but using ediff backend.
852 *** The option `vc-initial-comment' was removed in Emacs 23.2, but
853 this was not advertised at the time.
856 *** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'.
857 Since Emacs 23, it has done the same thing as `toggle-read-only', but
858 this was not advertised at the time.
860 ** FIXME: xdg-open for browse-url and reportbug, 2010/08.
862 ** Obsolete modes
864 *** partial-completion-mode is obsolete.
865 You can get a comparable behavior with:
866 (setq completion-styles '(partial-completion initials))
867 (setq completion-pcm-complete-word-inserts-delimiters t)
869 *** pc-mode.el is obsolete.
871 *** sregex.el is obsolete, since rx.el is a strict superset.
873 *** s-region.el and pc-select are obsolete.
874 They are superseded by shift-select-mode enabled by default in 23.1.
876 ** Miscellaneous
879 *** f90.el has some support for Fortran 2008 syntax.
882 *** `copyright-fix-years' can optionally convert consecutive years to ranges.
884 *** New command `nato-region' converts text to NATO phonetic alphabet.
887 * New Modes and Packages in Emacs 24.1
890 ** Occur Edit mode applies edits made in *Occur* buffers to the
891 original buffers.  It is bound to "e" in Occur mode.
893 ** New global minor modes electric-pair-mode, electric-indent-mode,
894 and electric-layout-mode.
896 ** tabulated-list.el provides a generic major mode for tabulated data,
897 from which other modes can be derived.
899 ** pcase.el provides the ML-style pattern matching macro `pcase'.
901 ** secrets.el is an implementation of the Secret Service API, an
902 interface to password managers like GNOME Keyring or KDE Wallet.  The
903 Secret Service API requires D-Bus for communication.  The command
904 `secrets-show-secrets' offers a buffer with a visualization of the
905 secrets.
907 ** notifications.el provides an implementation of the Desktop
908 Notifications API.  It requires D-Bus for communication.
910 ** soap-client.el supports access to SOAP web services from Emacs.
911 soap-inspect.el is an interactive inspector for SOAP WSDL structures.
913 ** xmodmap-generic-mode for xmodmap files.
915 ** New emacs-lock.el package.
916 (The pre-existing one has been renamed to old-emacs-lock.el and moved
917 to obsolete/.)  Now, Emacs Lock is a proper minor mode
918 `emacs-lock-mode'.  Protection against exiting Emacs and killing the
919 buffer can be set separately.  The mechanism for auto turning off
920 protection for buffers with inferior processes has been generalized.
923 * Incompatible Lisp Changes in Emacs 24.1
926 ** `char-direction-table' and the associated function `char-direction'
927 were deleted.  They were buggy and inferior to the new support of
928 bidirectional editing introduced in Emacs 24.  If you need the
929 bidirectional properties of a character, use `get-char-code-property'
930 with the last argument `bidi-class'.
933 ** `copy-directory' now copies the source directory as a subdirectory
934 of the target directory, if the latter is an existing directory.  The
935 new optional arg COPY-CONTENTS, if non-nil, makes the function copy
936 the contents directly into a pre-existing target directory.
938 ** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
939 passes it to the mail user agent function.  This argument specifies an
940 action for returning to the caller after finishing with the mail.
941 This is currently used by Rmail to delete a mail window.
943 ** For mouse click input events in the text area, the Y pixel
944 coordinate in the POSITION list now counts from the top of the text
945 area, excluding any header line.  Previously, it counted from the top
946 of the header line.
948 ** Removed obsolete name `e' (use `float-e' instead).
950 ** A backquote not followed by a space is now always treated as new-style.
952 ** Test for special mode-class was moved from view-file to view-buffer.
953 FIXME: This only says what was changed, but not what are the
954 programmer-visible consequences.
956 ** Passing a nil argument to a minor mode function now turns the mode
957 ON unconditionally.
960 ** During startup, Emacs no longer adds entries for `menu-bar-lines'
961 and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
962 With these alist entries omitted, `make-frame' checks the value of the
963 variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
964 a menu-bar or tool-bar, respectively.  If the alist entries are added,
965 they override the value of `menu-bar-mode'/`tool-bar-mode'.
968 ** Regions created by mouse dragging are now normal active regions,
969 similar to the ones created by shift-selection.  In previous Emacs
970 versions, these regions were delineated by `mouse-drag-overlay', which
971 has now been removed.
973 ** cl.el no longer provides `cl-19'.
975 ** The menu bar bindings's caches are not used any more.
976 Use (where-is-internal <def> nil t) instead.
978 ** The following obsolete functions and aliases were removed:
979 comint-kill-output, decompose-composite-char, outline-visible,
980 internal-find-face, internal-get-face, frame-update-faces,
981 frame-update-face-colors, x-frob-font-weight, x-frob-font-slant,
982 x-make-font-bold, x-make-font-demibold, x-make-font-unbold
983 x-make-font-italic, x-make-font-oblique, x-make-font-unitalic
984 x-make-font-bold-italic, mldrag-drag-mode-line, mldrag-drag-vertical-line,
985 iswitchb-default-keybindings, char-bytes, isearch-return-char,
986 make-local-hook
988 ** The following obsolete variables and varaliases were removed:
989 checkdoc-minor-keymap, vc-header-alist, directory-sep-char, and
990 font-lock-defaults-alist.
992 ** The following obsolete files were removed:
993 sc.el, x-menu.el, rnews.el, rnewspost.el
995 ** FIXME finder-inf.el changes.
998 * Lisp changes in Emacs 24.1
1000 ** Code can now use lexical scoping by default instead of dynamic scoping.
1001 The `lexical-binding' variable lets code use lexical scoping for local
1002 variables.  It is typically set via file-local variables, in which case it
1003 applies to all the code in that file.
1005 *** `eval' takes a new optional argument `lexical' to choose the new lexical
1006 binding instead of the old dynamic binding mode.
1008 *** Lexically scoped interpreted functions are represented with a new form
1009 of function value which looks like (closure ENV ARGS &rest BODY).
1011 *** New macro `letrec' to define recursive local functions.
1013 *** New function `special-variable-p' to check whether a variable is
1014 declared as dynamically bound.
1016 ** An Emacs Lisp testing tool is now included.
1017 Emacs Lisp developers can use this tool to write automated tests for
1018 their code.  See the ERT info manual for details.
1020 ** Changes for bidirectional display and editing
1023 *** New function `current-bidi-paragraph-direction'.
1024 This returns the actual value of base direction of the paragraph at
1025 point.
1028 *** New function `bidi-string-mark-left-to-right'.
1029 Given a string containing characters from right-to-left (RTL) scripts,
1030 this function returns another string which can be safely inserted into
1031 a buffer, such that any following text will be always displayed to the
1032 right of that string.  (This works by appending the Unicode
1033 "LEFT-TO-RIGHT MARK" character when the argument string might need that.)
1035 This is useful when the buffer has overall left-to-right (LTR)
1036 paragraph direction and you need to insert a string whose contents and
1037 directionality are not known in advance, without disrupting the layout
1038 of the line.
1040 ** Window changes
1042 *** Window tree functions are accessible in Elisp.
1043 Functions are provided to return the parent, siblings or child windows
1044 of any window including internal windows (windows not associated with a
1045 buffer) in the window tree.
1047 **** New function `window-valid-p' gives non-nil for live and internal
1048 windows.
1050 **** Window manipulation can deal with internal windows.
1051 Many window handling functions like `split-window', `delete-window', or
1052 `delete-other-windows' as well as the window resizing functions can now
1053 act on any window including internal ones.
1055 *** window-total-height/-width vs window-body-height/-width.
1056 The function `window-height' has been renamed to `window-total-height'
1057 and `window-width' has been renamed to `window-body-width'.  The old
1058 names are provided as aliases.  Two new functions `window-total-width'
1059 and `window-body-height' are provided.
1061 *** Window parameters specific to window handling functions.
1062 For each window you can specify a parameter to override the default
1063 behavior of a number of functions like `split-window', `delete-window'
1064 and `delete-other-windows'.  The variable `ignore-window-parameters'
1065 allows to ignore processing such parameters.
1067 *** New semantics of third argument of `split-window'.
1068 The third argument of `split-window' has been renamed to SIDE and can be
1069 set to any of the values 'below, 'right, 'above, or 'left to make the
1070 new window appear on the corresponding side of the window that shall be
1071 split.  Any other value of SIDE will cause `split-window' to split the
1072 window into two side-by-side windows as before.
1074 *** Window resizing functions.
1075 A new standard function for resizing windows called `window-resize' has
1076 been introduced.  This and all other functions for resizing windows no
1077 longer delete any windows when they become too small.
1079 *** Deleting the selected window now selects the most recently selected
1080 live window on that frame instead.
1082 *** `adjust-window-trailing-edge' adjustments.
1083 `adjust-window-trailing-edge' can now deal with fixed-size windows and
1084 is able to resize other windows if a window adjacent to the trailing
1085 edge cannot be shrunk any more.  This makes its behavior more similar to
1086 that of Emacs 21 without compromising, however, its inability to delete
1087 windows which was introduced in Emacs 22.
1089 *** Window-local buffer lists.
1090 Windows now have local buffer lists.  This means that removing a buffer
1091 from display in a window will preferably show the buffer previously
1092 shown in that window with its previous window-start and window-point
1093 positions.  This also means that the same buffer may be automatically
1094 shown twice even if it already appears in another window.
1096 *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
1097 which if non-nil requires the buffer to be displayed in the currently
1098 selected window, signaling an error otherwise.  If nil, another window
1099 can be used, e.g. if the selected one is strongly dedicated.
1101 *** `split-window-vertically' and `split-window-horizontally' renamed
1102 to `split-window-below' and `split-window-right' respectively.
1103 The old names are kept as aliases.
1105 *** Display actions
1107 **** The second arg to `display-buffer' and `pop-to-buffer' is now
1108 named ACTION, and takes a display action of the same form as
1109 `display-buffer-base-action' (see Changes, above).  A non-nil,
1110 non-list value is treated specially, as the old meaning.
1112 **** New variable `display-buffer-overriding-action'.
1114 **** The procedure of `display-buffer' etc. to choose a window is
1115 determined by combining `display-buffer-overriding-action',
1116 `display-buffer-alist', the ACTION arg, `display-buffer-base-action',
1117 and `display-buffer-fallback-action'.  The second and fourth of these
1118 are user-customizable variables.
1120 See the docstring of `display-buffer' for details.
1123 *** New behavior of `quit-window'.
1124 The behavior of `quit-window' has been changed in order to restore the
1125 state before the last buffer display operation in that window.
1128 *** The new option `frame-auto-hide-function' lets you choose between
1129 iconifying or deleting a frame when burying a buffer shown in a dedicated
1130 frame or quitting a window showing a buffer in a frame of its own.
1132 ** Completion
1134 *** New variable completion-extra-properties used to specify extra properties
1135 of the current completion:
1136 - :annotate-function, same as the old completion-annotate-function.
1137 - :exit-function, function to call after completion took place.
1139 *** Functions on completion-at-point-functions can return any of the properties
1140 valid for completion-extra-properties.
1142 *** completion-annotate-function is obsolete.
1144 *** New `metadata' method for completion tables.  The metadata thus returned
1145 can specify various details of the data returned by `all-completions':
1146 - `category' is the kind of objects returned (e.g., `buffer', `file', ...),
1147   used to select a style in completion-category-overrides.
1148 - `annotation-function' to add annotations in *Completions*.
1149 - `display-sort-function' to specify how to sort entries in *Completions*.
1150 - `cycle-sort-function' to specify how to sort entries when cycling.
1152 *** minibuffer-local-filename-must-match-map is not used any more.
1153 Instead, the bindings in minibuffer-local-filename-completion-map are
1154 combined with minibuffer-local-must-match-map.
1156 *** New variable `completing-read-function' allows overriding the
1157 behavior of `completing-read'.
1160 ** `glyphless-char-display' can now distinguish between graphical and
1161 text terminal display, via a char-table entry that is a cons cell.
1163 ** `open-network-stream' can now be used to open an encrypted stream.
1164 It now accepts an optional `:type' parameter for initiating a TLS
1165 connection, directly or via STARTTLS.  To do STARTTLS, additional
1166 parameters (`:end-of-command', `:success', `:capabilities-command')
1167 must also be supplied.
1170 ** pre/post-command-hook are not reset to nil upon error.
1171 Instead, the offending function is removed.
1173 ** New hook types
1175 *** New function `run-hook-wrapped' for running an abnormal hook by
1176 passing the hook functions as arguments to a "wrapping" function.
1178 *** New macro `with-wrapper-hook' for running an abnormal hook as a
1179 set of "wrapping" filters, similar to around advice.
1181 ** `server-eval-at' is provided to allow evaluating forms on different
1182 Emacs server instances.
1184 ** `call-process' allows a `(:file "file")' spec to redirect STDOUT to
1185 a file.
1188 ** Variable `stack-trace-on-error' removed.
1189 Also the debugger can now "continue" from an error, which means it will jump
1190 to the error handler as if the debugger had not been invoked instead of
1191 jumping all the way to the top-level.
1194 ** The function format-time-string now supports the %N directive, for
1195 higher-resolution time stamps.
1197 ** New function `read-char-choice' reads a restricted set of characters,
1198 discarding any inputs not inside the set.
1200 ** `image-library-alist' is renamed to `dynamic-library-alist'.
1201 The variable is now used to load all kind of supported dynamic libraries,
1202 not just image libraries.  The previous name is still available as an
1203 obsolete alias.
1205 ** New variable `syntax-propertize-function'.
1206 This replaces `font-lock-syntactic-keywords' which is now obsolete.
1207 This allows syntax-table properties to be set independently from font-lock:
1208 just call syntax-propertize to make sure the text is propertized.
1209 Together with this new variable come a new hook
1210 syntax-propertize-extend-region-functions, as well as two helper functions:
1211 syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords
1212 as-is; and syntax-propertize-rules which provides a new way to specify
1213 syntactic rules.
1215 ** New hook post-self-insert-hook run at the end of self-insert-command.
1218 ** Syntax tables support a new "comment style c" additionally to style b.
1220 ** frame-local variables cannot be let-bound any more.
1222 ** Major and minor mode changes
1224 *** `prog-mode' is a new major mode from which programming modes
1225 should be derived.
1227 **** `prog-mode-hook' can be used to enable features for programming
1228 modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1229 on-the-fly spell checking for comments and strings.
1231 *** New hook `change-major-mode-after-body-hook', run by
1232 `run-mode-hooks' just before any other mode hooks.
1234 *** Enabled globalized minor modes can be disabled in specific modes,
1235 by running (FOO-mode-hook 0) via a mode hook.
1237 *** `define-minor-mode' accepts a new keyword :variable.
1240 ** `delete-file' and `delete-directory' now accept optional arg TRASH.
1241 Trashing is performed if TRASH and `delete-by-moving-to-trash' are
1242 both non-nil.  Interactively, TRASH defaults to t, unless a prefix
1243 argument is supplied (see Trash changes, above).
1245 ** `facemenu-read-color' is now an alias for `read-color'.
1246 The command `read-color' now requires a match for a color name or RGB
1247 triplet, instead of signaling an error if the user provides a invalid
1248 input.
1250 ** Tool-bars can display separators.
1251 Tool-bar separators are handled like menu separators in menu-bar maps,
1252 i.e. via menu entries of the form `(menu-item "--")'.
1254 ** Image API
1256 *** Animated images support (currently animated gifs only).
1258 **** `image-animated-p' returns non-nil if an image can be animated.
1260 **** `image-animate' animates a supplied image spec.
1262 **** `image-animate-timer' returns the timer object for an image that
1263 is being animated.
1265 *** `image-extension-data' is renamed to `image-metadata'.
1267 *** If Emacs is compiled with ImageMagick support (see Startup
1268 Changes), the function `imagemagick-types' returns a list of image
1269 file extensions that your installation of ImageMagick supports.  The
1270 function `imagemagick-register-types' enables ImageMagick support for
1271 these image types, minus those listed in `imagemagick-types-inhibit'.
1273 See the Emacs Lisp Reference Manual for more information.
1275 ** XML and HTML parsing
1277 *** If Emacs is compiled with libxml2 support (which is the default),
1278 two new Emacs Lisp-level functions are defined:
1279 `libxml-parse-html-region' (which will parse "real world" HTML)
1280 and `libxml-parse-xml-region' (which parses XML).  Both return an
1281 Emacs Lisp parse tree.
1283 FIXME: These should be front-ended by xml.el.
1285 ** GnuTLS
1287 *** Emacs can be compiled with libgnutls support
1288 This is the default.  You will then be able to use the functionality
1289 in gnutls.el, namely the `open-gnutls-stream' and `gnutls-negotiate'
1290 functions.  It's easiest to use these functions through
1291 `open-network-stream' because it can upgrade connections through
1292 STARTTLS opportunistically or use plain SSL, depending on your needs.
1294 Only versions 2.8.x and higher or GnuTLS have been tested.
1295 [FIXME: this statement needs clarifying, given that GnuTLS >= 2.6.6
1296 is the test used by configure.]
1298 *** gnutls-log-level
1299 Set `gnutls-log-level' higher than 0 to get debug output.  1 is for
1300 important messages, 2 is for debug data, and higher numbers are as per
1301 the GnuTLS logging conventions.  The output is in *Messages*.
1303 ** Isearch
1305 *** New hook `isearch-update-post-hook' that runs in `isearch-update'.
1308 ** Progress reporters can now "spin".
1309 The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
1310 now be nil, or omitted.  This makes a "non-numeric" reporter.  Each
1311 time you call `progress-reporter-update' on that progress reporter,
1312 with a nil or omitted VALUE argument, the reporter message is
1313 displayed with a "spinning bar".
1315 ** New variable `revert-buffer-in-progress-p' is true while a buffer is
1316 being reverted, even if the buffer has a local `revert-buffer-function'.
1318 ** New variables `delayed-warnings-list' and `delayed-warnings-hook' allow
1319 deferring warnings until the main command loop is executed.
1322 ** `set-auto-mode' now respects mode: local variables at the end of files,
1323 as well as those in the -*- line.
1326 ** rx.el has a new `group-n' construct for explicitly numbered groups.
1328 ** keymaps can inherit from multiple parents.
1331 ** New reader macro ## which stands for the empty symbol.
1332 This means that the empty symbol can now be read back.  Also, #: by itself
1333 (when not immediately followed by a possible symbol character) stands for
1334 an empty uninterned symbol.
1336 ** Obsolete functions and variables
1338 *** buffer-substring-filters is obsolete.
1339 Use `filter-buffer-substring-functions' instead.
1341 *** `byte-compile-disable-print-circle' is obsolete.
1343 *** `deferred-action-list' and `deferred-action-function' are obsolete.
1345 *** `font-lock-maximum-size' is obsolete.
1348 * Changes in Emacs 24.1 on non-free operating systems
1350 ** New configure.bat option --enable-checking builds Emacs with extra
1351 runtime checks.
1353 ** New configure.bat option --distfiles to specify files to be
1354 included in binary distribution.
1356 ** New configure.bat option --without-gnutls to disable automatic
1357 GnuTLS detection.
1359 ** New configure.bat option --lib for general library linkage, works
1360 with the USER_LIBS build variable.
1362 ** New make target `dist' to create binary distribution for MS Windows.
1364 ** Function `w32-default-color-map' is now obsolete.
1366 ** On Nextstep/OSX, the menu bar can be hidden by customizing
1367 ns-auto-hide-menu-bar.
1370 ----------------------------------------------------------------------
1371 This file is part of GNU Emacs.
1373 GNU Emacs is free software: you can redistribute it and/or modify
1374 it under the terms of the GNU General Public License as published by
1375 the Free Software Foundation, either version 3 of the License, or
1376 (at your option) any later version.
1378 GNU Emacs is distributed in the hope that it will be useful,
1379 but WITHOUT ANY WARRANTY; without even the implied warranty of
1380 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1381 GNU General Public License for more details.
1383 You should have received a copy of the GNU General Public License
1384 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1387 Local variables:
1388 mode: outline
1389 paragraph-separate: "[  \f]*$"
1390 end: