Stefan Monnier
4c282a2783
Remove spurious backspace.
2009-01-03 03:31:54 +00:00
Lute Kamstra
9201cc281b
* align.el:
...
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Stefan Monnier
68035b9764
(diff-find-file-name): Rename batch' to
noprompt' and
...
be more honest when we don't know.
(diff-tell-file-name): Don't prompt before the actual prompt.
(diff-mode): Don't prompt in add-log-buffer-file-name-function.
(diff-find-source-location): Add `noprompt' argument.
(diff-current-defun): Don't prompt.
2008-09-14 21:16:30 +00:00
Dan Nicolaescu
d3cecb4041
(diff-show-trailing-whitespaces): Fix typo.
2008-08-06 03:50:13 +00:00
Vinicius Jose Latorre
5b8441bf47
Rename diff-show-trailing-blanks to diff-show-trailing-whitespaces.
2008-07-26 00:28:45 +00:00
Vinicius Jose Latorre
355b422fd2
New function diff-show-trailing-blanks in diff-mode.el.
2008-07-25 02:34:31 +00:00
Stefan Monnier
4542adfb1f
(diff-auto-refine-mode): Remove lighter, since it's
...
otherwise displayed in every buffer.
2008-07-22 20:55:30 +00:00
Thien-Thi Nguyen
7381be9dcb
Make auto-refining a minor mode, and diff- and smerge- use it.
...
* diff-mode.el (diff-auto-refine): Delete defcustom.
(diff-auto-refine-mode): New func/var via define-minor-mode.
Update var ref to use diff-auto-refine-mode.
* smerge-mode.el (diff-mode): Require when compiling.
(smerge-auto-refine): Delete defcustom.
Update smerge-auto-refine ref to use diff-auto-refine-mode.
2008-07-21 14:20:24 +00:00
Dan Nicolaescu
2a520399dc
* add-log.el (add-change-log-entry): Add new arg to force each new
...
entry to be on a new line.
* diff-mode.el (diff-add-change-log-entries-other-window): Use it.
2008-06-24 04:04:48 +00:00
Stefan Monnier
bf6970a5f6
(diff-context-mid-hunk-header-re): New const.
...
(diff-font-lock-keywords, diff-context->unified)
(diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
(diff-hunk-text, diff-find-source-location): Use it.
(diff-post-command-hook): Let the user edit the hunk headers.
2008-05-26 17:25:44 +00:00
John Paul Wallington
337f393eb4
(diff-current-defun): Use `buffer-local-value'.
2008-05-15 01:22:40 +00:00
Stefan Monnier
365bdf633b
(diff-hunk-header-re): Refine the regexp.
2008-05-11 21:57:27 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Miles Bader
341dd15a7b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1129
2008-04-26 05:40:19 +00:00
Stefan Monnier
43392d1263
(diff-hunk-header-re-unified): Allow elided line counts.
...
(diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
(diff-sanity-check-hunk): Adjust code accordingly.
2008-04-25 02:08:43 +00:00
Miles Bader
5bc6ddff00
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Dan Nicolaescu
8d73b84e3b
* diff-mode.el (diff-file-junk-re): Recognize the git format for
...
new files, deleted files and for changing permissions.
2008-04-05 00:56:31 +00:00
Dan Nicolaescu
2f745f7fa4
* diff-mode.el (diff-file-junk-re): Recognize the git format for
...
new files and for changing permissions.
2008-04-05 00:35:46 +00:00
Dan Nicolaescu
19446c41b1
(diff-file-junk-re): Recognize the git format for
...
new files.
(diff-mode): Set beginning-of-defun-function and
2008-04-04 22:34:35 +00:00
Stefan Monnier
adf4cc7e0a
(diff-remembered-defdir): New var.
...
(diff-find-file-name): Use it to flush diff-remembered-files-alist.
2008-03-25 04:01:48 +00:00
Dan Nicolaescu
9f4e4f5bb9
(diff-header): Make the color louder.
...
(diff-refine-change): Tone the color down.
2008-03-19 04:59:34 +00:00
Stefan Monnier
aec1ef0729
(diff-end-of-hunk): Be careful not to overlook trailing
...
"+" lines not accounted for by counting "-" and context lines.
2008-03-18 20:49:52 +00:00
Dan Nicolaescu
5e15554dac
(diff-refine-change): Adjust colors to be more visible.
2008-03-12 06:53:18 +00:00
Dan Nicolaescu
fb4dfdd28e
(diff-mode-menu): Add :help.
2008-03-09 15:39:48 +00:00
Dan Nicolaescu
14cf0430e4
(diff-ignore-whitespace-hunk): Bind
...
inhibit-read-only before trying to change the buffer.
2008-03-08 07:56:13 +00:00
Miles Bader
51fb064bc7
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
2008-03-01 01:28:31 +00:00
Stefan Monnier
79fd616806
(diff-sanity-check-hunk): Only accept an empty line if
...
we still expect more lines.
2008-02-29 02:40:10 +00:00
Stefan Monnier
f52d2f9c30
* diff-mode.el (diff-file-junk-re): New const.
...
(diff-beginning-of-file-and-junk): Use it.
(diff-file-kill): Make sure we were really inside a file diff.
* diff-mode.el: Make it more robust in the presence of empty context
lines in unified hunks.
(diff-valid-unified-empty-line): New var.
(diff-unified->context, diff-sanity-check-hunk): Obey it.
(diff-end-of-hunk): Obey it. New arg `donttrustheader'.
(diff-fixup-modifs, diff-post-command-hook): Use this new arg.
(diff-hunk-header-re-unified): New const.
(diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
(diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
(diff-sanity-check-hunk): Use it.
* diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
Index: line, don't search backward for the previous one.
2008-02-25 03:54:54 +00:00
Stefan Monnier
5f082d1fe6
(diff-file-junk-re): New const.
...
(diff-beginning-of-file-and-junk): Use it.
(diff-file-kill): Make sure we were really inside a file diff.
2008-02-19 21:31:20 +00:00
Stefan Monnier
95dfb89d87
Make it more robust in the presence of empty context lines in unified hunks.
...
(diff-valid-unified-empty-line): New var.
(diff-unified->context, diff-sanity-check-hunk): Obey it.
(diff-end-of-hunk): Obey it. New arg `donttrustheader'.
(diff-fixup-modifs, diff-post-command-hook): Use this new arg.
(diff-hunk-header-re-unified): New const.
(diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
(diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
(diff-sanity-check-hunk): Use it.
2008-02-19 19:44:48 +00:00
Dan Nicolaescu
40c02e0035
(diff-add-change-log-entries-other-window): Use
...
add-change-log-entry.
2008-02-10 18:38:05 +00:00
Stefan Monnier
f060b622fb
(diff-beginning-of-file-and-junk): If we're on the
...
Index: line, don't search backward for the previous one.
2008-02-10 16:36:07 +00:00
Stefan Monnier
02e3336d0c
(diff-add-change-log-entries-other-window): Avoid the
...
splitter in context hunks.
2008-02-08 16:00:55 +00:00
Stefan Monnier
8330c1755e
(diff-add-change-log-entries-other-window):
...
Rename from diff-create-changelog. Change users.
Minor change to hopefully work with plain diffs.
(diff-mode-map): Add binding for it.
2008-02-05 02:14:10 +00:00
Dan Nicolaescu
8a72c7f8c9
Add new TODO entry.
...
(diff-create-changelog): New function.
(diff-mode-menu): Bind it.
2008-02-04 21:41:09 +00:00
Glenn Morris
c422d9f0ff
(diff-end-of-hunk): Revert 2008-01-08 change.
2008-01-15 03:54:51 +00:00
Glenn Morris
858fd4a4b4
(diff-end-of-hunk): Revert 2008-01-08 change.
2008-01-15 03:46:59 +00:00
Glenn Morris
1c6aa2f55f
(diff-end-of-hunk): Don't match empty lines in unified format.
2008-01-08 05:19:13 +00:00
Glenn Morris
1c58b439bf
(diff-end-of-hunk): Don't match empty lines in unified format.
2008-01-08 05:17:47 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Dan Nicolaescu
2f42c75fb0
* progmodes/gud.el (gud-target-name): Move definition before use.
...
* progmodes/dcl-mode.el: Require imenu at compile time.
* progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify
byte-compiler.
* obsolete/fast-lock.el: Use featurep test instead of
string-match.
* eshell/esh-mode.el (eshell-handle-ansi-color): Require
ansi-color at compile time too.
* eshell/em-unix.el (eshell/info): Require info at compile time
too.
* w32-fns.el: Require w32-vars.
* diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
time too.
2007-10-21 07:33:32 +00:00
Dan Nicolaescu
975460179e
* term/x-win.el (x-gtk-stock-map, icon-map-list)
...
(x-gtk-map-stock): Delete duplicated definitions from merge.
* progmodes/octave-mod.el: Require octave-inf at compile time
* progmodes/compile.el (compilation-skip-to-next-location)
(compilation-skip-threshold, compilation-skip-visited): Move
definitions earlier.
* play/zone.el (zone-fall-through-ws):
* play/landmark.el (lm-move-down, lm-move-up):
* play/handwrite.el (handwrite):
* mail/mspools.el (mspools-visit-spool):
* wdired.el (wdired-next-line, wdired-previous-line):
* tar-mode.el (tar-subfile-save-buffer):
* scroll-lock.el (scroll-lock-next-line)
(scroll-lock-previous-line):
* image-dired.el (image-dired-next-line)
(image-dired-previous-line):
* ediff-help.el (ediff-help-message-line-length): Use
forward-line.
* smerge-mode.el (smerge-auto-refine):
* diff-mode.el (diff-auto-refine): Add :group.
* play/yow.el: Require doctor at compile time.
* vmsproc.el: Provide vmsproc.
(command-send-input): Use forward-line.
* vms-patch.el: Require ps-print and vmsproc at compile time.
* vc-mtn.el (log-view-message-re, log-view-file-re)
(log-view-font-lock-keywords): Pacify byte-compiler.
* vc-hg.el: Require log-view at compile time.
2007-10-20 06:30:18 +00:00
Stefan Monnier
2659df6808
(diff-auto-refine): New var.
...
(diff-hunk): Use it.
(diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
(diff-refine-change): Rename from diff-fine-change. Change it.
(diff-refine-preproc): Rename from diff-fine-highlight-preproc.
(diff-refine-hunk): Rename from diff-fine-highlight.
2007-10-20 02:02:22 +00:00
Stefan Monnier
8872469d6c
(diff-fine-highlight-preproc): Stick to minimal changes
...
which will not affect the behavior of things like forward-word.
(diff-fine-highlight): Preserve point.
2007-10-19 17:16:43 +00:00
Dan Nicolaescu
5eee3c954e
* diff-mode.el (diff-fine-change): Add :group.
2007-10-13 00:07:23 +00:00
Stefan Monnier
ef63ea1c7a
(diff-current-defun): Force recomputation of change-log-default-name.
2007-10-12 19:36:28 +00:00
Miles Bader
1af74d06e5
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Stefan Monnier
011f48f234
(diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
2007-10-09 04:22:11 +00:00
Stefan Monnier
be36f934da
(diff-hunk-style): New fun.
...
(diff-end-of-hunk): Use it.
(diff-context->unified): Use the new `apply' undo element, if applicable,
so as to save undo-log space.
(diff-fine-change): New face.
(diff-fine-highlight-preproc): New function.
(diff-fine-highlight): New command.
2007-10-09 04:12:24 +00:00
Dan Nicolaescu
25edda535b
* pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
...
* log-view.el (log-view-mode-map): Likewise.
* diff-mode.el (diff-mode-shared-map): Likewise.
2007-09-22 23:27:53 +00:00