Mercurial > emacs
comparison etc/NEWS @ 97482:a8900d9693c5
Improve whitespace information.
author | Vinicius Jose Latorre <viniciusjl@ig.com.br> |
---|---|
date | Fri, 15 Aug 2008 00:48:55 +0000 |
parents | 7be71f2c868b |
children | 1a5e7c3ee575 |
comparison
equal
deleted
inserted
replaced
97481:d50fcbf5354d | 97482:a8900d9693c5 |
---|---|
540 ** Visual Line mode provides support for editing by visual lines. | 540 ** Visual Line mode provides support for editing by visual lines. |
541 It turns on word-wrapping in the current buffer, and rebinds C-a, C-e, | 541 It turns on word-wrapping in the current buffer, and rebinds C-a, C-e, |
542 and C-k to commands that operate by visual lines instead of logical | 542 and C-k to commands that operate by visual lines instead of logical |
543 lines. This is a more reliable replacement for longlines-mode. | 543 lines. This is a more reliable replacement for longlines-mode. |
544 | 544 |
545 ** xesam.el is an implementation of Xesam, an interface to (desktop) | |
546 search engines like Beagle, Strigi, and Tracker. The Xesam API | |
547 requires D-Bus for communication. | |
548 | |
549 ** zeroconf.el offers service discovery and service publishing | |
550 interfaces according to the zeroconf specification. It communicates | |
551 with Avahi, a zeroconf implementation, via D-Bus messages on systems | |
552 which have installed this software. | |
553 | |
545 ** A new `whitespace' package has been installed, and the pre-existing one | 554 ** A new `whitespace' package has been installed, and the pre-existing one |
546 renamed to `old-whitespace'. | 555 renamed to `old-whitespace'. |
547 Now, besides reporting bogus blanks, whitespace package has a minor mode and a | 556 Now, besides reporting bogus blanks, whitespace package has a minor mode and a |
548 global minor mode to visualize blanks (TAB, (HARD) SPACE and NEWLINE). The | 557 global minor mode to visualize blanks (TAB, (HARD) SPACE and NEWLINE). The |
549 visualization is made via faces and/or display table. Also it is possible to | 558 visualization is made via faces and/or display table. |
550 select which kind of blanks should be visualized, for example, trailing blanks, | 559 |
551 leading blanks, spaces, tabs, newlines, etc. | 560 The main commands are `whitespace-mode', `whitespace-toggle-options', |
552 | 561 `global-whitespace-mode' and `global-whitespace-toggle-options'. |
553 ** xesam.el is an implementation of Xesam, an interface to (desktop) | 562 |
554 search engines like Beagle, Strigi, and Tracker. The Xesam API | 563 There are also the following useful commands: `whitespace-newline-mode', |
555 requires D-Bus for communication. | 564 `global-whitespace-newline-mode', `whitespace-report', |
556 | 565 `whitespace-report-region', `whitespace-cleanup' and |
557 ** zeroconf.el offers service discovery and service publishing | 566 `whitespace-cleanup-region'. |
558 interfaces according to the zeroconf specification. It communicates | 567 |
559 with Avahi, a zeroconf implementation, via D-Bus messages on systems | 568 It has the following hook variables: `whitespace-mode-hook', |
560 which have installed this software. | 569 `global-whitespace-mode-hook' and `whitespace-load-hook'. |
570 | |
571 It has the following options: `whitespace-style', `whitespace-action', | |
572 `whitespace-line-column', `whitespace-display-mappings' and | |
573 `whitespace-global-modes'. | |
574 | |
575 It has the following faces: `whitespace-space', `whitespace-hspace', | |
576 `whitespace-tab', `whitespace-newline', `whitespace-trailing', | |
577 `whitespace-line', `whitespace-space-before-tab', `whitespace-indentation', | |
578 `whitespace-empty' and `whitespace-space-after-tab'. | |
579 | |
580 It has the following regexp options: `whitespace-space-regexp', | |
581 `whitespace-hspace-regexp', `whitespace-tab-regexp', | |
582 `whitespace-trailing-regexp', `whitespace-space-before-tab-regexp', | |
583 `whitespace-indentation-regexp', `whitespace-empty-at-bob-regexp', | |
584 `whitespace-empty-at-eob-regexp' and `whitespace-space-after-tab-regexp'. | |
585 | |
586 The `whitespace-style' option specifies which kind of blanks should be | |
587 visualized. It's a list containing some or all of the following values: | |
588 | |
589 trailing trailing blanks are visualized via faces. | |
590 | |
591 tabs TABs are visualized via faces. | |
592 | |
593 spaces SPACEs and HARD SPACEs are visualized via faces. | |
594 | |
595 lines lines whose have columns beyond `whitespace-line-column' are | |
596 highlighted via faces. | |
597 Whole line is highlighted. | |
598 It has precedence over `lines-tail' (see below). | |
599 | |
600 lines-tail lines whose have columns beyond `whitespace-line-column' are | |
601 highlighted via faces. | |
602 But only the part of line which goes beyond | |
603 `whitespace-line-column' column. | |
604 It has effect only if `lines' (see above) is not present in | |
605 `whitespace-style'. | |
606 | |
607 newline NEWLINEs are visualized via faces. | |
608 | |
609 empty empty lines at beginning and/or end of buffer are visualized | |
610 via faces. | |
611 | |
612 indentation::tab 8 or more SPACEs at beginning of line are visualized | |
613 via faces. | |
614 | |
615 indentation::space TABs at beginning of line are visualized via faces. | |
616 | |
617 indentation 8 or more SPACEs at beginning of line are visualized, if | |
618 `indent-tabs-mode' (which see) is non-nil; otherwise, TABs at | |
619 beginning of line are visualized via faces. | |
620 | |
621 space-after-tab::tab 8 or more SPACEs after a TAB are visualized via faces. | |
622 | |
623 space-after-tab::space TABs are visualized when occurs 8 or more SPACEs after | |
624 a TAB via faces. | |
625 | |
626 space-after-tab 8 or more SPACEs after a TAB are visualized, if | |
627 `indent-tabs-mode' (which see) is non-nil; otherwise, | |
628 the TABs are visualized via faces. | |
629 | |
630 space-before-tab::tab SPACEs before TAB are visualized via faces. | |
631 | |
632 space-before-tab::space TABs are visualized when occurs SPACEs before TAB via | |
633 faces. | |
634 | |
635 space-before-tab SPACEs before TAB are visualized, if `indent-tabs-mode' | |
636 (which see) is non-nil; otherwise, the TABs are | |
637 visualized via faces. | |
638 | |
639 space-mark SPACEs and HARD SPACEs are visualized via display table. | |
640 | |
641 tab-mark TABs are visualized via display table. | |
642 | |
643 newline-mark NEWLINEs are visualized via display table. | |
644 | |
645 Any other value is ignored. | |
646 | |
647 The `whitespace-action' option specifies which action is taken when a buffer is | |
648 visited, killed or written. It's a list containing some or all of the | |
649 following values: | |
650 | |
651 nil no action is taken. | |
652 | |
653 cleanup cleanup any bogus whitespace always when local whitespace is | |
654 turned on. See `whitespace-cleanup' and | |
655 `whitespace-cleanup-region'. | |
656 | |
657 report-on-bogus report if there is any bogus whitespace always when local | |
658 whitespace is turned on. | |
659 | |
660 auto-cleanup cleanup any bogus whitespace when buffer is written or killed. | |
661 See `whitespace-cleanup' and `whitespace-cleanup-region'. | |
662 | |
663 abort-on-bogus abort if there is any bogus whitespace and the buffer is | |
664 written or killed. | |
665 | |
666 Any other value is treated as nil. | |
561 | 667 |
562 | 668 |
563 * Changes in Specialized Modes and Packages in Emacs 23.1 | 669 * Changes in Specialized Modes and Packages in Emacs 23.1 |
564 | 670 |
565 ** Diff mode | 671 ** Diff mode |