1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
Juanma Barranquero
3b0af40281 (smerge-diff-switches): Fix typo in docstring. 2004-04-30 21:12:42 +00:00
Stefan Monnier
2a3d70d45d (smerge-match-conflict): Fix last change. 2004-04-15 20:46:54 +00:00
Stefan Monnier
9f0c286d22 (smerge-match-conflict): Try to do something sensible
for nested conflict markers.
(smerge-find-conflict): Better handle errors in smerge-match-conflict.
2004-04-15 20:19:11 +00:00
Stefan Monnier
65114860f5 (smerge-popup-context-menu): Use it. 2004-04-14 17:40:57 +00:00
Stefan Monnier
5bd8d87b85 (smerge-mode-menu): Fix activate pred for resolve.
(smerge-context-menu-map): Remove unused var.
(smerge-keep-all): Preserve markers.
(smerge-keep-n): New fun.
(smerge-keep-base, smerge-keep-other, smerge-keep-mine)
(smerge-keep-current, smerge-ediff): Use it.
(smerge-kill-current): Use it.  Make it work on some 3-part conflicts.
(smerge-popup-context-menu): Also use context-menu on 3-part conflicts.
(smerge-resolve): Resolve trivial 3-part conflicts.
2004-03-23 19:56:42 +00:00
Masatake YAMATO
935ce7caa0 (smerge-popup-context-menu): Put unwind-protect' arround overlay-put' and `popup-menu'. 2004-03-16 16:27:10 +00:00
Masatake YAMATO
11ece56b1a 2004-03-15 Masatake YAMATO <jet@gyve.org>
Added context menu support in smerge mode.
	Most of the part is written by Stefan Monnier.

	* smerge-mode.el (smerge-context-menu-map, smerge-context-menu): New
	keyman and menu.
	(smerge-text-properties): New function.
	(smerge-remove-props): New function.
	(smerge-popup-context-menu): New function.
	(smerge-resolve): Call `smerge-remove-props'.
	(smerge-keep-base, smerge-keep-other, smerge-keep-mine):
	Ditto.
	(smerge-keep-current): Ditto.
	(smerge-kill-current): New function.
	(smerge-match-conflict): Detect the file as `a same-diff conflict'
	if the filename is "ANCESTOR". Put text properties.
2004-03-15 11:27:47 +00:00
Stefan Monnier
7d85a64e42 (smerge-check-cache, smerge-check): New var and fun.
(smerge-mode-menu): Use it to deactivate menu entries.
(smerge-keep-current): New fun.
(smerge-keep-current): Use it.
2004-03-10 23:42:37 +00:00
Dave Love
8f6cea29d7 Previous change was bogus. Something odd in pcl-cvs... 2003-10-06 16:34:59 +00:00
Dave Love
f73c072cbf Comment. 2003-10-06 16:33:13 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Stefan Monnier
a48402c999 (smerge-ediff): Autoload.
(smerge-match-conflict): Don't assume as much about smerge-begin-re.
(smerge-resolve-function): New var.
(smerge-resolve): New command.
(smerge-basic-map): Bind it.
2002-10-10 17:30:20 +00:00
Stefan Monnier
a1038ca045 (smerge-ediff): Autoload. 2002-10-10 13:01:14 +00:00
Stefan Monnier
15092da1f1 (smerge-ediff): Add name-{mine,other,base} args. 2002-10-04 15:25:22 +00:00
Stefan Monnier
814838dff6 (smerge-diff-buffer-name): Default to *vc-diff*.
(smerge-combine-with-next): New function.
(smerge-diff): Don't output `wrote /tmp/foo' messages.
Insert message if no diffs were found.
2002-09-03 01:20:20 +00:00
Stefan Monnier
1a4914f340 Use find-file-hook instead of find-file-hooks. 2002-08-15 00:48:20 +00:00
Stefan Monnier
e29f823e0d (smerge-match-conflict): Fix typo.
(smerge-diff): Be careful to read match-data early enough.
2001-11-15 01:25:35 +00:00
Gerd Moellmann
0304b9c787 (smerge-mode): Check if `font-lock-mode' is bound
before accessing it.
2001-07-31 08:28:43 +00:00
Stefan Monnier
0f49941f67 (smerge-mode): Force font-lock-multiline to t. 2001-05-10 20:23:48 +00:00
Stefan Monnier
f5cd98c0d4 (font-lock-keywords, font-lock-mode): Don't bind, just declare. 2001-03-07 00:16:29 +00:00
Stefan Monnier
f0c1adabcb (smerge-font-lock-keywords): Relax submatch 1. 2001-01-25 15:37:21 +00:00
Stefan Monnier
83f40583a4 *** empty log message *** 2000-12-23 20:54:14 +00:00
Stefan Monnier
6eabfb2600 (smerge-basic-map): Use =' rather than d'.
Use minibuffer menu prompt for the `=' prefix.
(smerge-command-prefix): Change default to C-^.
(smerge-mode): Don't assume font-lock doesn't move point.
2000-12-22 23:19:47 +00:00
Stefan Monnier
0e86b6b04b (smerge-basic-map): Use =' rather than d'.
Use minibuffer menu prompt for the `=' prefix.
(smerge-command-prefix): Change default to C-^.
2000-12-22 22:59:17 +00:00
Stefan Monnier
d73aed133b (smerge-diff): Setup the buffer's default-directory
and add filename to the names so that diff-mode can jump to source.
2000-10-06 16:07:31 +00:00
Miles Bader
b25f5aecdf (smerge-mine-face, smerge-other-face, smerge-base-face, smerge-markers-face):
Add dark-background variants.
2000-10-05 06:05:51 +00:00
Stefan Monnier
394bd1cae1 (smerge-mode-menu): Doc fix. 2000-08-16 19:51:55 +00:00
Dave Love
43e764c952 (smerge-mode-menu): Fill it out. 2000-07-21 13:53:20 +00:00
Dave Love
a7b779771d (smerge-diff-switches): Don't use list* in defcustom. 2000-05-25 18:08:26 +00:00
Stefan Monnier
f97e9a8a43 (smerge-auto-leave): New function and variable.
(smerge-basic-map): Rename from smerge-basic-keymap.
Change the bindings for smerge-diff-*.
(smerge-*-map): Use easy-mmode-defmap.
(smerge-(next|prev)): Use easy-mmode-define-navigation.
(smerge-keep-*): Use smerge-auto-leave.
2000-03-22 00:54:55 +00:00
Stefan Monnier
3dac25a972 New file. Provides a simple minor-mode for files containing
diff3-style conflict markers, such as generated by RCS
1999-12-09 13:03:41 +00:00