1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
Commit Graph

422 Commits

Author SHA1 Message Date
Chong Yidong
0f7ea45318 * vc.el (vc-exec-after): Don't delete process manually.
(vc-print-log): Run log-view-mode in process sentinel inside
	inhibit-read-only.  Don't shrink window due to timing issues.
2006-07-11 18:39:32 +00:00
André Spiegel
51ef683bad (vc-diff-internal): Fix prev change. 2006-07-05 08:05:29 +00:00
André Spiegel
48033a08ab (vc-diff-knows-L): New variable.
(vc-diff-internal): Use it to handle "diff" programs that don't
understand -L.  This works automatically, no user action is necessary.
2006-06-23 17:29:19 +00:00
Thien-Thi Nguyen
58ce5535fd (vc-process-filter): Inhibit undo
info collection around call to insert.
(vc-setup-buffer): Likewise for call to erase-buffer.
(vc-do-command): Likewise for call to process-file.
2006-06-05 15:46:00 +00:00
Thien-Thi Nguyen
1867d8cbc5 (vc-annotate): Arrange for point to end up at the same
line number as in the original, but only when using a new buffer.
2006-04-13 13:36:54 +00:00
Thien-Thi Nguyen
1007cd5f2b Remove eol whitespace; nfc. 2006-04-13 13:29:22 +00:00
Stefan Monnier
8a8f8697fe (vc-ensure-vc-buffer): Only change current-buffer, not the window config.
(vc-annotate-display-select): Select the buffer so that current-buffer
(and selected-window) is the output buffer at the end of vc-annotate.
2006-04-11 23:05:31 +00:00
J.D. Smith
da7c8a122c (vc-annotate-display-mode): Made default 'fullscale.
(vc-annotate-color-map): New 18 element constant
	value/saturation, rotating hue colormap, from red->blue.
	(vc-annotate-mode-menu): "Default" -> "By Color Map Range".
	(vc-annotate-display-select): Switch to annotate-mode elsewhere.
	(vc-annotate): To avoid killing the required local variables,
	set them before the end of `with-output-to-temp-buffer', and
	after first switching to annotate-mode.
	(vc-annotate-warp-version): Add buffer argument in goto-line to
	ensure annotation, not source, is scrolled.
	(vc-annotate-color-map): Added custom TTY color map for
	8-color terminals, to use all of the colors in a sensible order.
	256-color terminals work well with the standard map.
	(vc-annotate-lines): Only strip the first color character if it
	is "#", to allow for terminal-style named colors.
	(vc-annotate-warp-version): Pass buf to `goto-line' to ensure
	the correct buffer is scrolled.
