diff options
| author | Michael Kifer | 1999-11-25 05:22:07 +0000 |
|---|---|---|
| committer | Michael Kifer | 1999-11-25 05:22:07 +0000 |
| commit | b844f697eb8b70bbf448ac1ae63e7302c6fadd24 (patch) | |
| tree | 6b4a931cb2cc5c79121307504a10437af9593c18 | |
| parent | 7d3f9fd8e89e9901a7879c9cb8c46c439e67db4c (diff) | |
| download | emacs-b844f697eb8b70bbf448ac1ae63e7302c6fadd24.tar.gz emacs-b844f697eb8b70bbf448ac1ae63e7302c6fadd24.zip | |
* ediff.texi: Describe the new format for
ediff-combination-pattern.
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/ediff.texi | 40 |
2 files changed, 35 insertions, 10 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 16316c879f4..09c2b4aa02e 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-11-24 Michael Kifer <kifer@cs.sunysb.edu> | ||
| 2 | |||
| 3 | * ediff.texi: Describe the new format for | ||
| 4 | ediff-combination-pattern. | ||
| 5 | |||
| 1 | 1999-11-20 Paul Eggert <eggert@twinsun.com> | 6 | 1999-11-20 Paul Eggert <eggert@twinsun.com> |
| 2 | 7 | ||
| 3 | * mule.texi: Describe the relationship between | 8 | * mule.texi: Describe the relationship between |
diff --git a/man/ediff.texi b/man/ediff.texi index f9b314c37ab..25c84d90b9d 100644 --- a/man/ediff.texi +++ b/man/ediff.texi | |||
| @@ -1812,19 +1812,39 @@ If it is @code{combined} then the region in buffer C will look like | |||
| 1812 | this: | 1812 | this: |
| 1813 | 1813 | ||
| 1814 | @example | 1814 | @example |
| 1815 | #ifdef NEW /* variant A */ | 1815 | <<<<<<< variant A |
| 1816 | difference region from buffer A | 1816 | the difference region from buffer A |
| 1817 | #else /* variant B */ | 1817 | >>>>>>> variant B |
| 1818 | difference region from buffer B | 1818 | the difference region from buffer B |
| 1819 | #endif /* NEW */ | 1819 | ####### Ancestor |
| 1820 | the difference region from the ancestor buffer, if available | ||
| 1821 | ======= end | ||
| 1820 | @end example | 1822 | @end example |
| 1821 | 1823 | ||
| 1824 | The above is the default template for the combined region. The user can | ||
| 1825 | customize this template using the variable | ||
| 1826 | @code{ediff-combination-pattern}. | ||
| 1827 | |||
| 1822 | @vindex ediff-combination-pattern | 1828 | @vindex ediff-combination-pattern |
| 1823 | The actual strings that separate the regions copied from buffer A and B | 1829 | The variable @code{ediff-combination-pattern} specifies the template that |
| 1824 | are controlled by the variable @code{ediff-combination-pattern}. Its | 1830 | determines how the combined merged region looks like. The template is |
| 1825 | value should be a list of three strings. The first is inserted before | 1831 | represented as a list of the form @code{(STRING1 Symbol1 STRING2 Symbol2 |
| 1826 | the difference region of buffer A; the second string goes between the | 1832 | STRING3 Symbol3 STRING4)}. The symbols here must be atoms of the form |
| 1827 | regions; the third goes after region B, as shown in the above example. | 1833 | @code{A}, @code{B}, or @code{Ancestor}. They determine the order in which |
| 1834 | the corresponding difference regions (from buffers A, B, and the ancestor | ||
| 1835 | buffer) are displayed in the merged region of buffer C. The strings in the | ||
| 1836 | template determine the text that separates the aforesaid regions. The | ||
| 1837 | default template is | ||
| 1838 | |||
| 1839 | @example | ||
| 1840 | ("<<<<<<< variant A" A ">>>>>>> variant B" B "####### Ancestor" Ancestor "======= end") | ||
| 1841 | @end example | ||
| 1842 | |||
| 1843 | and the corresponding combined region is shown above. The order in which | ||
| 1844 | the regions are shown (and the separator strings) can be changed by | ||
| 1845 | changing the above template. It is even possible to add or delete region | ||
| 1846 | specifiers in this template (although the only possibly useful such | ||
| 1847 | modification seems to be the deletion of the ancestor). | ||
| 1828 | 1848 | ||
| 1829 | In addition to the state of the difference, Ediff displays the state of the | 1849 | In addition to the state of the difference, Ediff displays the state of the |
| 1830 | merge for each region. If a difference came from buffer A by default | 1850 | merge for each region. If a difference came from buffer A by default |