1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
emacs/doc/misc
Tino Calancha 0f3d1b7823 Show ancestor buffer in 3way merges
Add an option ediff-show-ancestor', to control if the ancestor buffer
must be shown in 3way merges (Bug#25493); set it non-nil by default.
Add a toggle to change this option interactively; the original
value of the option is restored on exit.

Update the window setup so that the ancestor buffer is
shown in 3way merges when ediff-show-ancestor is non-nil.

Any operation on ediff windows must take in account the
ancestor window as well, when this is shown.

* lisp/vc/ediff-init.el (ediff-show-ancestor): New option.
(ediff--show-ancestor-orig): New defvar.
* lisp/vc/ediff-wind.el (ediff-window-Ancestor): New defvar.
(ediff-setup-windows-plain-merge, ediff-setup-windows-multiframe-merge):
Display ancestor buffer if ediff-show-ancestor is non-nil.
(ediff-keep-window-config): Expect ancestor window in
ediff-window-config-saved.
(ediff-window-alist): Add entry for the ancestor window.
* lisp/vc/ediff-util.el (ediff-setup-control-buffer):
ediff-window-config-saved contains ancestor window.
(ediff-show-ancestor): Delete this command.
(ediff-setup-keymap): Bind ediff-toggle-show-ancestor to '/' for merge jobs.
(ediff-update-diffs): Compute new diffs using ancestor buffer in 3way merges;
don't cheat it to think that is performing a comparison, that trick is not
necessary anymore: simply call 'ediff-setup-diff-regions-function'
with file-A, file-B and the file ancestor.
(ediff-recenter): Update doc string.  Consider the ancestor buffer.
(ediff--check-ancestor-exists): New defun.
(ediff-toggle-show-ancestor): New command; toggle ediff-show-ancestor.
(ediff--restore-options-on-exit): Restore ediff-show-ancestor on exit.
(ediff-scroll-vertically, ediff-scroll-horizontally)
(ediff-operate-on-windows): Consider the ancestor as well.
* lisp/vc/ediff-help.el (ediff-long-help-message-merge):
List ediff-toggle-show-ancestor.
* doc/misc/ediff.texi (Introduction, Quick Help Commands): Update manual.
; * etc/NEWS: Announce these changes.
2017-03-14 16:12:29 +09:00
..
ada-mode.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
auth.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
autotype.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
bovine.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
calc.texi Make calc's least common multiple positive (bug#25255) 2017-02-23 20:28:40 -05:00
cc-mode.texi Allow C++ nested brace-list-entries to be better indented. 2017-02-01 20:20:09 +00:00
ChangeLog.1 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cl.texi ; * doc/misc/cl.texi (Top): Add Concept Index to the main menu. 2017-03-05 17:56:12 +02:00
dbus.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
dired-x.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
doclicense.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
ebrowse.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
ede.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
ediff.texi Show ancestor buffer in 3way merges 2017-03-14 16:12:29 +09:00
edt.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
efaq-w32.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
efaq.texi Support 24-bit direct colors on text terminals 2017-02-18 13:04:55 +02:00
eieio.texi Fix typos in EIEIO manual 2017-03-05 17:16:00 -07:00
emacs-gnutls.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
emacs-mime.texi Document how to quote MML tags 2017-01-25 21:47:28 +01:00
epa.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
erc.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
ert.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
eshell.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
eudc.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
eww.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
flymake.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
forms.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
gnus-coding.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
gnus-faq.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
gnus-news.el Fix copyright years by hand 2017-01-01 04:01:41 +00:00
gnus-news.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
gnus-overrides.texi
gnus.texi Add new command gnus-article-sort-by-marks 2017-01-27 00:30:54 +01:00
gpl.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
htmlfontify.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
idlwave.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
ido.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
info.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
mairix-el.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
Makefile.in Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
message.texi Remove overly broad element from default mail-dont-reply-to-names 2017-02-13 23:36:17 -08:00
mh-e.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
newsticker.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
nxml-mode.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
octave-mode.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
org.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
pcl-cvs.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
pgg.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
rcirc.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
reftex.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
remember.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
sasl.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
sc.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sem-user.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
semantic.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
ses.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sieve.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
smtpmail.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
speedbar.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
srecode.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
texinfo.tex Merge from gnulib 2017-03-12 00:03:37 -08:00
todo-mode.texi Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tramp.texi Use path/to/file instead of path/to.file in tramp.texi 2017-03-12 10:28:18 +01:00
trampver.texi Unset `non-essential' in Tramp when not needed anymore 2017-02-18 14:29:19 +01:00
url.texi Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
vhdl-mode.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
vip.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
viper.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
widget.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
wisent.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00
woman.texi Fix copyright years by hand 2017-01-01 04:01:41 +00:00