2006-04-11 21:42:05 +00:00
Juanma Barranquero
464540ed82 (small-temporary-file-directory): Remove defvar; there's a defcustom for it in
files.el.
2006-02-07 17:02:08 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
André Spiegel
510f6466f3 (vc-default-dired-state-info): Pass FILE to vc-user-login-name.
(vc-default-update-changelog): Don't use vc-user-login-name, we don't
need it here.
2006-01-25 18:55:41 +00:00
Stefan Monnier
97461c846c (vc-annotate-display): Replace optional arg `color-map' with
compulsory arg `ratio'.  Inline body of vc-annotate-time-span.
(vc-annotate-display-autoscale): Adjust call.
(vc-annotate-display-default): Adjust call.  Make arg compulsory.
Fix interactive spec.
(vc-annotate-time-span): Remove.
(vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons.
(vc-annotate-mode-menu, vc-annotate-display-autoscale)
(vc-annotate-display-select): Use new name.
2005-12-28 20:13:47 +00:00
Stefan Monnier
07a95b81f4 (vc-annotate-mode-map): Remove obsolete binding.
(vc-annotate-mode-menu): Remove left-over redundant declaration.
Correct the construction of span entries.  Simplify.
(vc-annotate-display-select): Fix the nil case.
(vc-annotate): Remove obsolete (and now broken) code.
(vc-annotate-extract-revision-at-line): Remove obsolete code.
(vc-annotate-time-span): Remove unused arg `quantize'.  Simplify.
2005-12-28 18:47:12 +00:00
Richard M. Stallman
6149bbfbf8 (vc-annotate-car-last-cons): Defn moved up. 2005-12-23 16:22:31 +00:00
Stefan Monnier
04864eb004 Remove unnecessary leading * in docstrings.
(vc-annotate-mode-map): Move initialization into declaration.
(vc-static-header-alist): Nitpick on the regexp.
(vc-default-init-version): New fun.
(vc-register): Use it.
(vc-insert-headers): Use dolist.
(vc-annotate-get-backend): Remove unused function.
(vc-annotate-add-menu): Remove.  Build the menu directly at toplevel.
(vc-annotate-mode): Remove corresponding call.
(vc-annotate-car-last-cons): Simplify.
(vc-annotate-buffers): Remove var.
(vc-annotate-backend): Make it buffer-local.
(vc-annotate): Move the interaction to the interactive spec.
Add a `buf' argument.
(vc-annotate-warp-version): Use this new `buf' argument to avoid
killing&creating a vc-annotate buffer, which is very disruptive when
the buffers are shown in dedicated frames.
2005-12-23 04:57:28 +00:00
Richard M. Stallman
c94dca6021 (vc-default-previous-version, vc-default-next-version)
(vc-do-command): Doc fixes.
2005-12-14 20:11:11 +00:00
Stefan Monnier
d49e540c48 (vc-default-revert): New fun. 2005-12-14 16:57:35 +00:00
Stefan Monnier
11c89a0783 (vc-do-command): Add a new value t for okstatus. 2005-12-13 22:25:13 +00:00
Masatake YAMATO
9a36031fef (vc-directory-exclusion-list): Add "{arch}". 2005-10-31 01:22:57 +00:00
André Spiegel
94ca88e334 (vc-switch-backend): Better error message if the buffer is not visiting a
file under version control.
2005-10-30 10:39:55 +00:00
Michael Albinus
ead915936b * vc.el (vc-dired-mode): Extend comment for binding of
`directory-listing-before-filename-regexp'.
2005-10-25 05:52:28 +00:00
Michael Albinus
9bc260cfb7 * files.el (directory-listing-before-filename-regexp): New
defvar.  Replaces `dired-move-to-filename-regexp' from dired.el.

* dired.el (dired-move-to-filename-regexp): Removed.  All
occurences replaced by `directory-listing-before-filename-regexp'.

* dired-x.el, locate.el, vc.el: Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.  In vc.el it is
overwritten locally; maybe this can be handled in files.el too.

* net/ange-ftp.el (ange-ftp-date-regexp): Removed.  All occurences
replaced by `directory-listing-before-filename-regexp'.

* faq.texi (Bugs and problems): Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.
2005-10-23 12:17:28 +00:00
Romain Francoise
ce5a3ac01e 2005-09-25 Romain Francoise <romain@orebokech.com>
* dired-aux.el (dired-copy-file-recursive):
	* dired.el (dired-delete-file):
	* ediff-mult.el (ediff-dir-diff-copy-file):
	* ediff-util.el (ediff-test-save-region):
	* forms.el (forms-mode):
	* ido.el (ido-file-internal, ido-delete-file-at-head):
	* log-edit.el (log-edit-done):
	* ses.el (ses-yank-resize):
	* play/gomoku.el (gomoku-human-plays, gomoku)
	(gomoku-human-resigns, gomoku-prompt-for-other-game)
	(gomoku-offer-a-draw):
	* play/landmark.el (lm-human-resigns, lm):
	* net/eudcb-ldap.el (eudc-ldap-check-base):
	* play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game):
	* progmodes/ebrowse.el (ebrowse-find-pattern):
	* progmodes/idlw-shell.el (idlwave-shell-set-bp-check):
	* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer):
	End `yes-or-no-p' and `y-or-n-p' prompts with question mark and
	space.

	* vc.el (vc-delete-file):
	* play/gomoku.el (gomoku-terminate-game, gomoku)
	(gomoku-prompt-for-move, gomoku-human-takes-back):
	* play/landmark.el (lm-human-takes-back, lm-prompt-for-move)
	(lm-start-robot, lm-human-plays): Remove extraneous spaces in
	messages.
2005-09-24 23:26:28 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
André Spiegel
ca3c209618 (vc-directory, vc-update-change-log): Throw an error on the attempt to
do it over Tramp.  This is not yet supported.
2005-09-10 10:55:42 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
aa40646530 (vc-annotate): Fix spellings in docstrings. 2005-06-10 14:08:47 +00:00
André Spiegel
3b37b1796f (vc-trunk-p): Add autoload cookie. The function is used in vc-rcs.el
when vc-mistrust-permissions is t, which is not the default.
2005-05-22 10:51:32 +00:00
Dan Nicolaescu
57428691d5 (vc-annotate-color-map): Change some colors so that text
using them as foreground is readable on both white and black
backgrounds.
2005-04-20 16:51:39 +00:00
Stefan Monnier
55ec6b379a (vc-do-command): Use a pipe for async processes, so password
prompts don't show up at places where the user can't reply.
2005-03-29 15:30:39 +00:00
Andreas Schwab
c58447fd8c (vc-do-command): Don't run command asynchronously when
operating in a remote directory.
2005-02-27 18:38:48 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
André Spiegel
f1d1d46a52 (vc-allow-async-revert): New user option.
(vc-disable-async-diff): New internal variable.
(vc-revert-buffer): Use them to disable asynchronous diff.
2005-01-09 21:27:28 +00:00
André Spiegel
54ebae283f (vc-default-update-changelog): Use insert-file-contents, rather than
insert-file.
2004-12-17 10:48:53 +00:00
André Spiegel
0a22636447 (vc-recompute-state): Moved into vc-hooks.el. 2004-11-30 11:03:46 +00:00
Thien-Thi Nguyen
3c42cc640b Update annotation-related comments. 2004-11-19 15:10:57 +00:00
Thien-Thi Nguyen
2e73435333 (vc-annotate-display-autoscale): Make sure
point is at bol after calling `annotate-time'.
2004-11-03 10:41:46 +00:00
Thien-Thi Nguyen
f36e4afe47 (vc-annotate-display-autoscale): Add prefix-arg
spec in `interactive' form, and mention it in the docstring.
2004-11-03 10:22:39 +00:00
Kai Großjohann
0457dd5538 * simple.el (process-file): New function, similar to call-process
but supports file handlers.
* vc.el (vc-do-command): Use it, instead of call-process.
* net/tramp-vc.el (vc-do-command): Do not advise it if
process-file is fboundp.
* net/tramp.el (tramp-file-name-handler-alist): Add entry for
process-file.
(tramp-handle-process-file): New function.
(tramp-file-name-for-operation): Support process-file.
2004-10-23 19:52:18 +00:00
Stefan Monnier
865c5d7658 (vc-annotate-display-select): Fix typo. 2004-10-13 17:04:45 +00:00
André Spiegel
fb34883fdf (vc-annotate-mode): Remove variable.
(vc-annotate-display-select): Only call vc-annotate-mode
if we're not in that mode already.
2004-10-10 09:23:11 +00:00
Thien-Thi Nguyen
946b248fd7 (annotate-time): Document point handling.
(vc-annotate-display-autoscale): Doc fix.
2004-09-15 16:47:08 +00:00
Stefan Monnier
0452b6e745 (vc-buffer-context, vc-restore-buffer-context): Disable obsolete code. 2004-09-07 04:47:38 +00:00
Juanma Barranquero
4b284383bb (vc-print-log): Fix code that handles wrong-number-of-arguments in backend
call.
2004-04-23 21:03:21 +00:00
André Spiegel
a0fa8faddc (vc-print-log): Quote signal. 2004-04-16 10:21:24 +00:00
André Spiegel
65f11a25b4 (vc-print-log): Use condition-case to check for backward
compatibility.
2004-04-11 15:05:18 +00:00
Stefan Monnier
c63f9a0e46 (vc-version-diff, vc-default-diff-tree): Change rel' -> rev'.
(vc-diff-label): New fun.
(vc-diff-internal): Use it.
2004-03-28 22:00:19 +00:00
Stefan Monnier
8dc87047d1 (vc-maybe-resolve-conflicts): Don't prompt the user. 2004-03-26 16:17:33 +00:00