comparison man/ediff.texi @ 90428:a8190f7e546e

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 285-296) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: admin/FOR-RELEASE: Update refcard section. * gnus--rel--5.10 (patch 102-104) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
author Miles Bader <miles@gnu.org>
date Wed, 07 Jun 2006 18:05:10 +0000
parents e6bf73e43cf4 b7261e09f8e4
children 4094c5298ae1
comparison
equal deleted inserted replaced
90427:ddb25860d044 90428:a8190f7e546e
133 133
134 @node Major Entry Points, Session Commands, Introduction, Top 134 @node Major Entry Points, Session Commands, Introduction, Top
135 @chapter Major Entry Points 135 @chapter Major Entry Points
136 136
137 When Ediff starts up, it displays a small control window, which accepts the 137 When Ediff starts up, it displays a small control window, which accepts the
138 Ediff commands and two or three windows displaying the files to be compared 138 Ediff commands, and two or three windows displaying the files to be compared
139 or merged. The control window can be in its own small frame or it can be 139 or merged. The control window can be in its own small frame or it can be
140 part of a bigger frame that displays other buffers. In any case, it is 140 part of a bigger frame that displays other buffers. In any case, it is
141 important that the control window be active (i.e., be the one receiving the 141 important that the control window be active (i.e., be the one receiving the
142 keystrokes) when you use Ediff. You can switch to other Emacs buffers at 142 keystrokes) when you use Ediff. You can switch to other Emacs buffers at
143 will and even edit the files currently being compared with Ediff and then 143 will and even edit the files currently being compared with Ediff and then
827 To be more precise, this toggles the check for whether the current merge is 827 To be more precise, this toggles the check for whether the current merge is
828 identical to its default setting, as originally decided by Ediff. For 828 identical to its default setting, as originally decided by Ediff. For
829 instance, if Ediff is merging according to the `combined' policy, then the 829 instance, if Ediff is merging according to the `combined' policy, then the
830 merge region is skipped over if it is different from the combination of the 830 merge region is skipped over if it is different from the combination of the
831 regions in buffers A and B. (Warning: swapping buffers A and B will confuse 831 regions in buffers A and B. (Warning: swapping buffers A and B will confuse
832 things in this respect). If the merge region is marked as `prefer-A' then 832 things in this respect.) If the merge region is marked as `prefer-A' then
833 this region will be skipped if it differs from the current difference 833 this region will be skipped if it differs from the current difference
834 region in buffer A, etc. 834 region in buffer A, etc.
835 835
836 @item / 836 @item /
837 @kindex / 837 @kindex /
1453 the control frame. 1453 the control frame.
1454 1454
1455 To start Ediff with an iconified Control Panel, you should set this 1455 To start Ediff with an iconified Control Panel, you should set this
1456 variable to @code{t} and @code{ediff-prefer-long-help-message} to 1456 variable to @code{t} and @code{ediff-prefer-long-help-message} to
1457 @code{nil} (@pxref{Quick Help Customization}). This behavior is useful 1457 @code{nil} (@pxref{Quick Help Customization}). This behavior is useful
1458 only if icons are allowed to accept keybord input (which depend on the 1458 only if icons are allowed to accept keyboard input (which depends on the
1459 window manager and other factors). 1459 window manager and other factors).
1460 @end table 1460 @end table
1461 1461
1462 @findex ediff-setup-windows 1462 @findex ediff-setup-windows
1463 To make more creative changes in the way Ediff sets up windows, you can 1463 To make more creative changes in the way Ediff sets up windows, you can
1597 @vindex ediff-ignore-case-option 1597 @vindex ediff-ignore-case-option
1598 @vindex ediff-ignore-case-option3 1598 @vindex ediff-ignore-case-option3
1599 @vindex ediff-ignore-case 1599 @vindex ediff-ignore-case
1600 Finally, Ediff can be told to ignore the case of the letters. This behavior 1600 Finally, Ediff can be told to ignore the case of the letters. This behavior
1601 can be toggled with @kbd{#c} and it is controlled with three variables: 1601 can be toggled with @kbd{#c} and it is controlled with three variables:
1602 Toggle case sensitivity in the diff program. All diffs are recomputed.
1603 Case sensitivity is controlled by the variables
1604 @code{ediff-ignore-case-option}, @code{ediff-ignore-case-option3}, and 1602 @code{ediff-ignore-case-option}, @code{ediff-ignore-case-option3}, and
1605 @code{ediff-ignore-case}. 1603 @code{ediff-ignore-case}.
1606 1604
1607 The variable @code{ediff-ignore-case-option} specifies the option to pass 1605 The variable @code{ediff-ignore-case-option} specifies the option to pass
1608 to the diff program for comparing two files or buffers. For GNU 1606 to the diff program for comparing two files or buffers. For GNU
1680 can be used, the user can set this variable to @code{t} to make sure that 1678 can be used, the user can set this variable to @code{t} to make sure that
1681 Ediff uses faces to highlight differences. 1679 Ediff uses faces to highlight differences.
1682 1680
1683 @item ediff-highlight-all-diffs 1681 @item ediff-highlight-all-diffs
1684 @vindex ediff-highlight-all-diffs 1682 @vindex ediff-highlight-all-diffs
1685 Indicates whether---on a windowind display---Ediff should highlight 1683 Indicates whether---on a windowing display---Ediff should highlight
1686 differences using inserted strings (as on text-only terminals) or using 1684 differences using inserted strings (as on text-only terminals) or using
1687 colors and highlighting. Normally, Ediff highlights all differences, but 1685 colors and highlighting. Normally, Ediff highlights all differences, but
1688 the selected difference is highlighted more visibly. One can cycle through 1686 the selected difference is highlighted more visibly. One can cycle through
1689 various modes of highlighting by typing @kbd{h}. By default, Ediff starts 1687 various modes of highlighting by typing @kbd{h}. By default, Ediff starts
1690 in the mode where all difference regions are highlighted. If you prefer to 1688 in the mode where all difference regions are highlighted. If you prefer to
1719 (setq ediff-current-diff-face-A 1717 (setq ediff-current-diff-face-A
1720 (copy-face 'bold-italic 'ediff-current-diff-face-A)) 1718 (copy-face 'bold-italic 'ediff-current-diff-face-A))
1721 @end example 1719 @end example
1722 1720
1723 @noindent 1721 @noindent
1724 would use the pre-defined fase @code{bold-italic} to highlight the current 1722 would use the pre-defined face @code{bold-italic} to highlight the current
1725 difference region in buffer A (this face is not a good choice, by the way). 1723 difference region in buffer A (this face is not a good choice, by the way).
1726 1724
1727 If you are unhappy with just @emph{some} of the aspects of the default 1725 If you are unhappy with just @emph{some} of the aspects of the default
1728 faces, you can modify them when Ediff is being loaded using 1726 faces, you can modify them when Ediff is being loaded using
1729 @code{ediff-load-hook}. For instance: 1727 @code{ediff-load-hook}. For instance: