comparison lisp/ChangeLog @ 31521:8fa910d9155b

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 09 Sep 2000 00:50:26 +0000
parents 5416fcb729d7
children 2d2a517eb50f
comparison
equal deleted inserted replaced
31520:f9d2d484e1e2 31521:8fa910d9155b
1 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2
3 * vc-sccs.el (vc-sccs-register):
4 * vc-rcs.el (vc-rcs-register):
5 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
6 * vc.el (vc-register): Clear file's properties.
7
1 2000-09-08 Gerd Moellmann <gerd@gnu.org> 8 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2 9
3 * faces.el (face-spec-set): Only face-spec-reset-face when 10 * faces.el (face-spec-set): Only face-spec-reset-face when
4 ATTRS is non-nil. 11 ATTRS is non-nil.
5 12
7 14
8 * help.el (help-insert-xref-button): Fix a typo in doc string. 15 * help.el (help-insert-xref-button): Fix a typo in doc string.
9 16
10 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> 17 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
11 18
12 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix 19 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
13 doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input 20 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
14 methods. 21 methods.
15 22
16 * menu-bar.el (read-mail-item-name): New function. 23 * menu-bar.el (read-mail-item-name): New function.
17 (menu-bar-tools-menu): Use it to compute and display the package 24 (menu-bar-tools-menu): Use it to compute and display the package
18 used to read email. 25 used to read email.
21 2000-09-07 Dave Love <fx@gnu.org> 28 2000-09-07 Dave Love <fx@gnu.org>
22 29
23 * diff-mode.el (diff-mouse-goto-source): New function. 30 * diff-mode.el (diff-mouse-goto-source): New function.
24 31
25 * vc-sccs.el: Doc fixes. 32 * vc-sccs.el: Doc fixes.
26 (vc-sccs-register-switches, vc-sccs-master-templates): Add 33 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
27 :version.
28 34
29 * vc-rcs.el: Doc fixes. 35 * vc-rcs.el: Doc fixes.
30 (vc-rcs-register-switches, vc-rcs-checkin-switches) 36 (vc-rcs-register-switches, vc-rcs-checkin-switches)
31 (vc-rcs-checkout-switches, vc-rcs-header) 37 (vc-rcs-checkout-switches, vc-rcs-header)
32 (vc-rcs-master-templates): Add or change :version. 38 (vc-rcs-master-templates): Add or change :version.
33 39
34 * vc-cvs.el: DOc fixes. 40 * vc-cvs.el: Doc fixes.
35 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit) 41 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
36 (vc-cvs-stay-local): Add :version. 42 (vc-cvs-stay-local): Add :version.
37 43
38 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle. 44 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
39 45
77 Include the pattern for character set. 83 Include the pattern for character set.
78 (leim): New group. 84 (leim): New group.
79 85
80 * international/quail.el: Don't require face. 86 * international/quail.el: Don't require face.
81 (quail): New group. 87 (quail): New group.
82 (quail-other-command): Dummy command to make quail-help work 88 (quail-other-command): Dummy command to make quail-help work better.
83 better.
84 (quail-keyboard-layout-alist): Add Keyboard type "jp106". 89 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
85 (quail-keyboard-layout-substitution): New variable. 90 (quail-keyboard-layout-substitution): New variable.
86 (quail-update-keyboard-layout): New function. 91 (quail-update-keyboard-layout): New function.
87 (quail-keyboard-layout-type): New customizable variable. 92 (quail-keyboard-layout-type): New customizable variable.
88 (quail-set-keyboard-layout): Call quail-update-keyboard-layout. 93 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
89 (quail-keyboard-translate): Pay attention to 94 (quail-keyboard-translate): Pay attention to
90 quail-keyboard-layout-substitution. 95 quail-keyboard-layout-substitution.
91 (quail-insert-kbd-layout): New function. 96 (quail-insert-kbd-layout): New function.
92 (quail-show-keyboard-layout): New function. 97 (quail-show-keyboard-layout): New function.
93 (quail-get-translation): If the definition is a vector of length 98 (quail-get-translation): If the definition is a vector of length
94 1, and the element is a string of lenght 1, return the character 99 1, and the element is a string of length 1, return the character
95 in that string. 100 in that string.
96 (quail-update-current-translations): Fix the case of 101 (quail-update-current-translations): Fix the case of
97 relative-index out of range. 102 relative-index out of range.
98 (quail-build-decode-map, quail-insert-decode-map): New Functions. 103 (quail-build-decode-map, quail-insert-decode-map): New Functions.
99 (quail-help): Show keyboard layout by quail-insert-kbd-layout. 104 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
100 Show key sequences for all avairable characters. 105 Show key sequences for all available characters.
101 (quail-help-insert-keymap-description): Don't show such verbose 106 (quail-help-insert-keymap-description): Don't show such verbose
102 key bindings as quail-self-insert-command. 107 key bindings as quail-self-insert-command.
103 108
104 * international/titdic-cnv.el (quail-cxterm-package-ext-info): 109 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
105 Format changed, and each element now have extra documentations. 110 Format changed, and each element now have extra documentations.
312 (vc-dired-listing-switches): New variable. 317 (vc-dired-listing-switches): New variable.
313 (vc-directory): Use it, instead of dired-listing-switches. 318 (vc-directory): Use it, instead of dired-listing-switches.
314 319
315 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too. 320 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
316 (vc-cvs-dir-state): New function. 321 (vc-cvs-dir-state): New function.
317 (vc-cvs-dir-state-heuristic): New function, subroutine of the 322 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
318 above.
319 (vc-cvs-parse-entry): New function, also to be used in 323 (vc-cvs-parse-entry): New function, also to be used in
320 vc-cvs-registered. 324 vc-cvs-registered.
321 325
322 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 326 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
323 327
665 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 669 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
666 670
667 * vc.el: Update Copyright and add a crude list of backend funs. 671 * vc.el: Update Copyright and add a crude list of backend funs.
668 (vc-writable-p): New function. 672 (vc-writable-p): New function.
669 (with-vc-file): Use vc-writable-p. 673 (with-vc-file): Use vc-writable-p.
670 (vc-next-action-on-file): Update call to vc-steal-lock and 674 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
671 cleanup.
672 (vc-register): Avoid vc-name. 675 (vc-register): Avoid vc-name.
673 (vc-locking-user): Remove. 676 (vc-locking-user): Remove.
674 (vc-steal-lock): Make the `owner' arg non-optional. 677 (vc-steal-lock): Make the `owner' arg non-optional.
675 (vc-merge): Use vc-writable-p instead of vc-locking-user and 678 (vc-merge): Use vc-writable-p instead of vc-locking-user and
676 vc-checkout-model. 679 vc-checkout-model.
720 (vc-check-master-templates): Use `vc-possible-master' and allow 723 (vc-check-master-templates): Use `vc-possible-master' and allow
721 funs in vc-X-master-templates to return a non-existent file. 724 funs in vc-X-master-templates to return a non-existent file.
722 725
723 * vc-cvs.el: Update Copyright. 726 * vc-cvs.el: Update Copyright.
724 (vc-cvs-diff): Remove unused `backend' variable. 727 (vc-cvs-diff): Remove unused `backend' variable.
725 (vc-cvs-checkout): Only toggle read-only if the buffer is setup 728 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
726 right.
727 729
728 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered. 730 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
729 731
730 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 732 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
731 733
802 804
803 * vc.el (vc-register): Put a FIXME note for a newly found bug. 805 * vc.el (vc-register): Put a FIXME note for a newly found bug.
804 Call vc-call-backend without the leading vc-. 806 Call vc-call-backend without the leading vc-.
805 (vc-responsible-backend, vc-finish-logentry, vc-annotate) 807 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
806 (vc-check-headers): Call vc-call-backend without the leading vc-. 808 (vc-check-headers): Call vc-call-backend without the leading vc-.
807 (vc-annotate-time-span): Replace confusing use of `cond' with 809 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
808 `or'.
809 (vc-annotate-display): Replace confusing use of `cond' with `or'. 810 (vc-annotate-display): Replace confusing use of `cond' with `or'.
810 Call vc-call-backend without the leading vc-. 811 Call vc-call-backend without the leading vc-.
811 812
812 * vc-cvs.el (tail): Provide vc-cvs. 813 * vc-cvs.el (tail): Provide vc-cvs.
813 * vc-sccs.el (tail): Provide vc-sccs. 814 * vc-sccs.el (tail): Provide vc-sccs.
814 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check. 815 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
815 816
816 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions) 817 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
817 (vc-make-backend-function, vc-call): Pass names without leading 818 (vc-make-backend-function, vc-call): Pass names without leading
818 `vc-' to vc-call-backend so we can blindly prefix them with 819 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
819 vc-BACKEND.
820 (vc-loadup): Don't load vc-X-hooks if vc-X is requested. 820 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
821 (vc-call-backend): Always try to load vc-X-hooks. 821 (vc-call-backend): Always try to load vc-X-hooks.
822 (vc-registered): Remove vc- in call to vc-call-backend. 822 (vc-registered): Remove vc- in call to vc-call-backend.
823 823
824 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 824 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
828 (vc-maybe-resolve-conflicts): New function to reduce 828 (vc-maybe-resolve-conflicts): New function to reduce
829 code-duplication. Additionally, it puts the buffer in 829 code-duplication. Additionally, it puts the buffer in
830 `smerge-mode' if applicable. 830 `smerge-mode' if applicable.
831 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after 831 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
832 calling `merge-news'. 832 calling `merge-news'.
833 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling 833 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
834 `merge'.
835 (vc-log-edit): New function. Replacement for `vc-log-mode' by 834 (vc-log-edit): New function. Replacement for `vc-log-mode' by
836 interfacing to log-edit.el. 835 interfacing to log-edit.el.
837 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if 836 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
838 log-edit is available. 837 log-edit is available.
839 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available. 838 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
846 (vc-log-mode): Minor docstring fix and use vc-log-mode-map. 845 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
847 846
848 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove. 847 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
849 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling. 848 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
850 849
851 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a 850 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
852 FIXME.
853 851
854 2000-09-04 Andre Spiegel <spiegel@gnu.org> 852 2000-09-04 Andre Spiegel <spiegel@gnu.org>
855 853
856 * vc.el (vc-file-clear-masterprops): Removed. 854 * vc.el (vc-file-clear-masterprops): Removed.
857 (vc-checkin, vc-revert-buffer): Removed calls to the above. 855 (vc-checkin, vc-revert-buffer): Removed calls to the above.
888 (vc-call-backend): Oops, brain fart. 886 (vc-call-backend): Oops, brain fart.
889 887
890 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 888 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
891 889
892 * vc-cvs.el (vc-cvs-state): Typo. 890 * vc-cvs.el (vc-cvs-state): Typo.
893 (vc-cvs-merge-news): Return the status code rather than the error 891 (vc-cvs-merge-news): Return the status code rather than the error msg.
894 msg.
895 892
896 2000-09-04 Andre Spiegel <spiegel@gnu.org> 893 2000-09-04 Andre Spiegel <spiegel@gnu.org>
897 894
898 * vc.el (with-vc-file, vc-next-action, vc-version-diff) 895 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
899 (vc-dired-mark-locked): Replaced usage of vc-locking-user with 896 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
924 (vc-state): Don't use 'reserved any more. Just use the same 921 (vc-state): Don't use 'reserved any more. Just use the same
925 convention as the one used for vc-<backend>-state where the 922 convention as the one used for vc-<backend>-state where the
926 locking user (as a string) is returned. 923 locking user (as a string) is returned.
927 (vc-locking-user): Update, based on the above convention. The 924 (vc-locking-user): Update, based on the above convention. The
928 'vc-locking-user property has disappeared. 925 'vc-locking-user property has disappeared.
929 (vc-mode-line, vc-default-mode-line-string): Adapt to new 926 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
930 `vc-state'.
931 927
932 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state 928 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
933 with a heuristic one. 929 with a heuristic one.
934 (vc-cvs-merge-news): Just use 'edited for the case with conflicts. 930 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
935 (vc-cvs-checkin): Do a trivial parse to set the state in case of 931 (vc-cvs-checkin): Do a trivial parse to set the state in case of
938 such a setup (or to force an update for that matter). 934 such a setup (or to force an update for that matter).
939 (vc-cvs-logentry-check): Remove, the default works as well. 935 (vc-cvs-logentry-check): Remove, the default works as well.
940 936
941 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 937 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
942 938
943 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs 939 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
944 asynchronously.
945 940
946 * vc.el (vc-do-command): kill-all-local-variables, to reset any 941 * vc.el (vc-do-command): kill-all-local-variables, to reset any
947 major-mode in which the buffer might have been put earlier. Use 942 major-mode in which the buffer might have been put earlier. Use
948 `remove' and `when'. Allow `okstatus' to be `async' and use 943 `remove' and `when'. Allow `okstatus' to be `async' and use
949 `start-process' in this case. 944 `start-process' in this case.
964 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic. 959 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
965 (vc-cvs-toggle-read-only): Removed. 960 (vc-cvs-toggle-read-only): Removed.
966 961
967 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> 962 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
968 963
969 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): 964 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
970 Remove.
971 (vc-prefix-map): Move from vc-hooks.el and make autoloaded. 965 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
972 (vc-release-greater-or-equal-p): Move to vc-rcs.el. 966 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
973 (vc-file-clear-masterprops): Braindead "fix". It was a nop and 967 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
974 still is. So maybe it should be removed. 968 still is. So maybe it should be removed.
975 (vc-head-version, vc-find-binary): Remove. 969 (vc-head-version, vc-find-binary): Remove.
976 (vc-recompute-state): Move from vc-hooks.el. 970 (vc-recompute-state): Move from vc-hooks.el.
977 (vc-next-action-on-file): Add a `simple' argument to allow 971 (vc-next-action-on-file): Add a `simple' argument to allow
978 avoiding the `recompute' step (use for vc-cvs-simple-toggle). 972 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
979 (vc-default-toggle-read-only, vc-default-record-rename): New 973 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
980 functions. 974 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
981 (vc-next-action, vc-dired-hook): Use vc-state instead of
982 vc-cvs-status.
983 (vc-dired-mode-map): Properly defvar it. 975 (vc-dired-mode-map): Properly defvar it.
984 (vc-print-log): Call log-view-mode if available. 976 (vc-print-log): Call log-view-mode if available.
985 (small-temporary-file-directory): defvar instead of use boundp. 977 (small-temporary-file-directory): defvar instead of use boundp.
986 (vc-merge-news): Moved to vc-cvs.el. 978 (vc-merge-news): Moved to vc-cvs.el.
987 (vc-default-merge-news): New function. 979 (vc-default-merge-news): New function.
1002 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p). 994 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1003 (vc-release-greater-or-equal-p): Move from vc. 995 (vc-release-greater-or-equal-p): Move from vc.
1004 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part, 996 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1005 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates. 997 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1006 (vc-rcs-checkout): Add a missing `new-version' argument in the 998 (vc-rcs-checkout): Add a missing `new-version' argument in the
1007 call to vc-rcs-latest-on-branch-p. Hopefully that was the right 999 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1008 one.
1009 1000
1010 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks. 1001 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1011 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el. 1002 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1012 (vc-rcs-latest-on-branch-p): Use the `version' argument rather 1003 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1013 than the apparently unbound `workfile-version'. 1004 than the apparently unbound `workfile-version'.
1021 (vc-call-backend): If the function if not bound yet, try to load 1012 (vc-call-backend): If the function if not bound yet, try to load
1022 the non-hook file to see if it provides it. 1013 the non-hook file to see if it provides it.
1023 (vc-call): New macro plus use it wherever possible. 1014 (vc-call): New macro plus use it wherever possible.
1024 (vc-backend-subdirectory-name): Use neither `vc-default-back-end' 1015 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1025 nor `vc-find-binary' since it's only called from 1016 nor `vc-find-binary' since it's only called from
1026 vc-mistrust-permission which is only used once the backend is 1017 vc-mistrust-permission which is only used once the backend is known.
1027 known.
1028 (vc-checkout-model): Fix parenthesis. 1018 (vc-checkout-model): Fix parenthesis.
1029 (vc-recompute-state, vc-prefix-map): Move to vc.el. 1019 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1030 1020
1031 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler 1021 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1032 warnings).
1033 (vc-cvs-release, vc-cvs-system-release): Remove. 1022 (vc-cvs-release, vc-cvs-system-release): Remove.
1034 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables. 1023 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1035 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different 1024 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1036 status symbols. 1025 status symbols.
1037 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el. 1026 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1066 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize 1055 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1067 directly in the defvar. 1056 directly in the defvar.
1068 (vc-do-command): Bind inhibit-read-only so as to properly handle 1057 (vc-do-command): Bind inhibit-read-only so as to properly handle
1069 the case where the destination buffer has been made read-only. 1058 the case where the destination buffer has been made read-only.
1070 (vc-diff): Delegate to vc-version-diff in all cases. 1059 (vc-diff): Delegate to vc-version-diff in all cases.
1071 (vc-version-diff): Setup the *vc-diff* buffer as was done in 1060 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1072 vc-diff.
1073 (vc-annotate-mode-variables): Removed (code moved partly to 1061 (vc-annotate-mode-variables): Removed (code moved partly to
1074 defvars and partly to vc-annotate-add-menu). 1062 defvars and partly to vc-annotate-add-menu).
1075 (vc-annotate-mode): Turned into a derived-mode. 1063 (vc-annotate-mode): Turned into a derived-mode.
1076 (vc-annotate-add-menu): Moved in code in 1064 (vc-annotate-add-menu): Moved in code in
1077 vc-annotate-mode-variables. 1065 vc-annotate-mode-variables.
1090 above is too slow to be enabled unconditionally. 1078 above is too slow to be enabled unconditionally.
1091 (vc-update-change-log): Fixed typo. 1079 (vc-update-change-log): Fixed typo.
1092 1080
1093 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'. 1081 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1094 1082
1095 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten. Now 1083 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1096 handles state `unlocked-changes'. 1084 Now handles state `unlocked-changes'.
1097 (vc-sccs-workfile-unchanged-p): New function, to support the 1085 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1098 above.
1099 1086
1100 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'. 1087 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1101 1088
1102 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo. 1089 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1103 (vc-rcs-fetch-master-state): Bug fixes. Recognize state 1090 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1125 1112
1126 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions): 1113 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1127 Updated function lists. 1114 Updated function lists.
1128 (vc-call-backend): Fixed typo. 1115 (vc-call-backend): Fixed typo.
1129 1116
1130 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p): New 1117 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1131 functions. 1118 New functions.
1132 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'. Removed 1119 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1133 query option. Redocumented. 1120 Removed query option. Redocumented.
1134 1121
1135 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1122 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1136 1123
1137 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'. 1124 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1138 1125
1150 * vc-sccs-hooks.el (vc-uses-locking): Renamed to 1137 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1151 vc-checkout-model. Return appropriate values. Updated callers. 1138 vc-checkout-model. Return appropriate values. Updated callers.
1152 1139
1153 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1140 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1154 1141
1155 * vc.el (vc-backend-release, vc-backend-release-p): Functions 1142 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1156 moved into vc-rcs.el
1157 (vc-backend-revert): Function moved into `vc-revert'; 1143 (vc-backend-revert): Function moved into `vc-revert';
1158 `vc-next-action' must be updated to accomodate this change. 1144 `vc-next-action' must be updated to accomodate this change.
1159 (vc-backend-steal): Function moved into `vc-finish-steal'. 1145 (vc-backend-steal): Function moved into `vc-finish-steal'.
1160 (vc-backend-logentry-check): Function moved into 1146 (vc-backend-logentry-check): Function moved into
1161 `vc-finish-logentry'. 1147 `vc-finish-logentry'.
1165 `vc-create-snapshot'. 1151 `vc-create-snapshot'.
1166 1152
1167 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1153 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1168 1154
1169 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking): 1155 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
1170 Renamed to vc-checkout-model. Return appropriate 1156 Rename to vc-checkout-model. Return appropriate values.
1171 values. Updated callers. 1157 Update callers.
1172 1158
1173 * vc-hooks.el (vc-backend-hook-functions): Renamed vc-uses-locking 1159 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
1174 to vc-checkout-model. 1160 to vc-checkout-model.
1175 (vc-checkout-required): Renamed to vc-checkout-model. 1161 (vc-checkout-required): Rename to vc-checkout-model.
1176 Re-implemented and re-commented. 1162 Re-implement and re-comment.
1177 (vc-after-save): Use vc-checkout-model. 1163 (vc-after-save): Use vc-checkout-model.
1178 1164
1179 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1165 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1180 1166
1181 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff): Updated 1167 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
1182 to use the vc-BACKEND-diff functions instead; `vc-diff' is now 1168 Update to use the vc-BACKEND-diff functions instead.
1183 working. 1169 `vc-diff' is now working.
1184 1170
1185 * vc-rcs.el (vc-rcs-logentry-check): Function added. 1171 * vc-rcs.el (vc-rcs-logentry-check): New function.
1186 1172
1187 * vc-cvs.el (vc-cvs-logentry-check): Function added. 1173 * vc-cvs.el (vc-cvs-logentry-check): New function.
1188 1174
1189 * vc-sccs.el (vc-sccs-diff): Function changed name from 1175 * vc-sccs.el (vc-sccs-diff): Function changed name from
1190 `vc-backend-diff'. This makes `vc-diff' work. 1176 `vc-backend-diff'. This makes `vc-diff' work.
1191 1177
1192 * vc-hooks.el (vc-backend-functions): Added `vc-diff' to the list 1178 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
1193 of functions possibly implemented in a vc-BACKEND library. 1179 of functions possibly implemented in a vc-BACKEND library.
1194 (vc-checkout-required): Bug fixed that caused an error to be 1180 (vc-checkout-required): Fix bug that caused an error to be
1195 signaled during `vc-after-save'. 1181 signaled during `vc-after-save'.
1196 1182
1197 * vc.el: Typo fixed. This checkin is made with our new VC code 1183 * vc.el: Fix typo.
1198 base for the very first time. A simple `(vc-checkin 1184 This checkin is made with our new VC code base for the very first time.
1199 (buffer-file-name))' was used to perform it. 1185 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
1200 1186
1201 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to 1187 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
1202 `vc-checkout-required' updated to `vc-cvs-uses-locking'. 1188 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
1203 1189
1204 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required' 1190 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
1205 updated to `vc-uses-locking'. 1191 updated to `vc-uses-locking'.
1206 (vc-checkout-required): Call to backend function 1192 (vc-checkout-required): Call to backend function.
1207 `vc-checkout-required' updated to `vc-uses-locking' instead. 1193 `vc-checkout-required' updated to `vc-uses-locking' instead.
1208 1194
1209 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to 1195 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
1210 `vc-checkout-required' updated to `vc-rcs-uses-locking'. 1196 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
1211 1197
1212 * vc.el (vc-checkin): Merged with `vc-backend-checkin' and updated 1198 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
1213 to match the split into various backends. 1199 to match the split into various backends.
1214 (vc-backend-checkin): Removed. Merged with `vc-checkin'. 1200 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
1215 (vc-retrieve-snapshot): Bug fix. 1201 (vc-retrieve-snapshot): Bug fix.
1216 1202
1217 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1203 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1218 1204
1219 * vc-sccs.el (vc-sccs-release): Doc fix. 1205 * vc-sccs.el (vc-sccs-release): Doc fix.
1289 1275
1290 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix. 1276 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
1291 1277
1292 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix. 1278 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
1293 1279
1294 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Renamed 1280 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
1295 `vc-uses-locking' to `vc-checkout-required'. Renamed the `locked' 1281 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
1296 state to `reserved'. 1282 state to `reserved'.
1297 1283
1298 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to 1284 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
1299 `vc-checkout-required'. Rename the `locked' state to `reserved'. 1285 `vc-checkout-required'. Rename the `locked' state to `reserved'.
1300 1286
1301 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1287 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1302 1288
1303 * vc-rcs-hooks.el: Implemented new state model. Hardly anything 1289 * vc-rcs-hooks.el: Implement new state model. Hardly anything
1304 untouched. 1290 untouched.
1305 1291
1306 * vc-rcs.el (vc-rcs-latest-on-branch-p): Moved to vc-rcs-hooks.el. 1292 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
1307 1293
1308 * vc.el (vc-update-change-log): Use small-temporary-file-directory, 1294 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
1309 if defined. (Merged from main line, slightly adapted.) 1295 if defined. (Merged from main line, slightly adapted.)
1310 1296
1311 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible 1297 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
1312 millenium problem (merged from mainline). 1298 millenium problem (merged from mainline).
1313 1299
1319 * vc.el: Split the annotate feature into a BACKEND specific part 1305 * vc.el: Split the annotate feature into a BACKEND specific part
1320 and moved it from the vc-cvs.el file to this one. 1306 and moved it from the vc-cvs.el file to this one.
1321 1307
1322 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1308 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1323 1309
1324 * vc-hooks.el: Implemented new state model. 1310 * vc-hooks.el: Implement new state model.
1325 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New 1311 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
1326 functions. 1312 (vc-locking-user): Simplify. Now only needed if the file is
1327 (vc-locking-user): Simplified. Now only needed if the file is
1328 locked by somebody else. 1313 locked by somebody else.
1329 (vc-lock-from-permissions): Removed. Functionality is in 1314 (vc-lock-from-permissions): Remove. Functionality is in
1330 vc-sccs-hooks.el and vc-rcs-hooks.el now. 1315 vc-sccs-hooks.el and vc-rcs-hooks.el now.
1331 (vc-mode-line-string): New name for former vc-status. Adapted. 1316 (vc-mode-line-string): New name for former vc-status. Adapted.
1332 (vc-mode-line): Adapted to use the above. Removed optional 1317 (vc-mode-line): Adapt to use the above. Remove optional parameter.
1333 parameter. 1318
1334 1319 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
1335 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New 1320 Various simplifications and adaptations all over the place.
1336 functions. Various simplifications and adaptations all over the 1321
1337 place. 1322 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
1338 1323 Simplify and adapt the rest.
1339 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New 1324
1340 functions. Simplified and adapted the rest. 1325 * vc.el (vc-resynch-window): Add TODO comment: check for
1341
1342 * vc.el (vc-resynch-window): Added TODO comment: check for
1343 interaction with view mode according to recent RCS change. 1326 interaction with view mode according to recent RCS change.
1344 (vc-backend-merge-news): Merged "CMUP" patch from mainline. 1327 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
1345 1328
1346 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1329 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1347 1330
1348 * vc.el: Converted the remaining function comments to 1331 * vc.el: Convert the remaining function comments to docstrings.
1349 documentation strings.
1350 1332
1351 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1333 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1352 1334
1353 * vc.el (vc-backend-release, vc-release-greater-or-equal) 1335 * vc.el (vc-backend-release, vc-release-greater-or-equal)
1354 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part) 1336 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
1372 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed. 1354 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
1373 1355
1374 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1356 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1375 1357
1376 * vc-hooks.el (vc-master-templates): Is really obsolete. 1358 * vc-hooks.el (vc-master-templates): Is really obsolete.
1377 Commented out the definition for now. What is the right procedure 1359 Comment out the definition for now. What is the right procedure
1378 to get rid of it? 1360 to get rid of it?
1379 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely 1361 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
1380 rewritten. 1362 rewritten.
1381 (vc-default-registered): Removed. 1363 (vc-default-registered): Remove.
1382 (vc-check-master-templates): New function; does mostly what the 1364 (vc-check-master-templates): New function; does mostly what the
1383 above did before. 1365 above did before.
1384 (vc-locking-user): Don't rely on the backend to set the property. 1366 (vc-locking-user): Don't rely on the backend to set the property.
1385 1367
1386 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values. 1368 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
1387 Rewrote documentation. 1369 Rewrite documentation.
1388 (vc-rcs-templates-grabbed): New variable. 1370 (vc-rcs-templates-grabbed): New variable.
1389 (vc-rcs-grab-templates): New function. 1371 (vc-rcs-grab-templates): New function.
1390 (vc-rcs-registered): Rewritten to use above mechanism. 1372 (vc-rcs-registered): Rewrite to use above mechanism.
1391 1373
1392 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values. 1374 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
1393 Rewrote documentation. 1375 Rewrite documentation.
1394 (vc-sccs-templates-grabbed): New variable. 1376 (vc-sccs-templates-grabbed): New variable.
1395 (vc-sccs-grab-templates): New function. 1377 (vc-sccs-grab-templates): New function.
1396 (vc-sccs-registered): Rewritten to use above mechanism. 1378 (vc-sccs-registered): Rewrite to use above mechanism.
1397 (vc-sccs-search-project-dir): Renamed from 1379 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
1398 vc-search-sccs-project-dir. Don't throw the result, simply 1380 Don't throw the result, simply return it.
1399 return it. 1381
1400 1382 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
1401 * vc-cvs-hooks.el (vc-cvs-master-templates): Variable removed. 1383 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
1402 (vc-cvs-find-master): Removed. Code is now in vc-cvs-registered. 1384 (vc-cvs-registered): Does the check itself now. Simplify.
1403 (vc-cvs-registered): Does the check itself now. Simplified. 1385
1404 1386 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
1405 * vc-cvs.el (vc-cvs-revert): Merged and adapted "unedit" patch
1406 from main line. 1387 from main line.
1407 1388
1408 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1389 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1409 1390
1410 * vc-cvs.el (vc-cvs-diff): Function added. 1391 * vc-cvs.el (vc-cvs-diff): New function.
1411 1392
1412 * vc-sccs.el (vc-sccs-diff): Function added. 1393 * vc-sccs.el (vc-sccs-diff): New function.
1413 1394
1414 * vc-rcs.el (vc-rcs-diff): Function added. 1395 * vc-rcs.el (vc-rcs-diff): New function.
1415 (vc-rcs-checkout) Bug (typo) found and fixed. 1396 (vc-rcs-checkout): Bug (typo) found and fixed.
1416 (vc-rcs-register-switches) Variable `vc-rcs-register-switches' added. 1397 (vc-rcs-register-switches): New variable.
1417 1398
1418 * vc.el (vc-backend-diff): Function removed and placed in the 1399 * vc.el (vc-backend-diff): Function removed and placed in the
1419 backend files. 1400 backend files.
1420 1401
1421 2000-09-04 Martin Lorentzson <martinl@gnu.org> 1402 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1436 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de> 1417 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1437 1418
1438 * spec.txt: Added specification of vc-state. 1419 * spec.txt: Added specification of vc-state.
1439 1420
1440 * vc-sccs-hooks.el (vc-sccs-master-properties): 1421 * vc-sccs-hooks.el (vc-sccs-master-properties):
1441 Removed handling of vc-latest-version and 1422 Remove handling of vc-latest-version and
1442 vc-your-latest-version. What used to be vc-latest-version, is now 1423 vc-your-latest-version. What used to be vc-latest-version, is now
1443 returned as vc-workfile-version. 1424 returned as vc-workfile-version.
1444 (vc-sccs-workfile-version): Adapted. 1425 (vc-sccs-workfile-version): Adapt.
1445 1426
1446 2000-09-04 Dave Love <fx@gnu.org> 1427 2000-09-04 Dave Love <fx@gnu.org>
1447 1428
1448 * vc.el: [Merged from mainline.] 1429 * vc.el: [Merged from mainline.]
1449 (vc-dired-mode): Make the dired-move-to-filename-regexp 1430 (vc-dired-mode): Make the dired-move-to-filename-regexp