1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
emacs/etc
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
..
charsets Update copyright year to 2017 2016-12-31 19:42:26 -08:00
e Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
forms Update copyright year to 2017 2016-12-31 19:42:26 -08:00
gnus
images Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
nxml Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
org Update copyright year to 2017 2016-12-31 19:42:26 -08:00
refcards Merge from origin/emacs-25 2017-01-17 07:34:25 -08:00
schema Update copyright year to 2017 2016-12-31 19:42:26 -08:00
srecode Update copyright year to 2017 2016-12-31 19:42:26 -08:00
themes ; Less error-like font-lock-variable-name-face 2017-02-22 18:31:02 +01:00
tutorials Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
AUTHORS Merge from origin/emacs-25 2017-01-01 01:05:02 -08:00
CALC-NEWS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
CENSORSHIP Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
ChangeLog.1 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
compilation.txt Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
COPYING
DEBUG Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
DEVEL.HUMOR Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00
DISTRIB Update copyright year to 2017 2016-12-31 19:42:26 -08:00
edt-user.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
emacs-buffer.gdb Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
emacs.appdata.xml Update copyright year to 2017 2016-12-31 19:42:26 -08:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
emacs.service Add --new-daemon, which runs in the foreground and does not fork 2016-11-15 23:28:47 -08:00
enriched.txt Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ERC-NEWS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ETAGS.EBNF Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ETAGS.README Update copyright year to 2017 2016-12-31 19:42:26 -08:00
FTP Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Update copyright year to 2015 2015-01-01 09:18:06 -08:00
GNUS-NEWS Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
gnus-tut.txt Update copyright year to 2017 2016-12-31 19:42:26 -08:00
grep.txt Update copyright year to 2017 2016-12-31 19:42:26 -08:00
HELLO Update copyright year to 2017 2016-12-31 19:42:26 -08:00
HISTORY ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release 2016-09-15 23:30:09 +02:00
JOKES
LINUX-GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
MACHINES Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
MH-E-NEWS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
MORE.STUFF * etc/MORE.STUFF: Replace contents with pointer to efaq.info. 2014-01-09 14:14:28 -05:00
NEWS Show ancestor buffer in 3way merges 2017-03-14 16:12:29 +09:00
NEWS.1-17 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.18 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.19 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.20 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.21 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.22 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.23 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.24 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NEWS.25 Update copyright year to 2017 in master 2017-01-01 01:48:59 -08:00
NEXTSTEP Update copyright year to 2017 2016-12-31 19:42:26 -08:00
NXML-NEWS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS ; Fix typo in etc/PROBLEMS 2017-03-04 20:32:39 +01:00
ps-prin0.ps Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ps-prin1.ps Update copyright year to 2017 2016-12-31 19:42:26 -08:00
publicsuffix.txt Update publicsuffix.txt. 2016-02-06 16:11:18 +11:00
README Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rgb.txt
ses-example.ses Update copyright year to 2017 2016-12-31 19:42:26 -08:00
spook.lines * etc/spook.lines: Minor commentary update 2013-08-28 21:05:19 -04:00
TERMS Update copyright year to 2017 2016-12-31 19:42:26 -08:00
THE-GNU-PROJECT Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
TODO ; Add a new TODO item 2017-02-20 18:08:48 -08:00
WHY-FREE Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
yow.lines Prefer straight quoting in some etc text files 2015-08-26 14:09:07 -07:00

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2017 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)