ediff 150 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181
  1. This is ../../info/ediff, produced by makeinfo version 4.13 from
  2. ediff.texi.
  3. This file documents Ediff, a comprehensive visual interface to Unix diff
  4. and patch utilities.
  5. Copyright (C) 1995-2012 Free Software Foundation, Inc.
  6. Permission is granted to copy, distribute and/or modify this
  7. document under the terms of the GNU Free Documentation License,
  8. Version 1.3 or any later version published by the Free Software
  9. Foundation; with no Invariant Sections, with the Front-Cover texts
  10. being "A GNU Manual", and with the Back-Cover Texts as in (a)
  11. below. A copy of the license is included in the section entitled
  12. "GNU Free Documentation License".
  13. (a) The FSF's Back-Cover Text is: "You have the freedom to copy and
  14. modify this GNU manual. Buying copies from the FSF supports it in
  15. developing GNU and promoting software freedom."
  16. INFO-DIR-SECTION Emacs misc features
  17. START-INFO-DIR-ENTRY
  18. * Ediff: (ediff). A visual interface for comparing and merging programs.
  19. END-INFO-DIR-ENTRY
  20. 
  21. File: ediff, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
  22. Ediff
  23. *****
  24. This file documents Ediff, a comprehensive visual interface to Unix diff
  25. and patch utilities.
  26. Copyright (C) 1995-2012 Free Software Foundation, Inc.
  27. Permission is granted to copy, distribute and/or modify this
  28. document under the terms of the GNU Free Documentation License,
  29. Version 1.3 or any later version published by the Free Software
  30. Foundation; with no Invariant Sections, with the Front-Cover texts
  31. being "A GNU Manual", and with the Back-Cover Texts as in (a)
  32. below. A copy of the license is included in the section entitled
  33. "GNU Free Documentation License".
  34. (a) The FSF's Back-Cover Text is: "You have the freedom to copy and
  35. modify this GNU manual. Buying copies from the FSF supports it in
  36. developing GNU and promoting software freedom."
  37. * Menu:
  38. * Introduction:: About Ediff.
  39. * Major Entry Points:: How to use Ediff.
  40. * Session Commands:: Ediff commands used within a session.
  41. * Registry of Ediff Sessions:: Keeping track of multiple Ediff sessions.
  42. * Session Groups:: Comparing and merging directories.
  43. * Remote and Compressed Files:: You may want to know about this.
  44. * Customization:: How to make Ediff work the way YOU want.
  45. * Credits:: Thanks to those who helped.
  46. * GNU Free Documentation License:: The license for this documentation.
  47. * Index::
  48. 
  49. File: ediff, Node: Introduction, Next: Major Entry Points, Prev: Top, Up: Top
  50. 1 Introduction
  51. **************
  52. Ediff provides a convenient way for simultaneous browsing through the
  53. differences between a pair (or a triple) of files or buffers (which are
  54. called `variants' for our purposes). The files being compared, file-A,
  55. file-B, and file-C (if applicable) are shown in separate windows (side
  56. by side, one above the another, or in separate frames), and the
  57. differences are highlighted as you step through them. You can also
  58. copy difference regions from one buffer to another (and recover old
  59. differences if you change your mind).
  60. Another powerful feature is the ability to merge a pair of files
  61. into a third buffer. Merging with an ancestor file is also supported.
  62. Furthermore, Ediff is equipped with directory-level capabilities that
  63. allow the user to conveniently launch browsing or merging sessions on
  64. groups of files in two (or three) different directories.
  65. In addition, Ediff can apply a patch to a file and then let you step
  66. through both files, the patched and the original one, simultaneously,
  67. difference-by-difference. You can even apply a patch right out of a
  68. mail buffer, i.e., patches received by mail don't even have to be
  69. saved. Since Ediff lets you copy differences between variants, you
  70. can, in effect, apply patches selectively (i.e., you can copy a
  71. difference region from `file.orig' to `file', thereby undoing any
  72. particular patch that you don't like).
  73. Ediff even understands multi-file patches and can apply them
  74. interactively! (Ediff can recognize multi-file patches only if they
  75. are in the context format or GNU unified format. All other patches are
  76. treated as 1-file patches. Ediff is [hopefully] using the same
  77. algorithm as `patch' to determine which files need to be patched.)
  78. Ediff is aware of version control, which lets you compare files with
  79. their older versions. Ediff also works with remote and compressed
  80. files, automatically ftp'ing them over and uncompressing them. *Note
  81. Remote and Compressed Files::, for details.
  82. This package builds upon ideas borrowed from Emerge, and several of
  83. Ediff's functions are adaptations from Emerge. Although Ediff subsumes
  84. and greatly extends Emerge, much of the functionality in Ediff is
  85. influenced by Emerge. The architecture and the interface are, of
  86. course, drastically different.
  87. 
  88. File: ediff, Node: Major Entry Points, Next: Session Commands, Prev: Introduction, Up: Top
  89. 2 Major Entry Points
  90. ********************
  91. When Ediff starts up, it displays a small control window, which accepts
  92. the Ediff commands, and two or three windows displaying the files to be
  93. compared or merged. The control window can be in its own small frame or
  94. it can be part of a bigger frame that displays other buffers. In any
  95. case, it is important that the control window be active (i.e., be the
  96. one receiving the keystrokes) when you use Ediff. You can switch to
  97. other Emacs buffers at will and even edit the files currently being
  98. compared with Ediff and then switch back to Ediff at any time by
  99. activating the appropriate Emacs windows.
  100. Ediff can be invoked interactively using the following functions,
  101. which can be run either from the minibuffer or from the menu bar. In
  102. the menu bar, all Ediff's entry points belong to three submenus of the
  103. Tools menu: Compare, Merge, and Apply Patch.
  104. `ediff-files'
  105. `ediff'
  106. Compare two files.
  107. `ediff-backup'
  108. Compare a file with its backup. If there are several numerical
  109. backups, use the latest. If the file is itself a backup, then
  110. compare it with its original.
  111. `ediff-current-file'
  112. Compare the buffer with its file on disk. This function can be
  113. used as a safe version of `revert-buffer'.
  114. `ediff-buffers'
  115. Compare two buffers.
  116. `ediff-files3'
  117. `ediff3'
  118. Compare three files.
  119. `ediff-buffers3'
  120. Compare three buffers.
  121. `edirs'
  122. `ediff-directories'
  123. Compare files common to two directories.
  124. `edirs3'
  125. `ediff-directories3'
  126. Compare files common to three directories.
  127. `edir-revisions'
  128. `ediff-directory-revisions'
  129. Compare versions of files in a given directory. Ediff selects
  130. only the files that are under version control.
  131. `edir-merge-revisions'
  132. `ediff-merge-directory-revisions'
  133. Merge versions of files in a given directory. Ediff selects only
  134. the files that are under version control.
  135. `edir-merge-revisions-with-ancestor'
  136. `ediff-merge-directory-revisions-with-ancestor'
  137. Merge versions of files in a given directory using other versions
  138. as ancestors. Ediff selects only the files that are under version
  139. control.
  140. `ediff-windows-wordwise'
  141. Compare windows word-by-word.
  142. `ediff-windows-linewise'
  143. Compare windows line-by-line.
  144. `ediff-regions-wordwise'
  145. Compare regions word-by-word. The regions can come from the same
  146. buffer and they can even overlap. You will be asked to specify
  147. the buffers that contain the regions, which you want to compare.
  148. For each buffer, you will also be asked to mark the regions to be
  149. compared. Pay attention to the messages that appear in the
  150. minibuffer.
  151. `ediff-regions-linewise'
  152. Similar to `ediff-windows-linewise', but compares the regions
  153. line-by-line. See `ediff-windows-linewise' for more details.
  154. `ediff-revision'
  155. Compare versions of the current buffer, if the buffer is visiting
  156. a file under version control.
  157. `ediff-patch-file'
  158. `epatch'
  159. Patch a file or multiple files, then compare. If the patch
  160. applies to just one file, Ediff will invoke a regular comparison
  161. session. If it is a multi-file patch, then a session group
  162. interface will be used and the user will be able to patch the
  163. files selectively. *Note Session Groups::, for more details.
  164. Since the patch might be in a buffer or a file, you will be asked
  165. which is the case. To avoid this extra prompt, you can invoke this
  166. command with a prefix argument. With an odd prefix argument,
  167. Ediff assumes the patch is in a file; with an even argument, a
  168. buffer is assumed.
  169. Note that `ediff-patch-file' will actually use the `patch' utility
  170. to change the original files on disk. This is not that dangerous,
  171. since you will always have the original contents of the file saved
  172. in another file that has the extension `.orig'. Furthermore, if
  173. the file is under version control, then you can always back out to
  174. one of the previous versions (see the section on Version Control in
  175. the Emacs manual).
  176. `ediff-patch-file' is careful about versions control: if the file
  177. to be patched is checked in, then Ediff will offer to check it
  178. out, because failing to do so may result in the loss of the
  179. changes when the file is checked out the next time.
  180. If you don't intend to modify the file via the patch and just want
  181. to see what the patch is all about (and decide later), then
  182. `ediff-patch-buffer' might be a better choice.
  183. `ediff-patch-buffer'
  184. `epatch-buffer'
  185. Patch a buffer, then compare. The buffer being patched and the
  186. file visited by that buffer (if any) is _not_ modified. The
  187. result of the patch appears in some other buffer that has the name
  188. ending with __patched_.
  189. This function would refuse to apply a multifile patch to a buffer.
  190. Use `ediff-patch-file' for that (and when you want the original
  191. file to be modified by the `patch' utility).
  192. Since the patch might be in a buffer or a file, you will be asked
  193. which is the case. To avoid this extra prompt, you can invoke this
  194. command with a prefix argument. With an odd prefix argument,
  195. Ediff assumes the patch is in a file; with an even argument, a
  196. buffer is assumed.
  197. `ediff-merge-files'
  198. `ediff-merge'
  199. Merge two files.
  200. `ediff-merge-files-with-ancestor'
  201. `ediff-merge-with-ancestor'
  202. Like `ediff-merge', but with a third ancestor file.
  203. `ediff-merge-buffers'
  204. Merge two buffers.
  205. `ediff-merge-buffers-with-ancestor'
  206. Same but with ancestor.
  207. `edirs-merge'
  208. `ediff-merge-directories'
  209. Merge files common to two directories.
  210. `edirs-merge-with-ancestor'
  211. `ediff-merge-directories-with-ancestor'
  212. Same but using files in a third directory as ancestors. If a
  213. pair of files doesn't have an ancestor in the ancestor-directory,
  214. you will still be able to merge them without the ancestor.
  215. `ediff-merge-revisions'
  216. Merge two versions of the file visited by the current buffer.
  217. `ediff-merge-revisions-with-ancestor'
  218. Same but with ancestor.
  219. `ediff-documentation'
  220. Brings up this manual.
  221. `ediff-show-registry'
  222. `eregistry'
  223. Brings up Ediff session registry. This feature enables you to
  224. quickly find and restart active Ediff sessions.
  225. When the above functions are invoked, the user is prompted for all
  226. the necessary information--typically the files or buffers to compare,
  227. merge, or patch. Ediff tries to be smart about these prompts. For
  228. instance, in comparing/merging files, it will offer the visible buffers
  229. as defaults. In prompting for files, if the user enters a directory,
  230. the previously input file name will be appended to that directory. In
  231. addition, if the variable `ediff-use-last-dir' is not `nil', Ediff will
  232. offer previously entered directories as defaults (which will be
  233. maintained separately for each type of file, A, B, or C).
  234. All the above functions use the POSIX `diff' or `diff3' programs to
  235. find differences between two files. They process the `diff' output and
  236. display it in a convenient form. At present, Ediff understands only
  237. the plain output from diff. Options such as `-c' are not supported,
  238. nor is the format produced by incompatible file comparison programs
  239. such as the VMS version of `diff'.
  240. The functions `ediff-files', `ediff-buffers', `ediff-files3',
  241. `ediff-buffers3' first display the coarse, line-based difference
  242. regions, as reported by the `diff' program. The total number of
  243. difference regions and the current difference number are always
  244. displayed in the mode line of the control window.
  245. Since `diff' may report fairly large chunks of text as being
  246. different, even though the difference may be localized to just a few
  247. words or even to the white space or line breaks, Ediff further
  248. _refines_ the regions to indicate which exact words differ. If the
  249. only difference is in the white space and line breaks, Ediff says so.
  250. On a color display, fine differences are highlighted with color; on a
  251. monochrome display, they are underlined. *Note Highlighting Difference
  252. Regions::, for information on how to customize this.
  253. The commands `ediff-windows-wordwise', `ediff-windows-linewise',
  254. `ediff-regions-wordwise' and `ediff-regions-linewise' do comparison on
  255. parts of existing Emacs buffers. The commands `ediff-windows-wordwise'
  256. and `ediff-regions-wordwise' are intended for relatively small segments
  257. of buffers (e.g., up to 100 lines, depending on the speed of your
  258. machine), as they perform comparison on the basis of words rather than
  259. lines. (Word-wise comparison of large chunks of text can be slow.)
  260. To compare large regions, use `ediff-regions-linewise'. This
  261. command displays differences much like `ediff-files' and
  262. `ediff-buffers'.
  263. The functions `ediff-patch-file' and `ediff-patch-buffer' apply a
  264. patch to a file or a buffer and then run Ediff on the appropriate
  265. files/buffers, displaying the difference regions.
  266. The entry points `ediff-directories', `ediff-merge-directories',
  267. etc., provide a convenient interface for comparing and merging files in
  268. different directories. The user is presented with Dired-like interface
  269. from which one can run a group of related Ediff sessions.
  270. For files under version control, `ediff-revision' lets you compare
  271. the file visited by the current buffer to one of its checked-in
  272. versions. You can also compare two checked-in versions of the visited
  273. file. Moreover, the functions `ediff-directory-revisions',
  274. `ediff-merge-directory-revisions', etc., let you run a group of related
  275. Ediff sessions by taking a directory and comparing (or merging)
  276. versions of files in that directory.
  277. 
  278. File: ediff, Node: Session Commands, Next: Registry of Ediff Sessions, Prev: Major Entry Points, Up: Top
  279. 3 Session Commands
  280. ******************
  281. All Ediff commands are displayed in a Quick Help window, unless you type
  282. `?' to shrink the window to just one line. You can redisplay the help
  283. window by typing `?' again. The Quick Help commands are detailed below.
  284. Many Ediff commands take numeric prefix arguments. For instance, if
  285. you type a number, say 3, and then `j' (`ediff-jump-to-difference'),
  286. Ediff moves to the third difference region. Typing 3 and then `a'
  287. (`ediff-diff-to-diff') copies the 3rd difference region from variant A
  288. to variant B. Likewise, 4 followed by `ra' restores the 4th difference
  289. region in buffer A (if it was previously written over via the command
  290. `a').
  291. Some commands take negative prefix arguments as well. For instance,
  292. typing `-' and then `j' will make the last difference region current.
  293. Typing `-2' then `j' makes the penultimate difference region current,
  294. etc.
  295. Without the prefix argument, all commands operate on the currently
  296. selected difference region. You can make any difference region current
  297. using the various commands explained below.
  298. For some commands, the actual value of the prefix argument is
  299. immaterial. However, if supplied, the prefix argument may modify the
  300. command (see `ga', `gb', and `gc').
  301. * Menu:
  302. * Quick Help Commands:: Frequently used commands.
  303. * Other Session Commands:: Commands that are not bound to keys.
  304. 
  305. File: ediff, Node: Quick Help Commands, Next: Other Session Commands, Up: Session Commands
  306. 3.1 Quick Help Commands
  307. =======================
  308. `?'
  309. Toggles the Ediff Quick Help window ON and OFF.
  310. `G'
  311. Prepares a mail buffer for sending a praise or a curse to the
  312. Ediff maintainer.
  313. `E'
  314. Brings up the top node of this manual, where you can find further
  315. information on the various Ediff functions and advanced issues,
  316. such as customization, session groups, etc.
  317. `v'
  318. Scrolls up buffers A and B (and buffer C where appropriate) in a
  319. coordinated fashion.
  320. `V'
  321. Scrolls the buffers down.
  322. `<'
  323. Scrolls the buffers to the left simultaneously.
  324. `>'
  325. Scrolls buffers to the right.
  326. `wd'
  327. Saves the output from the diff utility, for further reference.
  328. With prefix argument, saves the plain output from `diff' (see
  329. `ediff-diff-program' and `ediff-diff-options'). Without the
  330. argument, it saves customized `diff' output (see
  331. `ediff-custom-diff-program' and `ediff-custom-diff-options'), if
  332. it is available.
  333. `wa'
  334. Saves buffer A, if it was modified.
  335. `wb'
  336. Saves buffer B, if it was modified.
  337. `wc'
  338. Saves buffer C, if it was modified (if you are in a session that
  339. compares three files simultaneously).
  340. `a'
  341. _In comparison sessions:_ Copies the current difference region (or
  342. the region specified as the prefix to this command) from buffer A
  343. to buffer B. Ediff saves the old contents of buffer B's region;
  344. it can be restored via the command `rb', which see.
  345. _In merge sessions:_ Copies the current difference region (or the
  346. region specified as the prefix to this command) from buffer A to
  347. the merge buffer. The old contents of this region in buffer C can
  348. be restored via the command `r'.
  349. `b'
  350. Works similarly, but copies the current difference region from
  351. buffer B to buffer A (in _comparison sessions_) or the merge
  352. buffer (in _merge sessions_).
  353. Ediff saves the old contents of the difference region copied over;
  354. it can be reinstated via the command `ra' in comparison sessions
  355. and `r' in merge sessions.
  356. `ab'
  357. Copies the current difference region (or the region specified as
  358. the prefix to this command) from buffer A to buffer B. This (and
  359. the next five) command is enabled only in sessions that compare
  360. three files simultaneously. The old region in buffer B is saved
  361. and can be restored via the command `rb'.
  362. `ac'
  363. Copies the difference region from buffer A to buffer C. The old
  364. region in buffer C is saved and can be restored via the command
  365. `rc'.
  366. `ba'
  367. Copies the difference region from buffer B to buffer A. The old
  368. region in buffer A is saved and can be restored via the command
  369. `ra'.
  370. `bc'
  371. Copies the difference region from buffer B to buffer C. The
  372. command `rc' undoes this.
  373. `ca'
  374. Copies the difference region from buffer C to buffer A. The
  375. command `ra' undoes this.
  376. `cb'
  377. Copies the difference region from buffer C to buffer B. The
  378. command `rb' undoes this.
  379. `p'
  380. `DEL'
  381. Makes the previous difference region current.
  382. `n'
  383. `SPC'
  384. Makes the next difference region current.
  385. `j'
  386. `-j'
  387. `Nj'
  388. Makes the very first difference region current.
  389. `-j' makes the last region current. Typing a number, N, and then
  390. `j' makes the difference region N current. Typing -N (a negative
  391. number) then `j' makes current the region Last - N.
  392. `ga'
  393. Makes current the difference region closest to the position of the
  394. point in buffer A.
  395. However, with a prefix argument, Ediff would position all variants
  396. around the area indicated by the current point in buffer A: if the
  397. point is inside a difference region, then the variants will be
  398. positioned at this difference region. If the point is not in any
  399. difference region, then it is in an area where all variants agree
  400. with each other. In this case, the variants will be positioned so
  401. that each would display this area (of agreement).
  402. `gb'
  403. Makes current the difference region closest to the position of the
  404. point in buffer B.
  405. With a prefix argument, behaves like `ga', but with respect to
  406. buffer B.
  407. `gc'
  408. _In merge sessions:_ makes current the difference region closest
  409. to the point in the merge buffer.
  410. _In 3-file comparison sessions:_ makes current the region closest
  411. to the point in buffer C.
  412. With a prefix argument, behaves like `ga', but with respect to
  413. buffer C.
  414. `!'
  415. Recomputes the difference regions, bringing them up to date. This
  416. is often needed because it is common to do all sorts of editing
  417. during Ediff sessions, so after a while, the highlighted
  418. difference regions may no longer reflect the actual differences
  419. among the buffers.
  420. `*'
  421. Forces refinement of the current difference region, which
  422. highlights the exact words of disagreement among the buffers.
  423. With a negative prefix argument, unhighlights the current region.
  424. Forceful refinement may be needed if Ediff encounters a difference
  425. region that is larger than `ediff-auto-refine-limit'. In this
  426. situation, Ediff doesn't do automatic refinement in order to
  427. improve response time. (Ediff doesn't auto-refine on dumb
  428. terminals as well, but `*' still works there. However, the only
  429. useful piece of information it can tell you is whether or not the
  430. difference regions disagree only in the amount of white space.)
  431. This command is also useful when the highlighted fine differences
  432. are no longer current, due to user editing.
  433. `m'
  434. Displays the current Ediff session in a frame as wide as the
  435. physical display. This is useful when comparing files
  436. side-by-side. Typing `m' again restores the original size of the
  437. frame.
  438. `|'
  439. Toggles the horizontal/vertical split of the Ediff display.
  440. Horizontal split is convenient when it is possible to compare files
  441. side-by-side. If the frame in which files are displayed is too
  442. narrow and lines are cut off, typing `m' may help some.
  443. `@'
  444. Toggles auto-refinement of difference regions (i.e., automatic
  445. highlighting of the exact words that differ among the variants).
  446. Auto-refinement is turned off on devices where Emacs doesn't
  447. support highlighting.
  448. On slow machines, it may be advantageous to turn auto-refinement
  449. off. The user can always forcefully refine specific difference
  450. regions by typing `*'.
  451. `h'
  452. Cycles between full highlighting, the mode where fine differences
  453. are not highlighted (but computed), and the mode where
  454. highlighting is done with ASCII strings. The latter is not really
  455. recommended, unless on a dumb TTY.
  456. `r'
  457. Restores the old contents of the region in the merge buffer. (If
  458. you copied a difference region from buffer A or B into the merge
  459. buffer using the commands `a' or `b', Ediff saves the old contents
  460. of the region in case you change your mind.)
  461. This command is enabled in merge sessions only.
  462. `ra'
  463. Restores the old contents of the current difference region in
  464. buffer A, which was previously saved when the user invoked one of
  465. these commands: `b', `ba', `ca', which see. This command is
  466. enabled in comparison sessions only.
  467. `rb'
  468. Restores the old contents of the current difference region in
  469. buffer B, which was previously saved when the user invoked one of
  470. these commands: `a', `ab', `cb', which see. This command is
  471. enabled in comparison sessions only.
  472. `rc'
  473. Restores the old contents of the current difference region in
  474. buffer C, which was previously saved when the user invoked one of
  475. these commands: `ac', `bc', which see. This command is enabled in
  476. 3-file comparison sessions only.
  477. `##'
  478. Tell Ediff to skip over regions that disagree among themselves
  479. only in the amount of white space and line breaks.
  480. Even though such regions will be skipped over, you can still jump
  481. to any one of them by typing the region number and then `j'.
  482. Typing `##' again puts Ediff back in the original state.
  483. `#c'
  484. Toggle case sensitivity in the diff program. All diffs are
  485. recomputed. Case sensitivity is controlled by the variables
  486. `ediff-ignore-case-option', `ediff-ignore-case-option3', and
  487. `ediff-ignore-case', which are explained elsewhere.
  488. `#h'
  489. `#f'
  490. Ediff works hard to ameliorate the effects of boredom in the
  491. workplace...
  492. Quite often differences are due to identical replacements (e.g.,
  493. the word `foo' is replaced with the word `bar' everywhere). If
  494. the number of regions with such boring differences exceeds your
  495. tolerance threshold, you may be tempted to tell Ediff to skip
  496. these regions altogether (you will still be able to jump to them
  497. via the command `j'). The above commands, `#h' and `#f', may well
  498. save your day!
  499. `#h' prompts you to specify regular expressions for each variant.
  500. Difference regions where each variant's region matches the
  501. corresponding regular expression will be skipped from then on.
  502. (You can also tell Ediff to skip regions where at least one
  503. variant matches its regular expression.)
  504. `#f' does dual job: it focuses on regions that match the
  505. corresponding regular expressions. All other regions will be
  506. skipped over. *Note Selective Browsing::, for more.
  507. `A'
  508. Toggles the read-only property in buffer A. If file A is under
  509. version control and is checked in, it is checked out (with your
  510. permission).
  511. `B'
  512. Toggles the read-only property in buffer B. If file B is under
  513. version control and is checked in, it is checked out.
  514. `C'
  515. Toggles the read-only property in buffer C (in 3-file comparison
  516. sessions). If file C is under version control and is checked in,
  517. it is checked out.
  518. `~'
  519. Swaps the windows where buffers A and B are displayed. If you are
  520. comparing three buffers at once, then this command would rotate
  521. the windows among buffers A, B, and C.
  522. `i'
  523. Displays all kinds of useful data about the current Ediff session.
  524. `D'
  525. Runs `ediff-custom-diff-program' on the variants and displays the
  526. buffer containing the output. This is useful when you must send
  527. the output to your Mom.
  528. With a prefix argument, displays the plain `diff' output. *Note
  529. Patch and Diff Programs::, for details.
  530. `R'
  531. Displays a list of currently active Ediff sessions--the Ediff
  532. Registry. You can then restart any of these sessions by either
  533. clicking on a session record or by putting the cursor over it and
  534. then typing the return key.
  535. (Some poor souls leave so many active Ediff sessions around that
  536. they lose track of them completely... The `R' command is designed
  537. to save these people from the recently discovered Ediff
  538. Proficiency Syndrome.)
  539. Typing `R' brings up Ediff Registry only if it is typed into an
  540. Ediff Control Panel. If you don't have a control panel handy,
  541. type this in the minibuffer: `M-x eregistry'. *Note Registry of
  542. Ediff Sessions::.
  543. `M'
  544. Shows the session group buffer that invoked the current Ediff
  545. session. *Note Session Groups::, for more information on session
  546. groups.
  547. `z'
  548. Suspends the current Ediff session. (If you develop a condition
  549. known as Repetitive Ediff Injury--a serious but curable
  550. illness--you must change your current activity. This command
  551. tries hard to hide all Ediff-related buffers.)
  552. The easiest way to resume a suspended Ediff session is through the
  553. registry of active sessions. *Note Registry of Ediff Sessions::,
  554. for details.
  555. `q'
  556. Terminates this Ediff session. With a prefix argument
  557. (e.g.,`1q'), asks if you also want to delete the buffers of the
  558. variants. Modified files and the results of merges are never
  559. deleted.
  560. `%'
  561. Toggles narrowing in Ediff buffers. Ediff buffers may be narrowed
  562. if you are comparing only parts of these buffers via the commands
  563. `ediff-windows-*' and `ediff-regions-*', which see.
  564. `C-l'
  565. Restores the usual Ediff window setup. This is the quickest way
  566. to resume an Ediff session, but it works only if the control panel
  567. of that session is visible.
  568. `$$'
  569. While merging with an ancestor file, Ediff is determined to reduce
  570. user's wear and tear by saving him and her much of unproductive,
  571. repetitive typing. If it notices that, say, file A's difference
  572. region is identical to the same difference region in the ancestor
  573. file, then the merge buffer will automatically get the difference
  574. region taken from buffer B. The rationale is that this difference
  575. region in buffer A is as old as that in the ancestor buffer, so
  576. the contents of that region in buffer B represents real change.
  577. You may want to ignore such `obvious' merges and concentrate on
  578. difference regions where both files `clash' with the ancestor,
  579. since this means that two different people have been changing this
  580. region independently and they had different ideas on how to do
  581. this.
  582. The above command does this for you by skipping the regions where
  583. only one of the variants clashes with the ancestor but the other
  584. variant agrees with it. Typing `$$' again undoes this setting.
  585. `$*'
  586. When merging files with large number of differences, it is
  587. sometimes convenient to be able to skip the difference regions for
  588. which you already decided which variant is most appropriate.
  589. Typing `$*' will accomplish precisely this.
  590. To be more precise, this toggles the check for whether the current
  591. merge is identical to its default setting, as originally decided
  592. by Ediff. For instance, if Ediff is merging according to the
  593. `combined' policy, then the merge region is skipped over if it is
  594. different from the combination of the regions in buffers A and B.
  595. (Warning: swapping buffers A and B will confuse things in this
  596. respect.) If the merge region is marked as `prefer-A' then this
  597. region will be skipped if it differs from the current difference
  598. region in buffer A, etc.
  599. `/'
  600. Displays the ancestor file during merges.
  601. `&'
  602. In some situations, such as when one of the files agrees with the
  603. ancestor file on a difference region and the other doesn't, Ediff
  604. knows what to do: it copies the current difference region from the
  605. second buffer into the merge buffer.
  606. In other cases, the right course of action is not that clearcut,
  607. and Ediff would use a default action. The above command changes
  608. the default action. The default action can be `default-A' (choose
  609. the region from buffer A), `default-B' (choose the region from
  610. buffer B), or `combined' (combine the regions from the two
  611. buffers). *Note Merging and diff3::, for further details.
  612. The command `&' also affects the regions in the merge buffers that
  613. have `default-A', `default-B', or `combined' status, provided they
  614. weren't changed with respect to the original. For instance, if
  615. such a region has the status `default-A' then changing the default
  616. action to `default-B' will also replace this merge-buffer's region
  617. with the corresponding region from buffer B.
  618. `s'
  619. Causes the merge window shrink to its minimum size, thereby
  620. exposing as much of the variant buffers as possible. Typing `s'
  621. again restores the original size of that window.
  622. With a positive prefix argument, this command enlarges the merge
  623. window. E.g., `4s' increases the size of the window by about 4
  624. lines, if possible. With a negative numeric argument, the size of
  625. the merge window shrinks by that many lines, if possible. Thus,
  626. `-s' shrinks the window by about 1 line and `-3s' by about 3 lines.
  627. This command is intended only for temporary viewing; therefore,
  628. Ediff restores window C to its original size whenever it makes any
  629. other change in the window configuration. However, redisplaying
  630. (`C-l') or jumping to another difference does not affect window
  631. C's size.
  632. The split between the merge window and the variant windows is
  633. controlled by the variable `ediff-merge-window-share', which see.
  634. `+'
  635. Combines the difference regions from buffers A and B and copies the
  636. result into the merge buffer. *Note Merging and diff3::, and the
  637. variables `ediff-combine-diffs' and `ediff-combination-pattern'.
  638. `='
  639. You may run into situations when a large chunk of text in one file
  640. has been edited and then moved to a different place in another
  641. file. In such a case, these two chunks of text are unlikely to
  642. belong to the same difference region, so the refinement feature of
  643. Ediff will not be able to tell you what exactly differs inside
  644. these chunks. Since eyeballing large pieces of text is contrary
  645. to human nature, Ediff has a special command to help reduce the
  646. risk of developing a cataract.
  647. In other situations, the currently highlighted region might be big
  648. and you might want to reconcile of them interactively.
  649. All of this can be done with the above command, `=', which
  650. compares regions within Ediff buffers. Typing `=' creates a child
  651. Ediff session for comparing regions in buffers A, B, or C as
  652. follows.
  653. First, you will be asked whether you want to compare the fine
  654. differences between the currently highlighted buffers on a
  655. word-by-word basis. If you accept, a child Ediff session will
  656. start using the currently highlighted regions. Ediff will let you
  657. step over the differences word-wise.
  658. If you reject the offer, you will be asked to select regions of
  659. your choice.
  660. _If you are comparing 2 files or buffers:_ Ediff will ask you to
  661. select regions in buffers A and B.
  662. _If you are comparing 3 files or buffers simultaneously:_ Ediff
  663. will ask you to choose buffers and then select regions inside
  664. those buffers.
  665. _If you are merging files or buffers (with or without ancestor):_
  666. Ediff will ask you to choose which buffer (A or B) to compare with
  667. the merge buffer and then select regions in those buffers.
  668. 
  669. File: ediff, Node: Other Session Commands, Prev: Quick Help Commands, Up: Session Commands
  670. 3.2 Other Session Commands
  671. ==========================
  672. The following commands can be invoked from within any Ediff session,
  673. although some of them are not bound to a key.
  674. `eregistry'
  675. `ediff-show-registry'
  676. This command brings up the registry of active Ediff sessions.
  677. Ediff registry is a device that can be used to resume any active
  678. Ediff session (which may have been postponed because the user
  679. switched to some other activity). This command is also useful for
  680. switching between multiple active Ediff sessions that are run at
  681. the same time. The function `eregistry' is an alias for
  682. `ediff-show-registry'. *Note Registry of Ediff Sessions::, for
  683. more information on this registry.
  684. `ediff-toggle-multiframe'
  685. Changes the display from the multi-frame mode (where the quick
  686. help window is in a separate frame) to the single-frame mode
  687. (where all Ediff buffers share the same frame), and vice versa.
  688. See `ediff-window-setup-function' for details on how to make
  689. either of these modes the default one.
  690. This function can also be invoked from the Menubar. However, in
  691. some cases, the change will take place only after you execute one
  692. of the Ediff commands, such as going to the next difference or
  693. redisplaying.
  694. `ediff-toggle-use-toolbar'
  695. Available in XEmacs only. The Ediff toolbar provides quick access
  696. to some of the common Ediff functions. This function toggles the
  697. display of the toolbar. If invoked from the menubar, the function
  698. may take sometimes effect only after you execute an Ediff command,
  699. such as going to the next difference.
  700. `ediff-use-toolbar-p'
  701. The use of the toolbar can also be specified via the variable
  702. `ediff-use-toolbar-p' (default is `t'). This variable can be set
  703. only in `.emacs' -- do *not* change it interactively. Use the
  704. function `ediff-toggle-use-toolbar' instead.
  705. `ediff-revert-buffers-then-recompute-diffs'
  706. This command reverts the buffers you are comparing and recomputes
  707. their differences. It is useful when, after making changes, you
  708. decided to make a fresh start, or if at some point you changed the
  709. files being compared but want to discard any changes to comparison
  710. buffers that were done since then.
  711. This command normally asks for confirmation before reverting files.
  712. With a prefix argument, it reverts files without asking.
  713. `ediff-profile'
  714. Ediff has an admittedly primitive (but useful) facility for
  715. profiling Ediff's commands. It is meant for Ediff
  716. maintenance--specifically, for making it run faster. The function
  717. `ediff-profile' toggles profiling of ediff commands.
  718. 
  719. File: ediff, Node: Registry of Ediff Sessions, Next: Session Groups, Prev: Session Commands, Up: Top
  720. 4 Registry of Ediff Sessions
  721. ****************************
  722. Ediff maintains a registry of all its invocations that are still
  723. _active_. This feature is very convenient for switching among active
  724. Ediff sessions or for quickly restarting a suspended Ediff session.
  725. The focal point of this activity is a buffer called _*Ediff
  726. Registry*_. You can display this buffer by typing `R' in any Ediff
  727. Control Buffer or Session Group Buffer (*note Session Groups::), or by
  728. typing `M-x eregistry' into the Minibuffer. The latter would be the
  729. fastest way to bring up the registry buffer if no control or group
  730. buffer is displayed in any of the visible Emacs windows. If you are in
  731. a habit of running multiple long Ediff sessions and often need to
  732. suspend, resume, or switch between them, it may be a good idea to have
  733. the registry buffer permanently displayed in a separate, dedicated
  734. window.
  735. The registry buffer has several convenient key bindings. For
  736. instance, clicking mouse button 2 or typing `RET' or `v' over any
  737. session record resumes that session. Session records in the registry
  738. buffer provide a fairly complete description of each session, so it is
  739. usually easy to identify the right session to resume.
  740. Other useful commands are bound to `SPC' (next registry record) and
  741. `DEL' (previous registry record). There are other commands as well,
  742. but you don't need to memorize them, since they are listed at the top of
  743. the registry buffer.
  744. 
  745. File: ediff, Node: Session Groups, Next: Remote and Compressed Files, Prev: Registry of Ediff Sessions, Up: Top
  746. 5 Session Groups
  747. ****************
  748. Several major entries of Ediff perform comparison and merging on
  749. directories. On entering `ediff-directories', `ediff-directories3',
  750. `ediff-merge-directories', `ediff-merge-directories-with-ancestor',
  751. `ediff-directory-revisions', `ediff-merge-directory-revisions', or
  752. `ediff-merge-directory-revisions-with-ancestor', the user is presented
  753. with a Dired-like buffer that lists files common to the directories
  754. involved along with their sizes. (The list of common files can be
  755. further filtered through a regular expression, which the user is
  756. prompted for.) We call this buffer _Session Group Panel_ because all
  757. Ediff sessions associated with the listed files will have this buffer
  758. as a common focal point.
  759. Clicking button 2 or typing `RET' or `v' over a record describing
  760. files invokes Ediff in the appropriate mode on these files. You can
  761. come back to the session group buffer associated with a particular
  762. invocation of Ediff by typing `M' in Ediff control buffer of that
  763. invocation.
  764. Many commands are available in the session group buffer; some are
  765. applicable only to certain types of work. The relevant commands are
  766. always listed at the top of each session group buffer, so there is no
  767. need to memorize them.
  768. In directory comparison or merging, a session group panel displays
  769. only the files common to all directories involved. The differences are
  770. kept in a separate _directory difference buffer_ and are conveniently
  771. displayed by typing `D' to the corresponding session group panel.
  772. Thus, as an added benefit, Ediff can be used to compare the contents of
  773. up to three directories.
  774. Sometimes it is desirable to copy some files from one directory to
  775. another without exiting Ediff. The _directory difference buffer_, which
  776. is displayed by typing `D' as discussed above, can be used for this
  777. purpose. If a file is, say, in Ediff's Directory A, but is missing in
  778. Ediff's Directory B (Ediff will refuse to override existing files), then
  779. typing `C' or clicking mouse button 2 over that file (which must be
  780. displayed in directory difference buffer) will copy that file from
  781. Directory A to Directory B.
  782. Session records in session group panels are also marked with `+', for
  783. active sessions, and with `-', for finished sessions.
  784. Sometimes, it is convenient to exclude certain sessions from a group.
  785. Usually this happens when the user doesn't intend to run Ediff of
  786. certain files in the group, and the corresponding session records just
  787. add clutter to the session group buffer. To help alleviate this
  788. problem, the user can type `h' to mark a session as a candidate for
  789. exclusion and `x' to actually hide the marked sessions. There actions
  790. are reversible: with a prefix argument, `h' unmarks the session under
  791. the cursor, and `x' brings the hidden sessions into the view (`x'
  792. doesn't unmark them, though, so the user has to explicitly unmark the
  793. sessions of interest).
  794. Group sessions also understand the command `m', which marks sessions
  795. for future operations (other than hiding) on a group of sessions. At
  796. present, the only such group-level operation is the creation of a
  797. multi-file patch.
  798. For group sessions created to merge files, Ediff can store all merges
  799. automatically in a directory. The user is asked to specify such
  800. directory if the value of `ediff-autostore-merges' is non-`nil'. If
  801. the value is `nil', nothing is done to the merge buffers--it will be
  802. the user's responsibility to save them. If the value is `t', the user
  803. will be asked where to save the merge buffers in all merge jobs, even
  804. those that do not originate from a session group. It the value is
  805. neither `nil' nor `t', the merge buffer is saved _only_ if this merge
  806. session was invoked from a session group. This behavior is implemented
  807. in the function `ediff-maybe-save-and-delete-merge', which is a hook in
  808. `ediff-quit-merge-hook'. The user can supply a different hook, if
  809. necessary.
  810. The variable `ediff-autostore-merges' is buffer-local, so it can be
  811. set on a per-buffer basis. Therefore, use `setq-default' to change
  812. this variable globally.
  813. A multi-file patch is a concatenated output of several runs of the
  814. Unix `diff' command (some versions of `diff' let you create a
  815. multi-file patch in just one run). Ediff facilitates creation of
  816. multi-file patches as follows. If you are in a session group buffer
  817. created in response to `ediff-directories' or
  818. `ediff-directory-revisions', you can mark (by typing `m') the desired
  819. Ediff sessions and then type `P' to create a multi-file patch of those
  820. marked sessions. Ediff will then display a buffer containing the patch.
  821. The patch is generated by invoking `diff' on all marked individual
  822. sessions (represented by files) and session groups (represented by
  823. directories). Ediff will also recursively descend into any _unmarked_
  824. session group and will search for marked sessions there. In this way,
  825. you can create multi-file patches that span file subtrees that grow out
  826. of any given directory.
  827. In an `ediff-directories' session, it is enough to just mark the
  828. requisite sessions. In `ediff-directory-revisions' revisions, the
  829. marked sessions must also be active, or else Ediff will refuse to
  830. produce a multi-file patch. This is because, in the latter-style
  831. sessions, there are many ways to create diff output, and it is easier
  832. to handle by running Ediff on the inactive sessions.
  833. Last, but not least, by typing `==', you can quickly find out which
  834. sessions have identical entries, so you won't have to run Ediff on those
  835. sessions. This, however, works only on local, uncompressed files. For
  836. compressed or remote files, this command won't report anything.
  837. Likewise, you can use `=h' to mark sessions with identical entries for
  838. hiding or, with `=m', for further operations.
  839. The comparison operations `==', `=h', and `=m' can recurse into
  840. subdirectories to see if they have identical contents (so the user will
  841. not need to descend into those subdirectories manually). These commands
  842. ask the user whether or not to do a recursive descent.
  843. 
  844. File: ediff, Node: Remote and Compressed Files, Next: Customization, Prev: Session Groups, Up: Top
  845. 6 Remote and Compressed Files
  846. *****************************
  847. Ediff works with remote, compressed, and encrypted files. Ediff
  848. supports `ange-ftp.el', `jka-compr.el', `uncompress.el' and
  849. `crypt++.el', but it may work with other similar packages as well.
  850. This means that you can compare files residing on another machine, or
  851. you can apply a patch to a file on another machine. Even the patch
  852. itself can be a remote file!
  853. When patching compressed or remote files, Ediff does not rename the
  854. source file (unlike what the `patch' utility would usually do).
  855. Instead, the source file retains its name and the result of applying
  856. the patch is placed in a temporary file that has the suffix `_patched'
  857. attached. Generally, this applies to files that are handled using
  858. black magic, such as special file handlers (ange-ftp and some
  859. compression and encryption packages also use this method).
  860. Regular files are treated by the `patch' utility in the usual manner,
  861. i.e., the original is renamed into `source-name.orig' and the result of
  862. the patch is placed into the file source-name (`_orig' is used on
  863. systems like DOS, etc.)
  864. 
  865. File: ediff, Node: Customization, Next: Credits, Prev: Remote and Compressed Files, Up: Top
  866. 7 Customization
  867. ***************
  868. Ediff has a rather self-explanatory interface, and in most cases you
  869. won't need to change anything. However, should the need arise, there
  870. are extensive facilities for changing the default behavior.
  871. Most of the customization can be done by setting various variables
  872. in the `.emacs' file. Some customization (mostly window-related
  873. customization and faces) can be done by putting appropriate lines in
  874. `.Xdefaults', `.xrdb', or whatever X resource file is in use.
  875. With respect to the latter, please note that the X resource for
  876. Ediff customization is `Ediff', _not_ `emacs'. *Note Window and Frame
  877. Configuration::, *Note Highlighting Difference Regions::, for further
  878. details. Please also refer to Emacs manual for the information on how
  879. to set Emacs X resources.
  880. * Menu:
  881. * Hooks:: Customization via the hooks.
  882. * Quick Help Customization:: How to customize Ediff's quick help feature.
  883. * Window and Frame Configuration:: Controlling the way Ediff displays things.
  884. * Selective Browsing:: Advanced browsing through difference regions.
  885. * Highlighting Difference Regions:: Controlling highlighting.
  886. * Narrowing:: Comparing regions, windows, etc.
  887. * Refinement of Difference Regions:: How to control the refinement process.
  888. * Patch and Diff Programs:: Changing the utilities that compute differences
  889. and apply patches.
  890. * Merging and diff3:: How to customize Ediff in its Merge Mode.
  891. * Support for Version Control:: Changing the version control package.
  892. You are not likely to do that.
  893. * Customizing the Mode Line:: Changing the look of the mode line in Ediff.
  894. * Miscellaneous:: Other customization.
  895. * Notes on Heavy-duty Customization:: Customization for the gurus.
  896. 
  897. File: ediff, Node: Hooks, Next: Quick Help Customization, Prev: Customization, Up: Customization
  898. 7.1 Hooks
  899. =========
  900. The bulk of customization can be done via the following hooks:
  901. `ediff-load-hook'
  902. This hook can be used to change defaults after Ediff is loaded.
  903. `ediff-before-setup-hook'
  904. Hook that is run just before Ediff rearranges windows to its
  905. liking. Can be used to save windows configuration.
  906. `ediff-keymap-setup-hook'
  907. This hook can be used to alter bindings in Ediff's keymap,
  908. `ediff-mode-map'. These hooks are run right after the default
  909. bindings are set but before `ediff-load-hook'. The regular user
  910. needs not be concerned with this hook--it is provided for
  911. implementers of other Emacs packages built on top of Ediff.
  912. `ediff-before-setup-windows-hook'
  913. `ediff-after-setup-windows-hook'
  914. These two hooks are called before and after Ediff sets up its
  915. window configuration. These hooks are run each time Ediff
  916. rearranges windows to its liking. This happens whenever it detects
  917. that the user changed the windows setup.
  918. `ediff-suspend-hook'
  919. `ediff-quit-hook'
  920. These two hooks are run when you suspend or quit Ediff. They can
  921. be used to set desired window configurations, delete files Ediff
  922. didn't want to clean up after exiting, etc.
  923. By default, `ediff-quit-hook' holds one hook function,
  924. `ediff-cleanup-mess', which cleans after Ediff, as appropriate in
  925. most cases. You probably won't want to change it, but you might
  926. want to add other hook functions.
  927. Keep in mind that hooks executing before `ediff-cleanup-mess' start
  928. in `ediff-control-buffer;' they should also leave
  929. `ediff-control-buffer' as the current buffer when they finish.
  930. Hooks that are executed after `ediff-cleanup-mess' should expect
  931. the current buffer be either buffer A or buffer B.
  932. `ediff-cleanup-mess' doesn't kill the buffers being compared or
  933. merged (see `ediff-cleanup-hook', below).
  934. `ediff-cleanup-hook'
  935. This hook is run just before `ediff-quit-hook'. This is a good
  936. place to do various cleanups, such as deleting the variant buffers.
  937. Ediff provides a function, `ediff-janitor', as one such possible
  938. hook, which you can add to `ediff-cleanup-hook' with `add-hooks'.
  939. This function kills buffers A, B, and, possibly, C, if these
  940. buffers aren't modified. In merge jobs, buffer C is never
  941. deleted. However, the side effect of using this function is that
  942. you may not be able to compare the same buffer in two separate
  943. Ediff sessions: quitting one of them will delete this buffer in
  944. another session as well.
  945. `ediff-quit-merge-hook'
  946. This hook is called when Ediff quits a merge job. By default, the
  947. value is `ediff-maybe-save-and-delete-merge', which is a function
  948. that attempts to save the merge buffer according to the value of
  949. `ediff-autostore-merges', as described later.
  950. `ediff-before-setup-control-frame-hook'
  951. `ediff-after-setup-control-frame-hook'
  952. These two hooks run before and after Ediff sets up the control
  953. frame. They can be used to relocate Ediff control frame when
  954. Ediff runs in a multiframe mode (i.e., when the control buffer is
  955. in its own dedicated frame). Be aware that many variables that
  956. drive Ediff are local to Ediff Control Panel
  957. (`ediff-control-buffer'), which requires special care in writing
  958. these hooks. Take a look at `ediff-default-suspend-hook' and
  959. `ediff-default-quit-hook' to see what's involved.
  960. `ediff-startup-hook'
  961. This hook is run at the end of Ediff startup.
  962. `ediff-select-hook'
  963. This hook is run after Ediff selects the next difference region.
  964. `ediff-unselect-hook'
  965. This hook is run after Ediff unselects the current difference
  966. region.
  967. `ediff-prepare-buffer-hook'
  968. This hook is run for each Ediff buffer (A, B, C) right after the
  969. buffer is arranged.
  970. `ediff-display-help-hook'
  971. Ediff runs this hook each time after setting up the help message.
  972. It can be used to alter the help message for custom packages that
  973. run on top of Ediff.
  974. `ediff-mode-hook'
  975. This hook is run just after Ediff mode is set up in the control
  976. buffer. This is done before any Ediff window is created. You can
  977. use it to set local variables that alter the look of the display.
  978. `ediff-registry-setup-hook'
  979. Hooks run after setting up the registry for all active Ediff
  980. session. *Note Session Groups::, for details.
  981. `ediff-before-session-group-setup-hook'
  982. Hooks run before setting up a control panel for a group of related
  983. Ediff sessions. Can be used, for example, to save window
  984. configuration to restore later.
  985. `ediff-after-session-group-setup-hook'
  986. Hooks run after setting up a control panel for a group of related
  987. Ediff sessions. *Note Session Groups::, for details.
  988. `ediff-quit-session-group-hook'
  989. Hooks run just before exiting a session group.
  990. `ediff-meta-buffer-keymap-setup-hook'
  991. Hooks run just after setting up the `ediff-meta-buffer-map' -- the
  992. map that controls key bindings in the meta buffer. Since
  993. `ediff-meta-buffer-map' is a local variable, you can set different
  994. bindings for different kinds of meta buffers.
  995. 
  996. File: ediff, Node: Quick Help Customization, Next: Window and Frame Configuration, Prev: Hooks, Up: Customization
  997. 7.2 Quick Help Customization
  998. ============================
  999. Ediff provides quick help using its control panel window. Since this
  1000. window takes a fair share of the screen real estate, you can toggle it
  1001. off by typing `?'. The control window will then shrink to just one
  1002. line and a mode line, displaying a short help message.
  1003. The variable `ediff-use-long-help-message' tells Ediff whether you
  1004. use the short message or the long one. By default, it is set to `nil',
  1005. meaning that the short message is used. Set this to `t', if you want
  1006. Ediff to use the long message by default. This property can always be
  1007. changed interactively, by typing `?' into Ediff Control Buffer.
  1008. If you want to change the appearance of the help message on a
  1009. per-buffer basis, you must use `ediff-startup-hook' to change the value
  1010. of the variable `ediff-help-message', which is local to
  1011. `ediff-control-buffer'.
  1012. 
  1013. File: ediff, Node: Window and Frame Configuration, Next: Selective Browsing, Prev: Quick Help Customization, Up: Customization
  1014. 7.3 Window and Frame Configuration
  1015. ==================================
  1016. On a non-windowing display, Ediff sets things up in one frame, splitting
  1017. it between a small control window and the windows for buffers A, B, and
  1018. C. The split between these windows can be horizontal or vertical,
  1019. which can be changed interactively by typing `|' while the cursor is in
  1020. the control window.
  1021. On a window display, Ediff sets up a dedicated frame for Ediff
  1022. Control Panel and then it chooses windows as follows: If one of the
  1023. buffers is invisible, it is displayed in the currently selected frame.
  1024. If a buffer is visible, it is displayed in the frame where it is
  1025. visible. If, according to the above criteria, the two buffers fall
  1026. into the same frame, then so be it--the frame will be shared by the
  1027. two. The same algorithm works when you type `C-l' (`ediff-recenter'),
  1028. `p' (`ediff-previous-difference'), `n' (`ediff-next-difference'), etc.
  1029. The above behavior also depends on whether the current frame is
  1030. splittable, dedicated, etc. Unfortunately, the margin of this book is
  1031. too narrow to present the details of this remarkable algorithm.
  1032. The upshot of all this is that you can compare buffers in one frame
  1033. or in different frames. The former is done by default, while the
  1034. latter can be achieved by arranging buffers A, B (and C, if applicable)
  1035. to be seen in different frames. Ediff respects these arrangements,
  1036. automatically adapting itself to the multi-frame mode.
  1037. Ediff uses the following variables to set up its control panel
  1038. (a.k.a. control buffer, a.k.a. quick help window):
  1039. `ediff-control-frame-parameters'
  1040. You can change or augment this variable including the font, color,
  1041. etc. The X resource name of Ediff Control Panel frames is
  1042. `Ediff'. Under X-windows, you can use this name to set up
  1043. preferences in your `~/.Xdefaults', `~/.xrdb', or whatever X
  1044. resource file is in use. Usually this is preferable to changing
  1045. `ediff-control-frame-parameters' directly. For instance, you can
  1046. specify in `~/.Xdefaults' the color of the control frame using the
  1047. resource `Ediff*background'.
  1048. In general, any X resource pertaining the control frame can be
  1049. reached via the prefix `Ediff*'.
  1050. `ediff-control-frame-position-function'
  1051. The preferred way of specifying the position of the control frame
  1052. is by setting the variable `ediff-control-frame-position-function'
  1053. to an appropriate function. The default value of this variable is
  1054. `ediff-make-frame-position'. This function places the control
  1055. frame in the vicinity of the North-East corner of the frame
  1056. displaying buffer A.
  1057. The following variables can be used to adjust the location produced
  1058. by `ediff-make-frame-position' and for related customization.
  1059. `ediff-narrow-control-frame-leftward-shift'
  1060. Specifies the number of characters for shifting the control frame
  1061. from the rightmost edge of frame A when the control frame is
  1062. displayed as a small window.
  1063. `ediff-wide-control-frame-rightward-shift'
  1064. Specifies the rightward shift of the control frame from the left
  1065. edge of frame A when the control frame shows the full menu of
  1066. options.
  1067. `ediff-control-frame-upward-shift'
  1068. Specifies the number of pixels for the upward shift of the control
  1069. frame.
  1070. `ediff-prefer-iconified-control-frame'
  1071. If this variable is `t', the control frame becomes iconified
  1072. automatically when you toggle the quick help message off. This
  1073. saves valuable real estate on the screen. Toggling help back will
  1074. deiconify the control frame.
  1075. To start Ediff with an iconified Control Panel, you should set this
  1076. variable to `t' and `ediff-prefer-long-help-message' to `nil'
  1077. (*note Quick Help Customization::). This behavior is useful only
  1078. if icons are allowed to accept keyboard input (which depends on the
  1079. window manager and other factors).
  1080. To make more creative changes in the way Ediff sets up windows, you
  1081. can rewrite the function `ediff-setup-windows'. However, we believe
  1082. that detaching Ediff Control Panel from the rest and making it into a
  1083. separate frame offers an important opportunity by allowing you to
  1084. iconify that frame. The icon will usually accept all of the Ediff
  1085. commands, but will free up valuable real estate on your screen (this may
  1086. depend on your window manager, though).
  1087. The following variable controls how windows are set up:
  1088. `ediff-window-setup-function'
  1089. The multiframe setup is done by the
  1090. `ediff-setup-windows-multiframe' function, which is the default on
  1091. windowing displays. The plain setup, one where all windows are
  1092. always in one frame, is done by `ediff-setup-windows-plain', which
  1093. is the default on a non-windowing display (or in an xterm window).
  1094. In fact, under Emacs, you can switch freely between these two
  1095. setups by executing the command `ediff-toggle-multiframe' using
  1096. the Minibuffer of the Menubar.
  1097. If you don't like any of these setups, write your own function.
  1098. See the documentation for `ediff-window-setup-function' for the
  1099. basic guidelines. However, writing window setups is not easy, so
  1100. you should first take a close look at `ediff-setup-windows-plain'
  1101. and `ediff-setup-windows-multiframe'.
  1102. You can run multiple Ediff sessions at once, by invoking Ediff
  1103. several times without exiting previous Ediff sessions. Different
  1104. sessions may even operate on the same pair of files.
  1105. Each session has its own Ediff Control Panel and all the regarding a
  1106. particular session is local to the associated control panel buffer. You
  1107. can switch between sessions by suspending one session and then switching
  1108. to another control panel. (Different control panel buffers are
  1109. distinguished by a numerical suffix, e.g., `Ediff Control Panel<3>'.)
  1110. 
  1111. File: ediff, Node: Selective Browsing, Next: Highlighting Difference Regions, Prev: Window and Frame Configuration, Up: Customization
  1112. 7.4 Selective Browsing
  1113. ======================
  1114. Sometimes it is convenient to be able to step through only some
  1115. difference regions, those that match certain regular expressions, and
  1116. to ignore all others. On other occasions, you may want to ignore
  1117. difference regions that match some regular expressions, and to look
  1118. only at the rest.
  1119. The commands `#f' and `#h' let you do precisely this.
  1120. Typing `#f' lets you specify regular expressions that match
  1121. difference regions you want to focus on. We shall call these regular
  1122. expressions REGEXP-A, REGEXP-B and REGEXP-C. Ediff will then start
  1123. stepping through only those difference regions where the region in
  1124. buffer A matches REGEXP-A and/or the region in buffer B matches
  1125. REGEXP-B, etc. Whether `and' or `or' will be used depends on how you
  1126. respond to a question.
  1127. When scanning difference regions for the aforesaid regular
  1128. expressions, Ediff narrows the buffers to those regions. This means
  1129. that you can use the expressions `\`' and `\'' to tie search to the
  1130. beginning or end of the difference regions.
  1131. On the other hand, typing `#h' lets you specify (hide) uninteresting
  1132. regions. That is, if a difference region in buffer A matches REGEXP-A,
  1133. the corresponding region in buffer B matches REGEXP-B and (if
  1134. applicable) buffer C's region matches REGEXP-C, then the region will be
  1135. ignored by the commands `n'/<SPC> (`ediff-next-difference') and
  1136. `p'/<DEL> (`ediff-previous-difference') commands.
  1137. Typing `#f' and `#h' toggles selective browsing on and off.
  1138. Note that selective browsing affects only `ediff-next-difference'
  1139. and `ediff-previous-difference', i.e., the commands `n'/<SPC> and
  1140. `p'/<DEL>. `#f' and `#h' do not change the position of the point in
  1141. the buffers. And you can still jump directly (using `j') to any
  1142. numbered difference.
  1143. Users can supply their own functions to specify how Ediff should do
  1144. selective browsing. To change the default Ediff function, add a
  1145. function to `ediff-load-hook' which will do the following assignments:
  1146. (setq ediff-hide-regexp-matches-function 'your-hide-function)
  1147. (setq ediff-focus-on-regexp-matches-function 'your-focus-function)
  1148. *Useful hint*: To specify a regexp that matches everything, don't
  1149. simply type <RET> in response to a prompt. Typing <RET> tells Ediff to
  1150. accept the default value, which may not be what you want. Instead, you
  1151. should enter something like <^> or <$>. These match every line.
  1152. You can use the status command, `i', to find out whether selective
  1153. browsing is currently in effect.
  1154. The regular expressions you specified are kept in the local variables
  1155. `ediff-regexp-focus-A', `ediff-regexp-focus-B', `ediff-regexp-focus-C',
  1156. `ediff-regexp-hide-A', `ediff-regexp-hide-B', `ediff-regexp-hide-C'.
  1157. Their default value is the empty string (i.e., nothing is hidden or
  1158. focused on). To change the default, set these variables in `.emacs'
  1159. using `setq-default'.
  1160. In addition to the ability to ignore regions that match regular
  1161. expressions, Ediff can be ordered to start skipping over certain
  1162. "uninteresting" difference regions. This is controlled by the following
  1163. variable:
  1164. `ediff-ignore-similar-regions'
  1165. If `t', causes Ediff to skip over "uninteresting" difference
  1166. regions, which are the regions where the variants differ only in
  1167. the amount of the white space and newlines. This feature can be
  1168. toggled on/off interactively, via the command `##'.
  1169. *Please note:* in order for this feature to work, auto-refining of
  1170. difference regions must be on, since otherwise Ediff won't know if there
  1171. are fine differences between regions. On devices where Emacs can
  1172. display faces, auto-refining is a default, but it is not turned on by
  1173. default on text-only terminals. In that case, you must explicitly turn
  1174. auto-refining on (such as, by typing `@').
  1175. *Reassurance:* If many such uninteresting regions appear in a row,
  1176. Ediff may take a long time to skip over them because it has to compute
  1177. fine differences of all intermediate regions. This delay does not
  1178. indicate any problem.
  1179. Finally, Ediff can be told to ignore the case of the letters. This
  1180. behavior can be toggled with `#c' and it is controlled with three
  1181. variables: `ediff-ignore-case-option', `ediff-ignore-case-option3', and
  1182. `ediff-ignore-case'.
  1183. The variable `ediff-ignore-case-option' specifies the option to pass
  1184. to the diff program for comparing two files or buffers. For GNU `diff',
  1185. this option is `"-i"'. The variable `ediff-ignore-case-option3'
  1186. specifies the option to pass to the `diff3' program in order to make it
  1187. case-insensitive. GNU `diff3' does not have such an option, so when
  1188. merging or comparing three files with this program, ignoring the letter
  1189. case is not supported.
  1190. The variable `ediff-ignore-case' controls whether Ediff starts out by
  1191. ignoring letter case or not. It can be set in `.emacs' using
  1192. `setq-default'.
  1193. When case sensitivity is toggled, all difference regions are
  1194. recomputed.
  1195. 
  1196. File: ediff, Node: Highlighting Difference Regions, Next: Narrowing, Prev: Selective Browsing, Up: Customization
  1197. 7.5 Highlighting Difference Regions
  1198. ===================================
  1199. The following variables control the way Ediff highlights difference
  1200. regions:
  1201. `ediff-before-flag-bol'
  1202. `ediff-after-flag-eol'
  1203. `ediff-before-flag-mol'
  1204. `ediff-after-flag-mol'
  1205. These variables hold strings that Ediff uses to mark the beginning
  1206. and the end of the differences found in files A, B, and C on
  1207. devices where Emacs cannot display faces. Ediff uses different
  1208. flags to highlight regions that begin/end at the beginning/end of
  1209. a line or in a middle of a line.
  1210. `ediff-current-diff-face-A'
  1211. `ediff-current-diff-face-B'
  1212. `ediff-current-diff-face-C'
  1213. Ediff uses these faces to highlight current differences on devices
  1214. where Emacs can display faces. These and subsequently described
  1215. faces can be set either in `.emacs' or in `.Xdefaults'. The X
  1216. resource for Ediff is `Ediff', _not_ `emacs'. Please refer to
  1217. Emacs manual for the information on how to set X resources.
  1218. `ediff-fine-diff-face-A'
  1219. `ediff-fine-diff-face-B'
  1220. `ediff-fine-diff-face-C'
  1221. Ediff uses these faces to show the fine differences between the
  1222. current differences regions in buffers A, B, and C, respectively.
  1223. `ediff-even-diff-face-A'
  1224. `ediff-even-diff-face-B'
  1225. `ediff-even-diff-face-C'
  1226. `ediff-odd-diff-face-A'
  1227. `ediff-odd-diff-face-B'
  1228. `ediff-odd-diff-face-C'
  1229. Non-current difference regions are displayed using these
  1230. alternating faces. The odd and the even faces are actually
  1231. identical on monochrome displays, because without colors options
  1232. are limited. So, Ediff uses italics to highlight non-current
  1233. differences.
  1234. `ediff-force-faces'
  1235. Ediff generally can detect when Emacs is running on a device where
  1236. it can use highlighting with faces. However, if it fails to
  1237. determine that faces can be used, the user can set this variable
  1238. to `t' to make sure that Ediff uses faces to highlight differences.
  1239. `ediff-highlight-all-diffs'
  1240. Indicates whether--on a windowing display--Ediff should highlight
  1241. differences using inserted strings (as on text-only terminals) or
  1242. using colors and highlighting. Normally, Ediff highlights all
  1243. differences, but the selected difference is highlighted more
  1244. visibly. One can cycle through various modes of highlighting by
  1245. typing `h'. By default, Ediff starts in the mode where all
  1246. difference regions are highlighted. If you prefer to start in the
  1247. mode where unselected differences are not highlighted, you should
  1248. set `ediff-highlight-all-diffs' to `nil'. Type `h' to restore
  1249. highlighting for all differences.
  1250. Ediff lets you switch between the two modes of highlighting. That
  1251. is, you can switch interactively from highlighting using faces to
  1252. highlighting using string flags, and back. Of course, switching
  1253. has effect only under a windowing system. On a text-only terminal
  1254. or in an xterm window, the only available option is highlighting
  1255. with strings.
  1256. If you want to change the default settings for `ediff-force-faces' and
  1257. `ediff-highlight-all-diffs', you must do it *before* Ediff is loaded.
  1258. You can also change the defaults for the faces used to highlight the
  1259. difference regions. There are two ways to do this. The simplest and
  1260. the preferred way is to use the customization widget accessible from the
  1261. menubar. Ediff's customization group is located under "Tools", which in
  1262. turn is under "Programming". The faces that are used to highlight
  1263. difference regions are located in the "Highlighting" subgroup of the
  1264. Ediff customization group.
  1265. The second, much more arcane, method to change default faces is to
  1266. include some Lisp code in `~/.emacs'. For instance,
  1267. (setq ediff-current-diff-face-A
  1268. (copy-face 'bold-italic 'ediff-current-diff-face-A))
  1269. would use the pre-defined face `bold-italic' to highlight the current
  1270. difference region in buffer A (this face is not a good choice, by the
  1271. way).
  1272. If you are unhappy with just _some_ of the aspects of the default
  1273. faces, you can modify them when Ediff is being loaded using
  1274. `ediff-load-hook'. For instance:
  1275. (add-hook 'ediff-load-hook
  1276. (lambda ()
  1277. (set-face-foreground
  1278. ediff-current-diff-face-B "blue")
  1279. (set-face-background
  1280. ediff-current-diff-face-B "red")
  1281. (make-face-italic
  1282. ediff-current-diff-face-B)))
  1283. *Please note:* to set Ediff's faces, use only `copy-face' or
  1284. `set/make-face-...' as shown above. Emacs's low-level face-manipulation
  1285. functions should be avoided.
  1286. 
  1287. File: ediff, Node: Narrowing, Next: Refinement of Difference Regions, Prev: Highlighting Difference Regions, Up: Customization
  1288. 7.6 Narrowing
  1289. =============
  1290. If buffers being compared are narrowed at the time of invocation of
  1291. Ediff, `ediff-buffers' will preserve the narrowing range. However, if
  1292. `ediff-files' is invoked on the files visited by these buffers, that
  1293. would widen the buffers, since this command is defined to compare the
  1294. entire files.
  1295. Calling `ediff-regions-linewise' or `ediff-windows-linewise', or the
  1296. corresponding `-wordwise' commands, narrows the variants to the
  1297. particular regions being compared. The original accessible ranges are
  1298. restored when you quit Ediff. During the command, you can toggle this
  1299. narrowing on and off with the `%' command.
  1300. These two variables control this narrowing behavior:
  1301. `ediff-start-narrowed'
  1302. If `t', Ediff narrows the display to the appropriate range when it
  1303. is invoked with an `ediff-regions...' or `ediff-windows...'
  1304. command. If `nil', these commands do not automatically narrow,
  1305. but you can still toggle narrowing on and off by typing `%'.
  1306. `ediff-quit-widened'
  1307. Controls whether on quitting Ediff should restore the accessible
  1308. range that existed before the current invocation.
  1309. 
  1310. File: ediff, Node: Refinement of Difference Regions, Next: Patch and Diff Programs, Prev: Narrowing, Up: Customization
  1311. 7.7 Refinement of Difference Regions
  1312. ====================================
  1313. Ediff has variables to control the way fine differences are
  1314. highlighted. This feature gives you control over the process of
  1315. refinement. Note that refinement ignores spaces, tabs, and newlines.
  1316. `ediff-auto-refine'
  1317. This variable controls whether fine differences within regions are
  1318. highlighted automatically ("auto-refining"). The default is yes
  1319. (`on').
  1320. On a slow machine, automatic refinement may be painful. In that
  1321. case, you can turn auto-refining on or off interactively by typing
  1322. `@'. You can also turn off display of refining that has already
  1323. been done.
  1324. When auto-refining is off, fine differences are shown only for
  1325. regions for which these differences have been computed and saved
  1326. before. If auto-refining and display of refining are both turned
  1327. off, fine differences are not shown at all.
  1328. Typing `*' computes and displays fine differences for the current
  1329. difference region, regardless of whether auto-refining is turned
  1330. on.
  1331. `ediff-auto-refine-limit'
  1332. If auto-refining is on, this variable limits the size of the
  1333. regions to be auto-refined. This guards against the possible
  1334. slowdown that may be caused by extraordinary large difference
  1335. regions.
  1336. You can always refine the current region by typing `*'.
  1337. `ediff-forward-word-function'
  1338. This variable controls how fine differences are computed. The
  1339. value must be a Lisp function that determines how the current
  1340. difference region should be split into words.
  1341. Fine differences are computed by first splitting the current
  1342. difference region into words and then passing the result to
  1343. `ediff-diff-program'. For the default forward word function
  1344. (which is `ediff-forward-word'), a word is a string consisting of
  1345. letters, `-', or `_'; a string of punctuation symbols; a string of
  1346. digits, or a string consisting of symbols that are neither space,
  1347. nor a letter.
  1348. This default behavior is controlled by four variables:
  1349. `ediff-word-1', ..., `ediff-word-4'. See the on-line
  1350. documentation for these variables and for the function
  1351. `ediff-forward-word' for an explanation of how to modify these
  1352. variables.
  1353. Sometimes, when a region has too many differences between the
  1354. variants, highlighting of fine differences is inconvenient, especially
  1355. on color displays. If that is the case, type `*' with a negative
  1356. prefix argument. This unhighlights fine differences for the current
  1357. region.
  1358. To unhighlight fine differences in all difference regions, use the
  1359. command `@'. Repeated typing of this key cycles through three
  1360. different states: auto-refining, no-auto-refining, and no-highlighting
  1361. of fine differences.
  1362. 
  1363. File: ediff, Node: Patch and Diff Programs, Next: Merging and diff3, Prev: Refinement of Difference Regions, Up: Customization
  1364. 7.8 Patch and Diff Programs
  1365. ===========================
  1366. This section describes variables that specify the programs to be used
  1367. for applying patches and for computing the main difference regions (not
  1368. the fine difference regions):
  1369. `ediff-diff-program'
  1370. `ediff-diff3-program'
  1371. These variables specify the programs to use to produce differences
  1372. and do patching.
  1373. `ediff-diff-options'
  1374. `ediff-diff3-options'
  1375. These variables specify the options to pass to the above utilities.
  1376. In `ediff-diff-options', it may be useful to specify options such
  1377. as `-w' that ignore certain kinds of changes. However, Ediff does
  1378. not let you use the option `-c', as it doesn't recognize this
  1379. format yet.
  1380. `ediff-coding-system-for-read'
  1381. This variable specifies the coding system to use when reading the
  1382. output that the programs `diff3' and `diff' send to Emacs. The
  1383. default is `raw-text', and this should work fine in Unix and in
  1384. most cases under Windows NT/95/98/2000. There are `diff' programs
  1385. for which the default option doesn't work under Windows. In such
  1386. cases, `raw-text-dos' might work. If not, you will have to
  1387. experiment with other coding systems or use GNU diff.
  1388. `ediff-patch-program'
  1389. The program to use to apply patches. Since there are certain
  1390. incompatibilities between the different versions of the patch
  1391. program, the best way to stay out of trouble is to use a
  1392. GNU-compatible version. Otherwise, you may have to tune the
  1393. values of the variables `ediff-patch-options',
  1394. `ediff-backup-specs', and `ediff-backup-extension' as described
  1395. below.
  1396. `ediff-patch-options'
  1397. Options to pass to `ediff-patch-program'.
  1398. Note: the `-b' and `-z' options should be specified in
  1399. `ediff-backup-specs', not in `ediff-patch-options'.
  1400. It is recommended to pass the `-f' option to the patch program, so
  1401. it won't ask questions. However, some implementations don't
  1402. accept this option, in which case the default value of this
  1403. variable should be changed.
  1404. `ediff-backup-extension'
  1405. Backup extension used by the patch program. Must be specified,
  1406. even if `ediff-backup-specs' is given.
  1407. `ediff-backup-specs'
  1408. Backup directives to pass to the patch program. Ediff requires
  1409. that the old version of the file (before applying the patch) is
  1410. saved in a file named `the-patch-file.extension'. Usually
  1411. `extension' is `.orig', but this can be changed by the user, and
  1412. may also be system-dependent. Therefore, Ediff needs to know the
  1413. backup extension used by the patch program.
  1414. Some versions of the patch program let the user specify `-b
  1415. backup-extension'. Other versions only permit `-b', which
  1416. (usually) assumes the extension `.orig'. Yet others force you to
  1417. use `-z<backup-extension>'.
  1418. Note that both `ediff-backup-extension' and `ediff-backup-specs'
  1419. must be properly set. If your patch program takes the option
  1420. `-b', but not `-b extension', the variable
  1421. `ediff-backup-extension' must still be set so Ediff will know
  1422. which extension to use.
  1423. `ediff-custom-diff-program'
  1424. `ediff-custom-diff-options'
  1425. Because Ediff limits the options you may want to pass to the `diff'
  1426. program, it partially makes up for this drawback by letting you
  1427. save the output from `diff' in your preferred format, which is
  1428. specified via the above two variables.
  1429. The output generated by `ediff-custom-diff-program' (which doesn't
  1430. even have to be a standard-style `diff'!) is not used by Ediff.
  1431. It is provided exclusively so that you can refer to it later, send
  1432. it over email, etc. For instance, after reviewing the
  1433. differences, you may want to send context differences to a
  1434. colleague. Since Ediff ignores the `-c' option in
  1435. `ediff-diff-program', you would have to run `diff -c' separately
  1436. just to produce the list of differences. Fortunately,
  1437. `ediff-custom-diff-program' and `ediff-custom-diff-options'
  1438. eliminate this nuisance by keeping a copy of a difference list in
  1439. the desired format in a buffer that can be displayed via the
  1440. command `D'.
  1441. `ediff-patch-default-directory'
  1442. Specifies the default directory to look for patches.
  1443. *Warning:* Ediff does not support the output format of VMS `diff'.
  1444. Instead, make sure you are using some implementation of POSIX `diff',
  1445. such as `gnudiff'.
  1446. 
  1447. File: ediff, Node: Merging and diff3, Next: Support for Version Control, Prev: Patch and Diff Programs, Up: Customization
  1448. 7.9 Merging and diff3
  1449. =====================
  1450. Ediff supports three-way comparison via the functions `ediff-files3' and
  1451. `ediff-buffers3'. The interface is the same as for two-way comparison.
  1452. In three-way comparison and merging, Ediff reports if any two difference
  1453. regions are identical. For instance, if the current region in buffer A
  1454. is the same as the region in buffer C, then the mode line of buffer A
  1455. will display `[=diff(C)]' and the mode line of buffer C will display
  1456. `[=diff(A)]'.
  1457. Merging is done according to the following algorithm.
  1458. If a difference region in one of the buffers, say B, differs from
  1459. the ancestor file while the region in the other buffer, A, doesn't,
  1460. then the merge buffer, C, gets B's region. Similarly when buffer A's
  1461. region differs from the ancestor and B's doesn't, A's region is used.
  1462. If both regions in buffers A and B differ from the ancestor file,
  1463. Ediff chooses the region according to the value of the variable
  1464. `ediff-default-variant'. If its value is `default-A' then A's region
  1465. is chosen. If it is `default-B' then B's region is chosen. If it is
  1466. `combined' then the region in buffer C will look like this:
  1467. <<<<<<< variant A
  1468. the difference region from buffer A
  1469. >>>>>>> variant B
  1470. the difference region from buffer B
  1471. ####### Ancestor
  1472. the difference region from the ancestor buffer, if available
  1473. ======= end
  1474. The above is the default template for the combined region. The user
  1475. can customize this template using the variable
  1476. `ediff-combination-pattern'.
  1477. The variable `ediff-combination-pattern' specifies the template that
  1478. determines how the combined merged region looks like. The template is
  1479. represented as a list of the form `(STRING1 Symbol1 STRING2 Symbol2
  1480. STRING3 Symbol3 STRING4)'. The symbols here must be atoms of the form
  1481. `A', `B', or `Ancestor'. They determine the order in which the
  1482. corresponding difference regions (from buffers A, B, and the ancestor
  1483. buffer) are displayed in the merged region of buffer C. The strings in
  1484. the template determine the text that separates the aforesaid regions.
  1485. The default template is
  1486. ("<<<<<<< variant A" A ">>>>>>> variant B" B
  1487. "####### Ancestor" Ancestor "======= end")
  1488. (this is one long line) and the corresponding combined region is shown
  1489. above. The order in which the regions are shown (and the separator
  1490. strings) can be changed by changing the above template. It is even
  1491. possible to add or delete region specifiers in this template (although
  1492. the only possibly useful such modification seems to be the deletion of
  1493. the ancestor).
  1494. In addition to the state of the difference, Ediff displays the state
  1495. of the merge for each region. If a difference came from buffer A by
  1496. default (because both regions A and B were different from the ancestor
  1497. and `ediff-default-variant' was set to `default-A') then `[=diff(A)
  1498. default-A]' is displayed in the mode line. If the difference in buffer
  1499. C came, say, from buffer B because the difference region in that buffer
  1500. differs from the ancestor, but the region in buffer A does not (if
  1501. merging with an ancestor) then `[=diff(B) prefer-B]' is displayed. The
  1502. indicators default-A/B and prefer-A/B are inspired by Emerge and have
  1503. the same meaning.
  1504. Another indicator of the state of merge is `combined'. It appears
  1505. with any difference region in buffer C that was obtained by combining
  1506. the difference regions in buffers A and B as explained above.
  1507. In addition to the state of merge and state of difference
  1508. indicators, while merging with an ancestor file or buffer, Ediff
  1509. informs the user when the current difference region in the (normally
  1510. invisible) ancestor buffer is empty via the _AncestorEmpty_ indicator.
  1511. This helps determine if the changes made to the original in variants A
  1512. and B represent pure insertion or deletion of text: if the mode line
  1513. shows _AncestorEmpty_ and the corresponding region in buffers A or B is
  1514. not empty, this means that new text was inserted. If this indicator is
  1515. not present and the difference regions in buffers A or B are non-empty,
  1516. this means that text was modified. Otherwise, the original text was
  1517. deleted.
  1518. Although the ancestor buffer is normally invisible, Ediff maintains
  1519. difference regions there and advances the current difference region
  1520. accordingly. All highlighting of difference regions is provided in the
  1521. ancestor buffer, except for the fine differences. Therefore, if
  1522. desired, the user can put the ancestor buffer in a separate frame and
  1523. watch it there. However, on a TTY, only one frame can be visible at
  1524. any given time, and Ediff doesn't support any single-frame window
  1525. configuration where all buffers, including the ancestor buffer, would
  1526. be visible. However, the ancestor buffer can be displayed by typing
  1527. `/' to the control window. (Type `C-l' to hide it again.)
  1528. Note that the state-of-difference indicators `=diff(A)' and
  1529. `=diff(B)' above are not redundant, even in the presence of a
  1530. state-of-merge indicator. In fact, the two serve different purposes.
  1531. For instance, if the mode line displays `=diff(B) prefer(B)' and you
  1532. copy a difference region from buffer A to buffer C then `=diff(B)' will
  1533. change to `diff-A' and the mode line will display `=diff(A) prefer-B'.
  1534. This indicates that the difference region in buffer C is identical to
  1535. that in buffer A, but originally buffer C's region came from buffer B.
  1536. This is useful to know because you can recover the original difference
  1537. region in buffer C by typing `r'.
  1538. Ediff never changes the state-of-merge indicator, except in response
  1539. to the `!' command (see below), in which case the indicator is lost.
  1540. On the other hand, the state-of-difference indicator is changed
  1541. automatically by the copying/recovery commands, `a', `b', `r', `+'.
  1542. The `!' command loses the information about origins of the regions
  1543. in the merge buffer (default-A, prefer-B, or combined). This is because
  1544. recomputing differences in this case means running `diff3' on buffers
  1545. A, B, and the merge buffer, not on the ancestor buffer. (It makes no
  1546. sense to recompute differences using the ancestor file, since in the
  1547. merging mode Ediff assumes that you have not edited buffers A and B,
  1548. but that you may have edited buffer C, and these changes are to be
  1549. preserved.) Since some difference regions may disappear as a result of
  1550. editing buffer C and others may arise, there is generally no simple way
  1551. to tell where the various regions in the merge buffer came from.
  1552. In three-way comparison, Ediff tries to disregard regions that
  1553. consist entirely of white space. For instance, if, say, the current
  1554. region in buffer A consists of the white space only (or if it is
  1555. empty), Ediff will not take it into account for the purpose of
  1556. computing fine differences. The result is that Ediff can provide a
  1557. better visual information regarding the actual fine differences in the
  1558. non-white regions in buffers B and C. Moreover, if the regions in
  1559. buffers B and C differ in the white space only, then a message to this
  1560. effect will be displayed.
  1561. In the merge mode, the share of the split between window C (the
  1562. window displaying the merge-buffer) and the windows displaying buffers
  1563. A and B is controlled by the variable `ediff-merge-window-share'. Its
  1564. default value is 0.5. To make the merge-buffer window smaller, reduce
  1565. this amount.
  1566. We don't recommend increasing the size of the merge-window to more
  1567. than half the frame (i.e., to increase the value of
  1568. `ediff-merge-window-share') to more than 0.5, since it would be hard to
  1569. see the contents of buffers A and B.
  1570. You can temporarily shrink the merge window to just one line by
  1571. typing `s'. This change is temporary, until Ediff finds a reason to
  1572. redraw the screen. Typing `s' again restores the original window size.
  1573. With a positive prefix argument, the `s' command will make the merge
  1574. window slightly taller. This change is persistent. With ``-'' or with
  1575. a negative prefix argument, the command `s' makes the merge window
  1576. slightly shorter. This change also persistent.
  1577. Ediff lets you automatically ignore the regions where only one of the
  1578. buffers A and B disagrees with the ancestor. To do this, set the
  1579. variable `ediff-show-clashes-only' to non-`nil'.
  1580. You can toggle this feature interactively by typing `$$'.
  1581. Note that this variable affects only the show next/previous
  1582. difference commands. You can still jump directly to any difference
  1583. region directly using the command `j' (with a prefix argument
  1584. specifying the difference number).
  1585. The variable `ediff-autostore-merges' controls what happens to the
  1586. merge buffer when Ediff quits. If the value is `nil', nothing is done
  1587. to the merge buffer--it will be the user's responsibility to save it.
  1588. If the value is `t', the user will be asked where to save the buffer
  1589. and whether to delete it afterwards. It the value is neither `nil' nor
  1590. `t', the merge buffer is saved _only_ if this merge session was invoked
  1591. from a group of related Ediff session, such as those that result from
  1592. `ediff-merge-directories', `ediff-merge-directory-revisions', etc.
  1593. *Note Session Groups::. This behavior is implemented in the function
  1594. `ediff-maybe-save-and-delete-merge', which is a hook in
  1595. `ediff-quit-merge-hook'. The user can supply a different hook, if
  1596. necessary.
  1597. The variable `ediff-autostore-merges' is buffer-local, so it can be
  1598. set in a per-buffer manner. Therefore, use `setq-default' to globally
  1599. change this variable.
  1600. When merge buffers are saved automatically as directed by
  1601. `ediff-autostore-merges', Ediff attaches a prefix to each file, as
  1602. specified by the variable `ediff-merge-filename-prefix'. The default is
  1603. `merge_', but this can be changed by the user.
  1604. 
  1605. File: ediff, Node: Support for Version Control, Next: Customizing the Mode Line, Prev: Merging and diff3, Up: Customization
  1606. 7.10 Support for Version Control
  1607. ================================
  1608. Ediff supports version control and lets you compare versions of files
  1609. visited by Emacs buffers via the function `ediff-revision'. This
  1610. feature is controlled by the following variables:
  1611. `ediff-version-control-package'
  1612. A symbol. The default is `vc'.
  1613. If you are like most Emacs users, Ediff will use VC as the version
  1614. control package. This is the standard Emacs interface to RCS,
  1615. CVS, and SCCS.
  1616. However, if your needs are better served by other interfaces, you
  1617. will have to tell Ediff which version control package you are
  1618. using, e.g.,
  1619. (setq ediff-version-control-package 'rcs)
  1620. Apart from the standard `vc.el', Ediff supports three other
  1621. interfaces to version control: `rcs.el', `pcl-cvs.el' (recently
  1622. renamed pcvs.el), and `generic-sc.el'. The package `rcs.el' is
  1623. written by Sebastian Kremer <sk@thp.Uni-Koeln.DE> and is available
  1624. as
  1625. `ftp.cs.buffalo.edu:pub/Emacs/rcs.tar.Z'
  1626. `ftp.uni-koeln.de:/pub/gnu/emacs/rcs.tar.Z'
  1627. Ediff's interface to the above packages allows the user to compare
  1628. the versions of the current buffer or to merge them (with or without an
  1629. ancestor-version). These operations can also be performed on
  1630. directories containing files under version control.
  1631. In case of `pcl-cvs.el', Ediff can also be invoked via the function
  1632. `run-ediff-from-cvs-buffer'--see the documentation string for this
  1633. function.
  1634. 
  1635. File: ediff, Node: Customizing the Mode Line, Next: Miscellaneous, Prev: Support for Version Control, Up: Customization
  1636. 7.11 Customizing the Mode Line
  1637. ==============================
  1638. When Ediff is running, the mode line of `Ediff Control Panel' buffer
  1639. shows the current difference number and the total number of difference
  1640. regions in the two files.
  1641. The mode line of the buffers being compared displays the type of the
  1642. buffer (`A:', `B:', or `C:') and (usually) the file name. Ediff tries
  1643. to be intelligent in choosing the mode line buffer identification. In
  1644. particular, it works well with the `uniquify.el' and `mode-line.el'
  1645. packages (which improve on the default way in which Emacs displays
  1646. buffer identification). If you don't like the way Ediff changes the
  1647. mode line, you can use `ediff-prepare-buffer-hook' to modify the mode
  1648. line.
  1649. 
  1650. File: ediff, Node: Miscellaneous, Next: Notes on Heavy-duty Customization, Prev: Customizing the Mode Line, Up: Customization
  1651. 7.12 Miscellaneous
  1652. ==================
  1653. Here are a few other variables for customizing Ediff:
  1654. `ediff-split-window-function'
  1655. Controls the way you want the window be split between file-A and
  1656. file-B (and file-C, if applicable). It defaults to the vertical
  1657. split (`split-window-vertically', but you can set it to
  1658. `split-window-horizontally', if you so wish. Ediff also lets you
  1659. switch from vertical to horizontal split and back interactively.
  1660. Note that if Ediff detects that all the buffers it compares are
  1661. displayed in separate frames, it assumes that the user wants them
  1662. to be so displayed and stops splitting windows. Instead, it
  1663. arranges for each buffer to be displayed in a separate frame. You
  1664. can switch to the one-frame mode by hiding one of the buffers
  1665. A/B/C.
  1666. You can also swap the windows where buffers are displayed by typing
  1667. `~'.
  1668. `ediff-merge-split-window-function'
  1669. Controls how windows are split between buffers A and B in the
  1670. merge mode. This variable is like `ediff-split-window-function',
  1671. but it defaults to `split-window-horizontally' instead of
  1672. `split-window-vertically'.
  1673. `ediff-make-wide-display-function'
  1674. The value is a function to be called to widen the frame for
  1675. displaying the Ediff buffers. See the on-line documentation for
  1676. `ediff-make-wide-display-function' for details. It is also
  1677. recommended to look into the source of the default function
  1678. `ediff-make-wide-display'.
  1679. You can toggle wide/regular display by typing `m'. In the wide
  1680. display mode, buffers A, B (and C, when applicable) are displayed
  1681. in a single frame that is as wide as the entire workstation
  1682. screen. This is useful when files are compared side-by-side. By
  1683. default, the display is widened without changing its height.
  1684. `ediff-use-last-dir'
  1685. Controls the way Ediff presents the default directory when it
  1686. prompts the user for files to compare. If `nil', Ediff uses the
  1687. default directory of the current buffer when it prompts the user
  1688. for file names. Otherwise, it will use the directories it had
  1689. previously used for files A, B, or C, respectively.
  1690. `ediff-no-emacs-help-in-control-buffer'
  1691. If `t', makes `C-h' behave like the <DEL> key, i.e., it will move
  1692. you back to the previous difference rather than invoking help.
  1693. This is useful when, in an xterm window or a text-only terminal,
  1694. the Backspace key is bound to `C-h' and is positioned more
  1695. conveniently than the <DEL> key.
  1696. `ediff-toggle-read-only-function'
  1697. This variable's value is a function that Ediff uses to toggle the
  1698. read-only property in its buffers.
  1699. The default function that Ediff uses simply toggles the read-only
  1700. property, unless the file is under version control. For a
  1701. checked-in file under version control, Ediff first tries to check
  1702. the file out.
  1703. `ediff-make-buffers-readonly-at-startup nil'
  1704. If `t', all variant buffers are made read-only at Ediff startup.
  1705. `ediff-keep-variants'
  1706. The default is `t', meaning that the buffers being compared or
  1707. merged will be preserved when Ediff quits. Setting this to `nil'
  1708. causes Ediff to offer the user a chance to delete these buffers
  1709. (if they are not modified). Supplying a prefix argument to the
  1710. quit command (`q') temporarily reverses the meaning of this
  1711. variable. This is convenient when the user prefers one of the
  1712. behaviors most of the time, but occasionally needs the other
  1713. behavior.
  1714. However, Ediff temporarily resets this variable to `t' if it is
  1715. invoked via one of the "buffer" jobs, such as `ediff-buffers'.
  1716. This is because it is all too easy to lose a day's work otherwise.
  1717. Besides, in a "buffer" job, the variant buffers have already been
  1718. loaded prior to starting Ediff, so Ediff just preserves status quo
  1719. here.
  1720. Using `ediff-cleanup-hook', one can make Ediff delete the variants
  1721. unconditionally (e.g., by making `ediff-janitor' into one of these
  1722. hooks).
  1723. `ediff-keep-tmp-versions'
  1724. Default is `nil'. If `t', the versions of the files being compared
  1725. or merged using operations such as `ediff-revision' or
  1726. `ediff-merge-revisions' are not deleted on exit. The normal action
  1727. is to clean up and delete these version files.
  1728. `ediff-grab-mouse'
  1729. Default is `t'. Normally, Ediff grabs mouse and puts it in its
  1730. control frame. This is useful since the user can be sure that
  1731. when he needs to type an Ediff command the focus will be in an
  1732. appropriate Ediff's frame. However, some users prefer to move the
  1733. mouse by themselves. The above variable, if set to `maybe', will
  1734. prevent Ediff from grabbing the mouse in many situations, usually
  1735. after commands that may take more time than usual. In other
  1736. situation, Ediff will continue grabbing the mouse and putting it
  1737. where it believes is appropriate. If the value is `nil', then
  1738. mouse is entirely user's responsibility. Try different settings
  1739. and see which one is for you.
  1740. 
  1741. File: ediff, Node: Notes on Heavy-duty Customization, Prev: Miscellaneous, Up: Customization
  1742. 7.13 Notes on Heavy-duty Customization
  1743. ======================================
  1744. Some users need to customize Ediff in rather sophisticated ways, which
  1745. requires different defaults for different kinds of files (e.g., SGML,
  1746. etc.). Ediff supports this kind of customization in several ways.
  1747. First, most customization variables are buffer-local. Those that
  1748. aren't are usually accessible from within Ediff Control Panel, so one
  1749. can make them local to the panel by calling make-local-variable from
  1750. within `ediff-startup-hook'.
  1751. Second, the function `ediff-setup' accepts an optional sixth
  1752. argument which has the form `((VAR-NAME-1 . VAL-1) (VAR-NAME-2 . VAL-2)
  1753. ...)'. The function `ediff-setup' sets the variables in the list to
  1754. the respective values, locally in the Ediff control buffer. This is an
  1755. easy way to throw in custom variables (which usually should be
  1756. buffer-local) that can then be tested in various hooks.
  1757. Make sure the variable `ediff-job-name' and `ediff-word-mode' are set
  1758. properly in this case, as some things in Ediff depend on this.
  1759. Finally, if you want custom-tailored help messages, you can set the
  1760. variables `ediff-brief-help-message-function' and
  1761. `ediff-long-help-message-function' to functions that return help
  1762. strings.
  1763. When customizing Ediff, some other variables are useful, although
  1764. they are not user-definable. They are local to the Ediff control
  1765. buffer, so this buffer must be current when you access these variables.
  1766. The control buffer is accessible via the variable
  1767. `ediff-control-buffer', which is also local to that buffer. It is
  1768. usually used for checking if the current buffer is also the control
  1769. buffer.
  1770. Other variables of interest are:
  1771. `ediff-buffer-A'
  1772. The first of the data buffers being compared.
  1773. `ediff-buffer-B'
  1774. The second of the data buffers being compared.
  1775. `ediff-buffer-C'
  1776. In three-way comparisons, this is the third buffer being compared.
  1777. In merging, this is the merge buffer. In two-way comparison, this
  1778. variable is `nil'.
  1779. `ediff-window-A'
  1780. The window displaying buffer A. If buffer A is not visible, this
  1781. variable is `nil' or it may be a dead window.
  1782. `ediff-window-B'
  1783. The window displaying buffer B.
  1784. `ediff-window-C'
  1785. The window displaying buffer C, if any.
  1786. `ediff-control-frame'
  1787. A dedicated frame displaying the control buffer, if it exists. It
  1788. is non-`nil' only if Ediff uses the multiframe display, i.e., when
  1789. the control buffer is in its own frame.
  1790. 
  1791. File: ediff, Node: Credits, Next: GNU Free Documentation License, Prev: Customization, Up: Top
  1792. 8 Credits
  1793. *********
  1794. Ediff was written by Michael Kifer <kifer@cs.stonybrook.edu>. It was
  1795. inspired by emerge.el written by Dale R. Worley <drw@math.mit.edu>. An
  1796. idea due to Boris Goldowsky <boris@cs.rochester.edu> made it possible
  1797. to highlight fine differences in Ediff buffers. Alastair Burt
  1798. <burt@dfki.uni-kl.de> ported Ediff to XEmacs, Eric Freudenthal
  1799. <freudent@jan.ultra.nyu.edu> made it work with VC, Marc Paquette
  1800. <marcpa@cam.org> wrote the toolbar support package for Ediff, and
  1801. Hrvoje Niksic <hniksic@xemacs.org> adapted it to the Emacs
  1802. customization package.
  1803. Many people provided help with bug reports, feature suggestions, and
  1804. advice. Without them, Ediff would not be nearly as useful as it is
  1805. today. Here is a hopefully full list of contributors:
  1806. Adrian Aichner (aichner at ecf.teradyne.com),
  1807. Drew Adams (drew.adams at oracle.com),
  1808. Steve Baur (steve at xemacs.org),
  1809. Neal Becker (neal at ctd.comsat.com),
  1810. E. Jay Berkenbilt (ejb at ql.org),
  1811. Lennart Borgman (ennart.borgman at gmail.com)
  1812. Alastair Burt (burt at dfki.uni-kl.de),
  1813. Paul Bibilo (peb at delcam.co.uk),
  1814. Kevin Broadey (KevinB at bartley.demon.co.uk),
  1815. Harald Boegeholz (hwb at machnix.mathematik.uni-stuttgart.de),
  1816. Bradley A. Bosch (brad at lachman.com),
  1817. Michael D. Carney (carney at ltx-tr.com),
  1818. Jin S. Choi (jin at atype.com),
  1819. Scott Cummings (cummings at adc.com),
  1820. Albert Dvornik (bert at mit.edu),
  1821. Eric Eide (eeide at asylum.cs.utah.edu),
  1822. Paul Eggert (eggert at twinsun.com),
  1823. Urban Engberg (ue at cci.dk),
  1824. Kevin Esler (esler at ch.hp.com),
  1825. Robert Estes (estes at ece.ucdavis.edu),
  1826. Jay Finger (jayf at microsoft.com),
  1827. Xavier Fornari (xavier at europe.cma.fr),
  1828. Eric Freudenthal (freudent at jan.ultra.nyu.edu),
  1829. Job Ganzevoort (Job.Ganzevoort at cwi.nl),
  1830. Felix Heinrich Gatzemeier (felix.g at tzemeier.info),
  1831. Boris Goldowsky (boris at cs.rochester.edu),
  1832. Allan Gottlieb (gottlieb at allan.ultra.nyu.edu),
  1833. Aaron Gross (aaron at bfr.co.il),
  1834. Thorbjoern Hansen (thorbjoern.hansen at mchp.siemens.de),
  1835. Marcus Harnisch (marcus_harnisch at mint-tech.com),
  1836. Steven E. Harris (seh at panix.com),
  1837. Aaron S. Hawley (Aaron.Hawley at uvm.edu),
  1838. Xiaoli Huang (hxl at epic.com),
  1839. Andreas Jaeger (aj at suse.de),
  1840. Lars Magne Ingebrigtsen (larsi at ifi.uio.no),
  1841. Larry Gouge (larry at itginc.com),
  1842. Karl Heuer (kwzh at gnu.org),
  1843. (irvine at lks.csi.com),
  1844. (jaffe at chipmunk.cita.utoronto.ca),
  1845. David Karr (dkarr at nmo.gtegsc.com),
  1846. Norbert Kiesel (norbert at i3.informatik.rwth-aachen.de),
  1847. Steffen Kilb (skilb at gmx.net),
  1848. Leigh L Klotz (klotz at adoc.xerox.com),
  1849. Fritz Knabe (Fritz.Knabe at ecrc.de),
  1850. Heinz Knutzen (hk at informatik.uni-kiel.d400.de),
  1851. Andrew Koenig (ark at research.att.com),
  1852. Hannu Koivisto (azure at iki.fi),
  1853. Ken Laprade (laprade at dw3f.ess.harris.com),
  1854. Will C Lauer (wcl at cadre.com),
  1855. Richard Levitte (levitte at e.kth.se),
  1856. Mike Long (mike.long at analog.com),
  1857. Dave Love (d.love at dl.ac.uk),
  1858. Martin Maechler (maechler at stat.math.ethz.ch),
  1859. Simon Marshall (simon at gnu.org),
  1860. Paul C. Meuse (pmeuse at delcomsys.com),
  1861. Richard Mlynarik (mly at adoc.xerox.com),
  1862. Stefan Monnier (monnier at cs.yale.edu),
  1863. Chris Murphy (murphycm at sun.aston.ac.uk),
  1864. Erik Naggum (erik at naggum.no),
  1865. Eyvind Ness (Eyvind.Ness at hrp.no),
  1866. Ray Nickson (nickson at cs.uq.oz.au),
  1867. Dan Nicolaescu (dann at ics.uci.edu),
  1868. David Petchey (petchey_david at jpmorgan.com),
  1869. Benjamin Pierce (benjamin.pierce at cl.cam.ac.uk),
  1870. Francois Pinard (pinard at iro.umontreal.ca),
  1871. Tibor Polgar (tlp00 at spg.amdahl.com),
  1872. David Prince (dave0d at fegs.co.uk),
  1873. Paul Raines (raines at slac.stanford.edu),
  1874. Stefan Reicher (xsteve at riic.at),
  1875. Charles Rich (rich at merl.com),
  1876. Bill Richter (richter at math.nwu.edu),
  1877. C.S. Roberson (roberson at aur.alcatel.com),
  1878. Kevin Rodgers (kevin.rodgers at ihs.com),
  1879. Sandy Rutherford (sandy at ibm550.sissa.it),
  1880. Heribert Schuetz (schuetz at ecrc.de),
  1881. Andy Scott (ascott at pcocd2.intel.com),
  1882. Axel Seibert (axel at tumbolia.ppp.informatik.uni-muenchen.de),
  1883. Vin Shelton (acs at xemacs.org),
  1884. Scott O. Sherman (Scott.Sherman at mci.com),
  1885. Nikolaj Schumacher (n_schumacher at web.de),
  1886. Richard Stallman (rms at gnu.org),
  1887. Richard Stanton (stanton at haas.berkeley.edu),
  1888. Sam Steingold (sds at goems.com),
  1889. Ake Stenhoff (etxaksf at aom.ericsson.se),
  1890. Stig (stig at hackvan.com),
  1891. Peter Stout (Peter_Stout at cs.cmu.edu),
  1892. Chuck Thompson (cthomp at cs.uiuc.edu),
  1893. Ray Tomlinson (tomlinso at bbn.com),
  1894. Raymond Toy (toy at rtp.ericsson.se),
  1895. Stephen J. Turnbull (stephen at xemacs.org),
  1896. Jan Vroonhof (vroonhof at math.ethz.ch),
  1897. Colin Walters (walters at cis.ohio-state.edu),
  1898. Philippe Waroquiers (philippe.waroquiers at eurocontrol.be),
  1899. Klaus Weber (gizmo at zork.north.de),
  1900. Ben Wing (ben at xemacs.org),
  1901. Tom Wurgler (twurgler at goodyear.com),
  1902. Steve Youngs (youngs at xemacs.org),
  1903. Ilya Zakharevich (ilya at math.ohio-state.edu),
  1904. Eli Zaretskii (eliz at is.elta.co.il)
  1905. 
  1906. File: ediff, Node: GNU Free Documentation License, Next: Index, Prev: Credits, Up: Top
  1907. Appendix A GNU Free Documentation License
  1908. *****************************************
  1909. Version 1.3, 3 November 2008
  1910. Copyright (C) 2000, 2001, 2002, 2007, 2008, 2009 Free Software Foundation, Inc.
  1911. `http://fsf.org/'
  1912. Everyone is permitted to copy and distribute verbatim copies
  1913. of this license document, but changing it is not allowed.
  1914. 0. PREAMBLE
  1915. The purpose of this License is to make a manual, textbook, or other
  1916. functional and useful document "free" in the sense of freedom: to
  1917. assure everyone the effective freedom to copy and redistribute it,
  1918. with or without modifying it, either commercially or
  1919. noncommercially. Secondarily, this License preserves for the
  1920. author and publisher a way to get credit for their work, while not
  1921. being considered responsible for modifications made by others.
  1922. This License is a kind of "copyleft", which means that derivative
  1923. works of the document must themselves be free in the same sense.
  1924. It complements the GNU General Public License, which is a copyleft
  1925. license designed for free software.
  1926. We have designed this License in order to use it for manuals for
  1927. free software, because free software needs free documentation: a
  1928. free program should come with manuals providing the same freedoms
  1929. that the software does. But this License is not limited to
  1930. software manuals; it can be used for any textual work, regardless
  1931. of subject matter or whether it is published as a printed book.
  1932. We recommend this License principally for works whose purpose is
  1933. instruction or reference.
  1934. 1. APPLICABILITY AND DEFINITIONS
  1935. This License applies to any manual or other work, in any medium,
  1936. that contains a notice placed by the copyright holder saying it
  1937. can be distributed under the terms of this License. Such a notice
  1938. grants a world-wide, royalty-free license, unlimited in duration,
  1939. to use that work under the conditions stated herein. The
  1940. "Document", below, refers to any such manual or work. Any member
  1941. of the public is a licensee, and is addressed as "you". You
  1942. accept the license if you copy, modify or distribute the work in a
  1943. way requiring permission under copyright law.
  1944. A "Modified Version" of the Document means any work containing the
  1945. Document or a portion of it, either copied verbatim, or with
  1946. modifications and/or translated into another language.
  1947. A "Secondary Section" is a named appendix or a front-matter section
  1948. of the Document that deals exclusively with the relationship of the
  1949. publishers or authors of the Document to the Document's overall
  1950. subject (or to related matters) and contains nothing that could
  1951. fall directly within that overall subject. (Thus, if the Document
  1952. is in part a textbook of mathematics, a Secondary Section may not
  1953. explain any mathematics.) The relationship could be a matter of
  1954. historical connection with the subject or with related matters, or
  1955. of legal, commercial, philosophical, ethical or political position
  1956. regarding them.
  1957. The "Invariant Sections" are certain Secondary Sections whose
  1958. titles are designated, as being those of Invariant Sections, in
  1959. the notice that says that the Document is released under this
  1960. License. If a section does not fit the above definition of
  1961. Secondary then it is not allowed to be designated as Invariant.
  1962. The Document may contain zero Invariant Sections. If the Document
  1963. does not identify any Invariant Sections then there are none.
  1964. The "Cover Texts" are certain short passages of text that are
  1965. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  1966. that says that the Document is released under this License. A
  1967. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  1968. be at most 25 words.
  1969. A "Transparent" copy of the Document means a machine-readable copy,
  1970. represented in a format whose specification is available to the
  1971. general public, that is suitable for revising the document
  1972. straightforwardly with generic text editors or (for images
  1973. composed of pixels) generic paint programs or (for drawings) some
  1974. widely available drawing editor, and that is suitable for input to
  1975. text formatters or for automatic translation to a variety of
  1976. formats suitable for input to text formatters. A copy made in an
  1977. otherwise Transparent file format whose markup, or absence of
  1978. markup, has been arranged to thwart or discourage subsequent
  1979. modification by readers is not Transparent. An image format is
  1980. not Transparent if used for any substantial amount of text. A
  1981. copy that is not "Transparent" is called "Opaque".
  1982. Examples of suitable formats for Transparent copies include plain
  1983. ASCII without markup, Texinfo input format, LaTeX input format,
  1984. SGML or XML using a publicly available DTD, and
  1985. standard-conforming simple HTML, PostScript or PDF designed for
  1986. human modification. Examples of transparent image formats include
  1987. PNG, XCF and JPG. Opaque formats include proprietary formats that
  1988. can be read and edited only by proprietary word processors, SGML or
  1989. XML for which the DTD and/or processing tools are not generally
  1990. available, and the machine-generated HTML, PostScript or PDF
  1991. produced by some word processors for output purposes only.
  1992. The "Title Page" means, for a printed book, the title page itself,
  1993. plus such following pages as are needed to hold, legibly, the
  1994. material this License requires to appear in the title page. For
  1995. works in formats which do not have any title page as such, "Title
  1996. Page" means the text near the most prominent appearance of the
  1997. work's title, preceding the beginning of the body of the text.
  1998. The "publisher" means any person or entity that distributes copies
  1999. of the Document to the public.
  2000. A section "Entitled XYZ" means a named subunit of the Document
  2001. whose title either is precisely XYZ or contains XYZ in parentheses
  2002. following text that translates XYZ in another language. (Here XYZ
  2003. stands for a specific section name mentioned below, such as
  2004. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  2005. To "Preserve the Title" of such a section when you modify the
  2006. Document means that it remains a section "Entitled XYZ" according
  2007. to this definition.
  2008. The Document may include Warranty Disclaimers next to the notice
  2009. which states that this License applies to the Document. These
  2010. Warranty Disclaimers are considered to be included by reference in
  2011. this License, but only as regards disclaiming warranties: any other
  2012. implication that these Warranty Disclaimers may have is void and
  2013. has no effect on the meaning of this License.
  2014. 2. VERBATIM COPYING
  2015. You may copy and distribute the Document in any medium, either
  2016. commercially or noncommercially, provided that this License, the
  2017. copyright notices, and the license notice saying this License
  2018. applies to the Document are reproduced in all copies, and that you
  2019. add no other conditions whatsoever to those of this License. You
  2020. may not use technical measures to obstruct or control the reading
  2021. or further copying of the copies you make or distribute. However,
  2022. you may accept compensation in exchange for copies. If you
  2023. distribute a large enough number of copies you must also follow
  2024. the conditions in section 3.
  2025. You may also lend copies, under the same conditions stated above,
  2026. and you may publicly display copies.
  2027. 3. COPYING IN QUANTITY
  2028. If you publish printed copies (or copies in media that commonly
  2029. have printed covers) of the Document, numbering more than 100, and
  2030. the Document's license notice requires Cover Texts, you must
  2031. enclose the copies in covers that carry, clearly and legibly, all
  2032. these Cover Texts: Front-Cover Texts on the front cover, and
  2033. Back-Cover Texts on the back cover. Both covers must also clearly
  2034. and legibly identify you as the publisher of these copies. The
  2035. front cover must present the full title with all words of the
  2036. title equally prominent and visible. You may add other material
  2037. on the covers in addition. Copying with changes limited to the
  2038. covers, as long as they preserve the title of the Document and
  2039. satisfy these conditions, can be treated as verbatim copying in
  2040. other respects.
  2041. If the required texts for either cover are too voluminous to fit
  2042. legibly, you should put the first ones listed (as many as fit
  2043. reasonably) on the actual cover, and continue the rest onto
  2044. adjacent pages.
  2045. If you publish or distribute Opaque copies of the Document
  2046. numbering more than 100, you must either include a
  2047. machine-readable Transparent copy along with each Opaque copy, or
  2048. state in or with each Opaque copy a computer-network location from
  2049. which the general network-using public has access to download
  2050. using public-standard network protocols a complete Transparent
  2051. copy of the Document, free of added material. If you use the
  2052. latter option, you must take reasonably prudent steps, when you
  2053. begin distribution of Opaque copies in quantity, to ensure that
  2054. this Transparent copy will remain thus accessible at the stated
  2055. location until at least one year after the last time you
  2056. distribute an Opaque copy (directly or through your agents or
  2057. retailers) of that edition to the public.
  2058. It is requested, but not required, that you contact the authors of
  2059. the Document well before redistributing any large number of
  2060. copies, to give them a chance to provide you with an updated
  2061. version of the Document.
  2062. 4. MODIFICATIONS
  2063. You may copy and distribute a Modified Version of the Document
  2064. under the conditions of sections 2 and 3 above, provided that you
  2065. release the Modified Version under precisely this License, with
  2066. the Modified Version filling the role of the Document, thus
  2067. licensing distribution and modification of the Modified Version to
  2068. whoever possesses a copy of it. In addition, you must do these
  2069. things in the Modified Version:
  2070. A. Use in the Title Page (and on the covers, if any) a title
  2071. distinct from that of the Document, and from those of
  2072. previous versions (which should, if there were any, be listed
  2073. in the History section of the Document). You may use the
  2074. same title as a previous version if the original publisher of
  2075. that version gives permission.
  2076. B. List on the Title Page, as authors, one or more persons or
  2077. entities responsible for authorship of the modifications in
  2078. the Modified Version, together with at least five of the
  2079. principal authors of the Document (all of its principal
  2080. authors, if it has fewer than five), unless they release you
  2081. from this requirement.
  2082. C. State on the Title page the name of the publisher of the
  2083. Modified Version, as the publisher.
  2084. D. Preserve all the copyright notices of the Document.
  2085. E. Add an appropriate copyright notice for your modifications
  2086. adjacent to the other copyright notices.
  2087. F. Include, immediately after the copyright notices, a license
  2088. notice giving the public permission to use the Modified
  2089. Version under the terms of this License, in the form shown in
  2090. the Addendum below.
  2091. G. Preserve in that license notice the full lists of Invariant
  2092. Sections and required Cover Texts given in the Document's
  2093. license notice.
  2094. H. Include an unaltered copy of this License.
  2095. I. Preserve the section Entitled "History", Preserve its Title,
  2096. and add to it an item stating at least the title, year, new
  2097. authors, and publisher of the Modified Version as given on
  2098. the Title Page. If there is no section Entitled "History" in
  2099. the Document, create one stating the title, year, authors,
  2100. and publisher of the Document as given on its Title Page,
  2101. then add an item describing the Modified Version as stated in
  2102. the previous sentence.
  2103. J. Preserve the network location, if any, given in the Document
  2104. for public access to a Transparent copy of the Document, and
  2105. likewise the network locations given in the Document for
  2106. previous versions it was based on. These may be placed in
  2107. the "History" section. You may omit a network location for a
  2108. work that was published at least four years before the
  2109. Document itself, or if the original publisher of the version
  2110. it refers to gives permission.
  2111. K. For any section Entitled "Acknowledgements" or "Dedications",
  2112. Preserve the Title of the section, and preserve in the
  2113. section all the substance and tone of each of the contributor
  2114. acknowledgements and/or dedications given therein.
  2115. L. Preserve all the Invariant Sections of the Document,
  2116. unaltered in their text and in their titles. Section numbers
  2117. or the equivalent are not considered part of the section
  2118. titles.
  2119. M. Delete any section Entitled "Endorsements". Such a section
  2120. may not be included in the Modified Version.
  2121. N. Do not retitle any existing section to be Entitled
  2122. "Endorsements" or to conflict in title with any Invariant
  2123. Section.
  2124. O. Preserve any Warranty Disclaimers.
  2125. If the Modified Version includes new front-matter sections or
  2126. appendices that qualify as Secondary Sections and contain no
  2127. material copied from the Document, you may at your option
  2128. designate some or all of these sections as invariant. To do this,
  2129. add their titles to the list of Invariant Sections in the Modified
  2130. Version's license notice. These titles must be distinct from any
  2131. other section titles.
  2132. You may add a section Entitled "Endorsements", provided it contains
  2133. nothing but endorsements of your Modified Version by various
  2134. parties--for example, statements of peer review or that the text
  2135. has been approved by an organization as the authoritative
  2136. definition of a standard.
  2137. You may add a passage of up to five words as a Front-Cover Text,
  2138. and a passage of up to 25 words as a Back-Cover Text, to the end
  2139. of the list of Cover Texts in the Modified Version. Only one
  2140. passage of Front-Cover Text and one of Back-Cover Text may be
  2141. added by (or through arrangements made by) any one entity. If the
  2142. Document already includes a cover text for the same cover,
  2143. previously added by you or by arrangement made by the same entity
  2144. you are acting on behalf of, you may not add another; but you may
  2145. replace the old one, on explicit permission from the previous
  2146. publisher that added the old one.
  2147. The author(s) and publisher(s) of the Document do not by this
  2148. License give permission to use their names for publicity for or to
  2149. assert or imply endorsement of any Modified Version.
  2150. 5. COMBINING DOCUMENTS
  2151. You may combine the Document with other documents released under
  2152. this License, under the terms defined in section 4 above for
  2153. modified versions, provided that you include in the combination
  2154. all of the Invariant Sections of all of the original documents,
  2155. unmodified, and list them all as Invariant Sections of your
  2156. combined work in its license notice, and that you preserve all
  2157. their Warranty Disclaimers.
  2158. The combined work need only contain one copy of this License, and
  2159. multiple identical Invariant Sections may be replaced with a single
  2160. copy. If there are multiple Invariant Sections with the same name
  2161. but different contents, make the title of each such section unique
  2162. by adding at the end of it, in parentheses, the name of the
  2163. original author or publisher of that section if known, or else a
  2164. unique number. Make the same adjustment to the section titles in
  2165. the list of Invariant Sections in the license notice of the
  2166. combined work.
  2167. In the combination, you must combine any sections Entitled
  2168. "History" in the various original documents, forming one section
  2169. Entitled "History"; likewise combine any sections Entitled
  2170. "Acknowledgements", and any sections Entitled "Dedications". You
  2171. must delete all sections Entitled "Endorsements."
  2172. 6. COLLECTIONS OF DOCUMENTS
  2173. You may make a collection consisting of the Document and other
  2174. documents released under this License, and replace the individual
  2175. copies of this License in the various documents with a single copy
  2176. that is included in the collection, provided that you follow the
  2177. rules of this License for verbatim copying of each of the
  2178. documents in all other respects.
  2179. You may extract a single document from such a collection, and
  2180. distribute it individually under this License, provided you insert
  2181. a copy of this License into the extracted document, and follow
  2182. this License in all other respects regarding verbatim copying of
  2183. that document.
  2184. 7. AGGREGATION WITH INDEPENDENT WORKS
  2185. A compilation of the Document or its derivatives with other
  2186. separate and independent documents or works, in or on a volume of
  2187. a storage or distribution medium, is called an "aggregate" if the
  2188. copyright resulting from the compilation is not used to limit the
  2189. legal rights of the compilation's users beyond what the individual
  2190. works permit. When the Document is included in an aggregate, this
  2191. License does not apply to the other works in the aggregate which
  2192. are not themselves derivative works of the Document.
  2193. If the Cover Text requirement of section 3 is applicable to these
  2194. copies of the Document, then if the Document is less than one half
  2195. of the entire aggregate, the Document's Cover Texts may be placed
  2196. on covers that bracket the Document within the aggregate, or the
  2197. electronic equivalent of covers if the Document is in electronic
  2198. form. Otherwise they must appear on printed covers that bracket
  2199. the whole aggregate.
  2200. 8. TRANSLATION
  2201. Translation is considered a kind of modification, so you may
  2202. distribute translations of the Document under the terms of section
  2203. 4. Replacing Invariant Sections with translations requires special
  2204. permission from their copyright holders, but you may include
  2205. translations of some or all Invariant Sections in addition to the
  2206. original versions of these Invariant Sections. You may include a
  2207. translation of this License, and all the license notices in the
  2208. Document, and any Warranty Disclaimers, provided that you also
  2209. include the original English version of this License and the
  2210. original versions of those notices and disclaimers. In case of a
  2211. disagreement between the translation and the original version of
  2212. this License or a notice or disclaimer, the original version will
  2213. prevail.
  2214. If a section in the Document is Entitled "Acknowledgements",
  2215. "Dedications", or "History", the requirement (section 4) to
  2216. Preserve its Title (section 1) will typically require changing the
  2217. actual title.
  2218. 9. TERMINATION
  2219. You may not copy, modify, sublicense, or distribute the Document
  2220. except as expressly provided under this License. Any attempt
  2221. otherwise to copy, modify, sublicense, or distribute it is void,
  2222. and will automatically terminate your rights under this License.
  2223. However, if you cease all violation of this License, then your
  2224. license from a particular copyright holder is reinstated (a)
  2225. provisionally, unless and until the copyright holder explicitly
  2226. and finally terminates your license, and (b) permanently, if the
  2227. copyright holder fails to notify you of the violation by some
  2228. reasonable means prior to 60 days after the cessation.
  2229. Moreover, your license from a particular copyright holder is
  2230. reinstated permanently if the copyright holder notifies you of the
  2231. violation by some reasonable means, this is the first time you have
  2232. received notice of violation of this License (for any work) from
  2233. that copyright holder, and you cure the violation prior to 30 days
  2234. after your receipt of the notice.
  2235. Termination of your rights under this section does not terminate
  2236. the licenses of parties who have received copies or rights from
  2237. you under this License. If your rights have been terminated and
  2238. not permanently reinstated, receipt of a copy of some or all of
  2239. the same material does not give you any rights to use it.
  2240. 10. FUTURE REVISIONS OF THIS LICENSE
  2241. The Free Software Foundation may publish new, revised versions of
  2242. the GNU Free Documentation License from time to time. Such new
  2243. versions will be similar in spirit to the present version, but may
  2244. differ in detail to address new problems or concerns. See
  2245. `http://www.gnu.org/copyleft/'.
  2246. Each version of the License is given a distinguishing version
  2247. number. If the Document specifies that a particular numbered
  2248. version of this License "or any later version" applies to it, you
  2249. have the option of following the terms and conditions either of
  2250. that specified version or of any later version that has been
  2251. published (not as a draft) by the Free Software Foundation. If
  2252. the Document does not specify a version number of this License,
  2253. you may choose any version ever published (not as a draft) by the
  2254. Free Software Foundation. If the Document specifies that a proxy
  2255. can decide which future versions of this License can be used, that
  2256. proxy's public statement of acceptance of a version permanently
  2257. authorizes you to choose that version for the Document.
  2258. 11. RELICENSING
  2259. "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
  2260. World Wide Web server that publishes copyrightable works and also
  2261. provides prominent facilities for anybody to edit those works. A
  2262. public wiki that anybody can edit is an example of such a server.
  2263. A "Massive Multiauthor Collaboration" (or "MMC") contained in the
  2264. site means any set of copyrightable works thus published on the MMC
  2265. site.
  2266. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
  2267. license published by Creative Commons Corporation, a not-for-profit
  2268. corporation with a principal place of business in San Francisco,
  2269. California, as well as future copyleft versions of that license
  2270. published by that same organization.
  2271. "Incorporate" means to publish or republish a Document, in whole or
  2272. in part, as part of another Document.
  2273. An MMC is "eligible for relicensing" if it is licensed under this
  2274. License, and if all works that were first published under this
  2275. License somewhere other than this MMC, and subsequently
  2276. incorporated in whole or in part into the MMC, (1) had no cover
  2277. texts or invariant sections, and (2) were thus incorporated prior
  2278. to November 1, 2008.
  2279. The operator of an MMC Site may republish an MMC contained in the
  2280. site under CC-BY-SA on the same site at any time before August 1,
  2281. 2009, provided the MMC is eligible for relicensing.
  2282. ADDENDUM: How to use this License for your documents
  2283. ====================================================
  2284. To use this License in a document you have written, include a copy of
  2285. the License in the document and put the following copyright and license
  2286. notices just after the title page:
  2287. Copyright (C) YEAR YOUR NAME.
  2288. Permission is granted to copy, distribute and/or modify this document
  2289. under the terms of the GNU Free Documentation License, Version 1.3
  2290. or any later version published by the Free Software Foundation;
  2291. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  2292. Texts. A copy of the license is included in the section entitled ``GNU
  2293. Free Documentation License''.
  2294. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  2295. Texts, replace the "with...Texts." line with this:
  2296. with the Invariant Sections being LIST THEIR TITLES, with
  2297. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  2298. being LIST.
  2299. If you have Invariant Sections without Cover Texts, or some other
  2300. combination of the three, merge those two alternatives to suit the
  2301. situation.
  2302. If your document contains nontrivial examples of program code, we
  2303. recommend releasing these examples in parallel under your choice of
  2304. free software license, such as the GNU General Public License, to
  2305. permit their use in free software.
  2306. 
  2307. File: ediff, Node: Index, Prev: GNU Free Documentation License, Up: Top
  2308. Index
  2309. *****
  2310. [index]
  2311. * Menu:
  2312. * !: Quick Help Commands. (line 146)
  2313. * ##: Quick Help Commands. (line 223)
  2314. * #c: Quick Help Commands. (line 231)
  2315. * #f: Quick Help Commands. (line 238)
  2316. * #h: Quick Help Commands. (line 238)
  2317. * $$: Quick Help Commands. (line 337)
  2318. * $*: Quick Help Commands. (line 357)
  2319. * %: Quick Help Commands. (line 327)
  2320. * &: Quick Help Commands. (line 376)
  2321. * *: Quick Help Commands. (line 153)
  2322. * +: Quick Help Commands. (line 416)
  2323. * /: Quick Help Commands. (line 373)
  2324. * <: Quick Help Commands. (line 26)
  2325. * =: Quick Help Commands. (line 421)
  2326. * >: Quick Help Commands. (line 29)
  2327. * ?: Quick Help Commands. (line 7)
  2328. * @: Quick Help Commands. (line 181)
  2329. * A: Quick Help Commands. (line 260)
  2330. * a: Quick Help Commands. (line 51)
  2331. * ab: Quick Help Commands. (line 71)
  2332. * ac: Quick Help Commands. (line 78)
  2333. * B: Quick Help Commands. (line 265)
  2334. * b: Quick Help Commands. (line 62)
  2335. * ba: Quick Help Commands. (line 83)
  2336. * bc: Quick Help Commands. (line 88)
  2337. * C: Quick Help Commands. (line 269)
  2338. * C-l: Quick Help Commands. (line 332)
  2339. * ca: Quick Help Commands. (line 92)
  2340. * cb: Quick Help Commands. (line 96)
  2341. * command help: Quick Help Commands. (line 6)
  2342. * Comparing files and buffers: Introduction. (line 6)
  2343. * D: Quick Help Commands. (line 282)
  2344. * DEL: Quick Help Commands. (line 101)
  2345. * Directory difference buffer: Session Groups. (line 36)
  2346. * E: Quick Help Commands. (line 14)
  2347. * ediff: Major Entry Points. (line 23)
  2348. * ediff-after-flag-eol: Highlighting Difference Regions.
  2349. (line 13)
  2350. * ediff-after-flag-mol: Highlighting Difference Regions.
  2351. (line 13)
  2352. * ediff-after-session-group-setup-hook: Hooks. (line 112)
  2353. * ediff-after-setup-control-frame-hook: Hooks. (line 69)
  2354. * ediff-after-setup-windows-hook: Hooks. (line 24)
  2355. * ediff-auto-refine: Refinement of Difference Regions.
  2356. (line 11)
  2357. * ediff-auto-refine-limit: Refinement of Difference Regions.
  2358. (line 30)
  2359. * ediff-autostore-merges <1>: Merging and diff3. (line 166)
  2360. * ediff-autostore-merges <2>: Hooks. (line 62)
  2361. * ediff-autostore-merges: Session Groups. (line 64)
  2362. * ediff-backup: Major Entry Points. (line 26)
  2363. * ediff-before-flag-bol: Highlighting Difference Regions.
  2364. (line 13)
  2365. * ediff-before-flag-mol: Highlighting Difference Regions.
  2366. (line 13)
  2367. * ediff-before-session-group-setup-hook: Hooks. (line 107)
  2368. * ediff-before-setup-control-frame-hook: Hooks. (line 69)
  2369. * ediff-before-setup-hook: Hooks. (line 12)
  2370. * ediff-before-setup-windows-hook: Hooks. (line 24)
  2371. * ediff-brief-help-message-function: Notes on Heavy-duty Customization.
  2372. (line 27)
  2373. * ediff-buffers: Major Entry Points. (line 35)
  2374. * ediff-buffers3: Major Entry Points. (line 42)
  2375. * ediff-cleanup-hook: Hooks. (line 49)
  2376. * ediff-coding-system-for-read: Patch and Diff Programs.
  2377. (line 25)
  2378. * ediff-combination-pattern: Merging and diff3. (line 39)
  2379. * ediff-control-buffer: Quick Help Customization.
  2380. (line 6)
  2381. * ediff-control-frame-parameters: Window and Frame Configuration.
  2382. (line 35)
  2383. * ediff-control-frame-position-function: Window and Frame Configuration.
  2384. (line 48)
  2385. * ediff-control-frame-upward-shift: Window and Frame Configuration.
  2386. (line 70)
  2387. * ediff-current-diff-face-A: Highlighting Difference Regions.
  2388. (line 22)
  2389. * ediff-current-diff-face-B: Highlighting Difference Regions.
  2390. (line 22)
  2391. * ediff-current-diff-face-C: Highlighting Difference Regions.
  2392. (line 22)
  2393. * ediff-current-file: Major Entry Points. (line 31)
  2394. * ediff-custom-diff-options: Patch and Diff Programs.
  2395. (line 78)
  2396. * ediff-custom-diff-program: Patch and Diff Programs.
  2397. (line 78)
  2398. * ediff-default-variant: Merging and diff3. (line 21)
  2399. * ediff-diff-options: Patch and Diff Programs.
  2400. (line 17)
  2401. * ediff-diff-program <1>: Patch and Diff Programs.
  2402. (line 12)
  2403. * ediff-diff-program: Refinement of Difference Regions.
  2404. (line 42)
  2405. * ediff-diff3-options: Patch and Diff Programs.
  2406. (line 17)
  2407. * ediff-diff3-program: Patch and Diff Programs.
  2408. (line 12)
  2409. * ediff-directories: Major Entry Points. (line 46)
  2410. * ediff-directories3: Major Entry Points. (line 50)
  2411. * ediff-directory-revisions: Major Entry Points. (line 54)
  2412. * ediff-display-help-hook: Hooks. (line 93)
  2413. * ediff-documentation: Major Entry Points. (line 169)
  2414. * ediff-even-diff-face-A: Highlighting Difference Regions.
  2415. (line 40)
  2416. * ediff-even-diff-face-B: Highlighting Difference Regions.
  2417. (line 40)
  2418. * ediff-even-diff-face-C: Highlighting Difference Regions.
  2419. (line 40)
  2420. * ediff-files: Major Entry Points. (line 23)
  2421. * ediff-files3: Major Entry Points. (line 39)
  2422. * ediff-fine-diff-face-A: Highlighting Difference Regions.
  2423. (line 31)
  2424. * ediff-fine-diff-face-B: Highlighting Difference Regions.
  2425. (line 31)
  2426. * ediff-fine-diff-face-C: Highlighting Difference Regions.
  2427. (line 31)
  2428. * ediff-force-faces: Highlighting Difference Regions.
  2429. (line 47)
  2430. * ediff-forward-word: Refinement of Difference Regions.
  2431. (line 42)
  2432. * ediff-forward-word-function: Refinement of Difference Regions.
  2433. (line 38)
  2434. * ediff-grab-mouse: Miscellaneous. (line 98)
  2435. * ediff-help-message: Quick Help Customization.
  2436. (line 6)
  2437. * ediff-highlight-all-diffs: Highlighting Difference Regions.
  2438. (line 53)
  2439. * ediff-ignore-case <1>: Selective Browsing. (line 87)
  2440. * ediff-ignore-case: Quick Help Commands. (line 231)
  2441. * ediff-ignore-case-option <1>: Selective Browsing. (line 87)
  2442. * ediff-ignore-case-option: Quick Help Commands. (line 231)
  2443. * ediff-ignore-case-option3 <1>: Selective Browsing. (line 87)
  2444. * ediff-ignore-case-option3: Quick Help Commands. (line 231)
  2445. * ediff-ignore-similar-regions: Selective Browsing. (line 70)
  2446. * ediff-janitor: Hooks. (line 54)
  2447. * ediff-job-name: Notes on Heavy-duty Customization.
  2448. (line 27)
  2449. * ediff-keep-tmp-versions: Miscellaneous. (line 92)
  2450. * ediff-keep-variants: Miscellaneous. (line 71)
  2451. * ediff-keymap-setup-hook: Hooks. (line 16)
  2452. * ediff-load-hook: Hooks. (line 9)
  2453. * ediff-long-help-message-function: Notes on Heavy-duty Customization.
  2454. (line 27)
  2455. * ediff-make-buffers-readonly-at-startup: Miscellaneous. (line 68)
  2456. * ediff-make-frame-position: Window and Frame Configuration.
  2457. (line 55)
  2458. * ediff-make-wide-display-function: Miscellaneous. (line 32)
  2459. * ediff-maybe-save-and-delete-merge <1>: Merging and diff3. (line 166)
  2460. * ediff-maybe-save-and-delete-merge: Hooks. (line 62)
  2461. * ediff-merge: Major Entry Points. (line 140)
  2462. * ediff-merge-buffers: Major Entry Points. (line 147)
  2463. * ediff-merge-buffers-with-ancestor: Major Entry Points. (line 150)
  2464. * ediff-merge-directories: Major Entry Points. (line 154)
  2465. * ediff-merge-directories-with-ancestor: Major Entry Points. (line 158)
  2466. * ediff-merge-directory-revisions: Major Entry Points. (line 59)
  2467. * ediff-merge-directory-revisions-with-ancestor: Major Entry Points.
  2468. (line 64)
  2469. * ediff-merge-filename-prefix: Merging and diff3. (line 183)
  2470. * ediff-merge-files: Major Entry Points. (line 140)
  2471. * ediff-merge-files-with-ancestor: Major Entry Points. (line 144)
  2472. * ediff-merge-revisions: Major Entry Points. (line 163)
  2473. * ediff-merge-revisions-with-ancestor: Major Entry Points. (line 166)
  2474. * ediff-merge-split-window-function: Miscellaneous. (line 26)
  2475. * ediff-merge-window-share: Merging and diff3. (line 135)
  2476. * ediff-merge-with-ancestor: Major Entry Points. (line 144)
  2477. * ediff-meta-buffer-keymap-setup-hook: Hooks. (line 119)
  2478. * ediff-meta-buffer-map: Hooks. (line 119)
  2479. * ediff-mode-hook: Hooks. (line 98)
  2480. * ediff-mode-map: Hooks. (line 16)
  2481. * ediff-narrow-control-frame-leftward-shift: Window and Frame Configuration.
  2482. (line 60)
  2483. * ediff-no-emacs-help-in-control-buffer: Miscellaneous. (line 52)
  2484. * ediff-odd-diff-face-A: Highlighting Difference Regions.
  2485. (line 40)
  2486. * ediff-odd-diff-face-B: Highlighting Difference Regions.
  2487. (line 40)
  2488. * ediff-odd-diff-face-C: Highlighting Difference Regions.
  2489. (line 40)
  2490. * ediff-patch-buffer: Major Entry Points. (line 123)
  2491. * ediff-patch-default-directory: Patch and Diff Programs.
  2492. (line 97)
  2493. * ediff-patch-file: Major Entry Points. (line 92)
  2494. * ediff-patch-options: Patch and Diff Programs.
  2495. (line 17)
  2496. * ediff-patch-program: Patch and Diff Programs.
  2497. (line 12)
  2498. * ediff-prefer-iconified-control-frame: Window and Frame Configuration.
  2499. (line 74)
  2500. * ediff-prepare-buffer-hook <1>: Customizing the Mode Line.
  2501. (line 17)
  2502. * ediff-prepare-buffer-hook: Hooks. (line 89)
  2503. * ediff-profile: Other Session Commands.
  2504. (line 56)
  2505. * ediff-quit-hook: Hooks. (line 31)
  2506. * ediff-quit-merge-hook <1>: Merging and diff3. (line 166)
  2507. * ediff-quit-merge-hook: Hooks. (line 62)
  2508. * ediff-quit-session-group-hook: Hooks. (line 116)
  2509. * ediff-quit-widened: Narrowing. (line 27)
  2510. * ediff-regions-linewise: Major Entry Points. (line 83)
  2511. * ediff-regions-wordwise: Major Entry Points. (line 75)
  2512. * ediff-registry-setup-hook: Hooks. (line 103)
  2513. * ediff-revert-buffers-then-recompute-diffs: Other Session Commands.
  2514. (line 46)
  2515. * ediff-revision: Major Entry Points. (line 87)
  2516. * ediff-save-buffer: Patch and Diff Programs.
  2517. (line 78)
  2518. * ediff-select-hook: Hooks. (line 82)
  2519. * ediff-setup: Notes on Heavy-duty Customization.
  2520. (line 27)
  2521. * ediff-setup-windows: Window and Frame Configuration.
  2522. (line 85)
  2523. * ediff-setup-windows-multiframe: Window and Frame Configuration.
  2524. (line 103)
  2525. * ediff-setup-windows-plain: Window and Frame Configuration.
  2526. (line 103)
  2527. * ediff-show-clashes-only: Merging and diff3. (line 155)
  2528. * ediff-show-registry: Other Session Commands.
  2529. (line 11)
  2530. * ediff-split-window-function: Miscellaneous. (line 9)
  2531. * ediff-start-narrowed: Narrowing. (line 21)
  2532. * ediff-startup-hook <1>: Notes on Heavy-duty Customization.
  2533. (line 27)
  2534. * ediff-startup-hook <2>: Quick Help Customization.
  2535. (line 6)
  2536. * ediff-startup-hook: Hooks. (line 79)
  2537. * ediff-suspend-hook: Hooks. (line 31)
  2538. * ediff-toggle-multiframe <1>: Window and Frame Configuration.
  2539. (line 103)
  2540. * ediff-toggle-multiframe: Other Session Commands.
  2541. (line 21)
  2542. * ediff-toggle-read-only-function: Miscellaneous. (line 59)
  2543. * ediff-toggle-use-toolbar: Other Session Commands.
  2544. (line 33)
  2545. * ediff-unselect-hook: Hooks. (line 85)
  2546. * ediff-use-last-dir <1>: Miscellaneous. (line 45)
  2547. * ediff-use-last-dir: Major Entry Points. (line 184)
  2548. * ediff-use-long-help-message: Quick Help Customization.
  2549. (line 6)
  2550. * ediff-use-toolbar-p: Other Session Commands.
  2551. (line 40)
  2552. * ediff-version-control-package: Support for Version Control.
  2553. (line 11)
  2554. * ediff-wide-control-frame-rightward-shift: Window and Frame Configuration.
  2555. (line 65)
  2556. * ediff-window-setup-function: Window and Frame Configuration.
  2557. (line 96)
  2558. * ediff-windows-linewise: Major Entry Points. (line 72)
  2559. * ediff-windows-wordwise: Major Entry Points. (line 69)
  2560. * ediff-word-1: Refinement of Difference Regions.
  2561. (line 54)
  2562. * ediff-word-2: Refinement of Difference Regions.
  2563. (line 54)
  2564. * ediff-word-3: Refinement of Difference Regions.
  2565. (line 54)
  2566. * ediff-word-4: Refinement of Difference Regions.
  2567. (line 54)
  2568. * ediff-word-mode: Notes on Heavy-duty Customization.
  2569. (line 27)
  2570. * ediff3: Major Entry Points. (line 39)
  2571. * edir-merge-revisions: Major Entry Points. (line 59)
  2572. * edir-merge-revisions-with-ancestor: Major Entry Points. (line 64)
  2573. * edir-revisions: Major Entry Points. (line 54)
  2574. * edirs: Major Entry Points. (line 46)
  2575. * edirs-merge: Major Entry Points. (line 154)
  2576. * edirs-merge-with-ancestor: Major Entry Points. (line 158)
  2577. * edirs3: Major Entry Points. (line 50)
  2578. * epatch: Major Entry Points. (line 92)
  2579. * epatch-buffer: Major Entry Points. (line 123)
  2580. * eregistry: Other Session Commands.
  2581. (line 11)
  2582. * Finding differences: Introduction. (line 6)
  2583. * G: Quick Help Commands. (line 10)
  2584. * ga: Quick Help Commands. (line 117)
  2585. * gb: Quick Help Commands. (line 129)
  2586. * gc: Quick Help Commands. (line 136)
  2587. * generic-sc.el: Support for Version Control.
  2588. (line 29)
  2589. * h: Quick Help Commands. (line 191)
  2590. * i: Quick Help Commands. (line 279)
  2591. * important commands: Quick Help Commands. (line 6)
  2592. * j: Quick Help Commands. (line 110)
  2593. * M: Quick Help Commands. (line 306)
  2594. * m: Quick Help Commands. (line 169)
  2595. * Merging files and buffers: Introduction. (line 6)
  2596. * mode-line.el: Customizing the Mode Line.
  2597. (line 17)
  2598. * Multi-file patches: Session Groups. (line 81)
  2599. * n: Quick Help Commands. (line 105)
  2600. * p: Quick Help Commands. (line 101)
  2601. * Patching files and buffers: Introduction. (line 6)
  2602. * pcl-cvs.el: Support for Version Control.
  2603. (line 29)
  2604. * q: Quick Help Commands. (line 321)
  2605. * R: Quick Help Commands. (line 290)
  2606. * r: Quick Help Commands. (line 197)
  2607. * ra: Quick Help Commands. (line 205)
  2608. * rb: Quick Help Commands. (line 211)
  2609. * rc: Quick Help Commands. (line 217)
  2610. * rcs.el: Support for Version Control.
  2611. (line 29)
  2612. * s: Quick Help Commands. (line 396)
  2613. * SPC: Quick Help Commands. (line 105)
  2614. * uniquify.el: Customizing the Mode Line.
  2615. (line 17)
  2616. * V: Quick Help Commands. (line 23)
  2617. * v: Quick Help Commands. (line 19)
  2618. * vc.el: Support for Version Control.
  2619. (line 29)
  2620. * wa: Quick Help Commands. (line 41)
  2621. * wb: Quick Help Commands. (line 44)
  2622. * wc: Quick Help Commands. (line 47)
  2623. * wd: Quick Help Commands. (line 32)
  2624. * z: Quick Help Commands. (line 311)
  2625. * |: Quick Help Commands. (line 175)
  2626. * ~: Quick Help Commands. (line 274)
  2627. 
  2628. Tag Table:
  2629. Node: Top1042
  2630. Node: Introduction2532
  2631. Node: Major Entry Points4922
  2632. Node: Session Commands14691
  2633. Node: Quick Help Commands16210
  2634. Node: Other Session Commands34659
  2635. Node: Registry of Ediff Sessions37459
  2636. Node: Session Groups39015
  2637. Node: Remote and Compressed Files45180
  2638. Node: Customization46407
  2639. Node: Hooks48360
  2640. Node: Quick Help Customization53659
  2641. Node: Window and Frame Configuration54670
  2642. Node: Selective Browsing60635
  2643. Node: Highlighting Difference Regions65731
  2644. Node: Narrowing70474
  2645. Node: Refinement of Difference Regions71752
  2646. Node: Patch and Diff Programs74687
  2647. Node: Merging and diff379254
  2648. Node: Support for Version Control89057
  2649. Node: Customizing the Mode Line90682
  2650. Node: Miscellaneous91536
  2651. Node: Notes on Heavy-duty Customization96785
  2652. Node: Credits99370
  2653. Node: GNU Free Documentation License104773
  2654. Node: Index129934
  2655. 
  2656. End Tag Table