Mercurial > emacs
comparison etc/NEWS @ 97716:e8b4c0217486
Fix copyright entries broken by "rearrangement".
Trim whitespace infodump to something more appropriate for NEWS.
Merge "Diff" sections.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 26 Aug 2008 02:58:11 +0000 |
parents | c3c830b17f9f |
children | bf5634acba1c |
comparison
equal
deleted
inserted
replaced
97715:dac49f77b3b3 | 97716:e8b4c0217486 |
---|---|
486 | 486 |
487 ** Bubbles, a new game, is similar to SameGame. | 487 ** Bubbles, a new game, is similar to SameGame. |
488 | 488 |
489 ** bug-reference.el provides clickable links to bug reports. | 489 ** bug-reference.el provides clickable links to bug reports. |
490 | 490 |
491 ** copyright.el provides utilities for updating copyright notices in files. | |
492 | |
493 ** dbus.el provides D-Bus language bindings. | 491 ** dbus.el provides D-Bus language bindings. |
494 D-Bus is an inter-process communication mechanism for applications | 492 D-Bus is an inter-process communication mechanism for applications |
495 residing on the same host. See the manual for details. | 493 residing on the same host. See the manual for details. |
496 | 494 |
497 ** Doc View Mode allows viewing of PDF, PostScript and DVI documents. | 495 ** Doc View Mode allows viewing of PDF, PostScript and DVI documents. |
556 ** zeroconf.el offers service discovery and service publishing | 554 ** zeroconf.el offers service discovery and service publishing |
557 interfaces according to the zeroconf specification. It communicates | 555 interfaces according to the zeroconf specification. It communicates |
558 with Avahi, a zeroconf implementation, via D-Bus messages on systems | 556 with Avahi, a zeroconf implementation, via D-Bus messages on systems |
559 which have installed this software. | 557 which have installed this software. |
560 | 558 |
561 ** A new `whitespace' package has been installed, and the pre-existing one | 559 ** There is a new `whitespace' package. |
562 renamed to `old-whitespace'. | 560 (The pre-existing one has been renamed to `old-whitespace'.) |
563 Now, besides reporting bogus blanks, whitespace package has a minor mode and a | 561 Now, besides reporting bogus blanks, the whitespace package has a |
564 global minor mode to visualize blanks (TAB, (HARD) SPACE and NEWLINE). The | 562 minor mode and a global minor mode to visualize blanks (TAB, (HARD) |
565 visualization is made via faces and/or display table. | 563 SPACE and NEWLINE). The visualization is made via faces and/or display |
566 | 564 table. It can also indicate lines that extend beyond a given column, |
567 The main commands are `whitespace-mode', `whitespace-toggle-options', | 565 trailing blanks, and empty lines at the start or end of a buffer. |
568 `global-whitespace-mode' and `global-whitespace-toggle-options'. | 566 See `whitespace-style' for more details. The `whitespace-action' option |
569 | 567 specifies what to do when a buffer is visited, killed, or written. |
570 There are also the following useful commands: `whitespace-newline-mode', | |
571 `global-whitespace-newline-mode', `whitespace-report', | |
572 `whitespace-report-region', `whitespace-cleanup' and | |
573 `whitespace-cleanup-region'. | |
574 | |
575 It has the following hook variables: `whitespace-mode-hook', | |
576 `global-whitespace-mode-hook' and `whitespace-load-hook'. | |
577 | |
578 It has the following options: `whitespace-style', `whitespace-action', | |
579 `whitespace-line-column', `whitespace-display-mappings' and | |
580 `whitespace-global-modes'. | |
581 | |
582 It has the following faces: `whitespace-space', `whitespace-hspace', | |
583 `whitespace-tab', `whitespace-newline', `whitespace-trailing', | |
584 `whitespace-line', `whitespace-space-before-tab', `whitespace-indentation', | |
585 `whitespace-empty' and `whitespace-space-after-tab'. | |
586 | |
587 It has the following regexp options: `whitespace-space-regexp', | |
588 `whitespace-hspace-regexp', `whitespace-tab-regexp', | |
589 `whitespace-trailing-regexp', `whitespace-space-before-tab-regexp', | |
590 `whitespace-indentation-regexp', `whitespace-empty-at-bob-regexp', | |
591 `whitespace-empty-at-eob-regexp' and `whitespace-space-after-tab-regexp'. | |
592 | |
593 The `whitespace-style' option specifies which kind of blanks should be | |
594 visualized. It's a list containing some or all of the following values: | |
595 | |
596 trailing trailing blanks are visualized via faces. | |
597 | |
598 tabs TABs are visualized via faces. | |
599 | |
600 spaces SPACEs and HARD SPACEs are visualized via faces. | |
601 | |
602 lines lines whose have columns beyond `whitespace-line-column' are | |
603 highlighted via faces. | |
604 Whole line is highlighted. | |
605 It has precedence over `lines-tail' (see below). | |
606 | |
607 lines-tail lines whose have columns beyond `whitespace-line-column' are | |
608 highlighted via faces. | |
609 But only the part of line which goes beyond | |
610 `whitespace-line-column' column. | |
611 It has effect only if `lines' (see above) is not present in | |
612 `whitespace-style'. | |
613 | |
614 newline NEWLINEs are visualized via faces. | |
615 | |
616 empty empty lines at beginning and/or end of buffer are visualized | |
617 via faces. | |
618 | |
619 indentation::tab 8 or more SPACEs at beginning of line are visualized | |
620 via faces. | |
621 | |
622 indentation::space TABs at beginning of line are visualized via faces. | |
623 | |
624 indentation 8 or more SPACEs at beginning of line are visualized, if | |
625 `indent-tabs-mode' (which see) is non-nil; otherwise, TABs at | |
626 beginning of line are visualized via faces. | |
627 | |
628 space-after-tab::tab 8 or more SPACEs after a TAB are visualized via faces. | |
629 | |
630 space-after-tab::space TABs are visualized when occurs 8 or more SPACEs after | |
631 a TAB via faces. | |
632 | |
633 space-after-tab 8 or more SPACEs after a TAB are visualized, if | |
634 `indent-tabs-mode' (which see) is non-nil; otherwise, | |
635 the TABs are visualized via faces. | |
636 | |
637 space-before-tab::tab SPACEs before TAB are visualized via faces. | |
638 | |
639 space-before-tab::space TABs are visualized when occurs SPACEs before TAB via | |
640 faces. | |
641 | |
642 space-before-tab SPACEs before TAB are visualized, if `indent-tabs-mode' | |
643 (which see) is non-nil; otherwise, the TABs are | |
644 visualized via faces. | |
645 | |
646 space-mark SPACEs and HARD SPACEs are visualized via display table. | |
647 | |
648 tab-mark TABs are visualized via display table. | |
649 | |
650 newline-mark NEWLINEs are visualized via display table. | |
651 | |
652 Any other value is ignored. | |
653 | |
654 The `whitespace-action' option specifies which action is taken when a buffer is | |
655 visited, killed or written. It's a list containing some or all of the | |
656 following values: | |
657 | |
658 nil no action is taken. | |
659 | |
660 cleanup cleanup any bogus whitespace always when local whitespace is | |
661 turned on. See `whitespace-cleanup' and | |
662 `whitespace-cleanup-region'. | |
663 | |
664 report-on-bogus report if there is any bogus whitespace always when local | |
665 whitespace is turned on. | |
666 | |
667 auto-cleanup cleanup any bogus whitespace when buffer is written or killed. | |
668 See `whitespace-cleanup' and `whitespace-cleanup-region'. | |
669 | |
670 abort-on-bogus abort if there is any bogus whitespace and the buffer is | |
671 written or killed. | |
672 | |
673 Any other value is treated as nil. | |
674 | 568 |
675 | 569 |
676 * Changes in Specialized Modes and Packages in Emacs 23.1 | 570 * Changes in Specialized Modes and Packages in Emacs 23.1 |
677 | |
678 ** Diff mode | |
679 *** New function `diff-show-trailing-whitespaces' can be used to show | |
680 trailing whitespace problems in the modified lines of a diff buffer. | |
681 | 571 |
682 ** Abbrev has been rewritten in Elisp and extended with more flexibility. | 572 ** Abbrev has been rewritten in Elisp and extended with more flexibility. |
683 *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, | 573 *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, |
684 abbrev-table-p, abbrev-insert, abbrev-table-menu. | 574 abbrev-table-p, abbrev-insert, abbrev-table-menu. |
685 *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. | 575 *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. |
764 | 654 |
765 *** The `cc' alias for C++ files in `grep-file-aliases' has been | 655 *** The `cc' alias for C++ files in `grep-file-aliases' has been |
766 improved. `hh' can be used to match C++ header files and `cchh' both | 656 improved. `hh' can be used to match C++ header files and `cchh' both |
767 C++ sources and headers. | 657 C++ sources and headers. |
768 | 658 |
659 ** Copyright | |
660 | |
661 *** You can specify your copyright holders' names. | |
662 Only copyright lines with holders matching `copyright-names-regexp' are | |
663 considered for update. | |
664 | |
665 *** Copyrights can be at the end of the buffer. | |
666 This is controlled by `copyright-at-end-flag' (used by, e.g., change-log-mode). | |
667 | |
769 ** Custom | 668 ** Custom |
770 +++ | 669 +++ |
771 *** defcustom accepts new keyword arguments, `:safe' and `:risky', which | 670 *** defcustom accepts new keyword arguments, `:safe' and `:risky', which |
772 set a variable's `safe-local-variable' and `risky-local-variable' property. | 671 set a variable's `safe-local-variable' and `risky-local-variable' property. |
773 | 672 |
778 diff-auto-refine-mode. It is bound to `C-c C-b'. | 677 diff-auto-refine-mode. It is bound to `C-c C-b'. |
779 | 678 |
780 *** diff-add-change-log-entries-other-window iterates through the diff | 679 *** diff-add-change-log-entries-other-window iterates through the diff |
781 buffer and tries to create ChangeLog entries for each change. | 680 buffer and tries to create ChangeLog entries for each change. |
782 It is bound to `C-x 4 A'. | 681 It is bound to `C-x 4 A'. |
682 | |
683 *** The new function `diff-show-trailing-whitespaces' shows | |
684 trailing whitespace problems in the modified lines of a diff buffer. | |
783 | 685 |
784 ** Dired | 686 ** Dired |
785 | 687 |
786 *** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, | 688 *** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, |
787 and C-x C-q in wdired-mode exits it with asking a question about | 689 and C-x C-q in wdired-mode exits it with asking a question about |