1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

24149 Commits

Author SHA1 Message Date
Stefan Monnier
d699c8e2cf (vc-mcvs-stay-local): Remove unused var.
(vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
(vc-mcvs-diff-tree, vc-mcvs-annotate-command)
(vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
(vc-mcvs-checkin): Disallow commits to a numbered rev.
(vc-mcvs-repository-hostname): New function.
(vc-mcvs-stay-local-p): Remove.
2003-05-09 17:05:40 +00:00
Stefan Monnier
7ffc77d367 (vc-svn-rename-file): New fun.
(vc-svn-diff): Correctly check svn's return status.
(vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
(vc-svn-diff-tree): Use vc-stay-local-p.
(vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
(vc-svn-use-edit): Fix the :version property.
(vc-svn-stay-local): Remove unused var.
(vc-svn-mode-line-string): Remove, use the default instead.
(vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
(vc-svn-stay-local-p): Remove.
2003-05-09 16:41:19 +00:00
Stefan Monnier
a36319a462 New backend functions delete-file' and repository-hostname'.
(vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
(vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
(vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
Mark as obsolete.
(vc-delete-file): New command.
(vc-default-rename-file): New function.
(vc-rename-file): Use it.
Be careful to disallow renaming if the file is locked or out-of-date.
(vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
(vc-cancel-version, vc-annotate): Use buffer-file-name variable.
2003-05-09 16:33:10 +00:00
Sam Steingold
7b33268a39 (cvs-mode-find-file): Fixed the last patch's logic. 2003-05-09 15:59:02 +00:00
Stefan Monnier
89c52be24c (vc-mcvs-stay-local): Remove unused var. 2003-05-09 14:35:51 +00:00
Stefan Monnier
a0688443cc (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
(vc-cvs-delete-file, vc-cvs-rename-file): New functions.
2003-05-09 14:32:01 +00:00
Stefan Monnier
2766aaafdc (vc-svn-rename-file): New fun.
(vc-svn-diff): Correctly check svn's return status.
2003-05-09 14:13:40 +00:00
Stefan Monnier
75e2fcb63a Use the original buffer-name as `base' in place of the
nondirectory part of the file name.
(uniquify-rationalize-file-buffer-names):
Split the `newbuffile' arg into `base' and `dirname'.
Reuse old uniquify-items to avoid recomputing their base&dirname.
(uniquify-buffer-file-name): Only return the directory part.
(uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
(rename-buffer): Use the `newname' arg as base.
(create-file-buffer): Split the file name into base and dirname.
2003-05-09 13:21:05 +00:00
Juanma Barranquero
9b60c729b4 (smtpmail-send-queued-mail): Don't use kill-line. 2003-05-08 22:16:39 +00:00
Stefan Monnier
568ec71d65 *** empty log message *** 2003-05-08 20:52:23 +00:00
Stefan Monnier
f153cb52f8 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
(vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
(vc-cvs-revert): Undo patch committed 2003-05-08T20:08:12Z!monnier@iro.umontreal.ca.
2003-05-08 20:44:50 +00:00
Stefan Monnier
cc47c6c183 (vc-cvs-dired-state-info): Typo. 2003-05-08 20:08:12 +00:00
Glenn Morris
f0aa2e2187 (diary-mail-entries): Use call-interactively. 2003-05-08 19:52:47 +00:00
Glenn Morris
72702c85fb *** empty log message *** 2003-05-08 19:51:49 +00:00
Stefan Monnier
c3c140d6f3 (uniquify-after-kill-buffer-p): Fix misleading docstring.
(uniquify-make-item): Make `proposed' optional.
(uniquify-rationalize-file-buffer-names): Don't compute the
initial proposed name.
(uniquify-buffer-file-name): Remove dead code.
(uniquify-strip-common-suffix): New var.
(uniquify-rationalize): Always recompute initial proposed name.
Strip common suffix if requested.
2003-05-08 19:39:32 +00:00
Glenn Morris
61d094deb5 (diary-pull-attrs): Make ret-attr', attr' local.
(list-diary-entries): Make `temp' local.
(fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
(diary-mail-entries): There is no fancy-diary-buffer if there are
no diary entries.
(mark-diary-entries): Make `temp' local.
(mark-sexp-diary-entries): Make `marks' local, remove `temp'.
(list-sexp-diary-entries): Make `temp' local.
(add-to-diary-list): Make `prefix' local.
2003-05-08 19:34:49 +00:00
Stefan Monnier
3e6bab6512 (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
(vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
2003-05-08 19:24:56 +00:00
Stefan Monnier
dc0f87c9f5 (vc-sccs-register, vc-sccs-checkin)
(vc-sccs-find-version, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
(vc-sccs-register): Remove unused var `|'.
2003-05-08 19:18:33 +00:00
Stefan Monnier
d011ca0f9b (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
(vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
2003-05-08 19:01:04 +00:00
Stefan Monnier
fd14074395 (vc-svn-dired-state-info): Use `added' for added files and
don't use `concat' unnecessarily.  Remove impossible cases.
(vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
Use vc-switches.
(vc-svn-checkin): Use vc-switches.  Fix up regexp.
(vc-svn-diff): Use vc-switches.
Don't return 0 for newly added empty files.
Don't use svn's return status.
(vc-svn-parse-status): Recognize copied files as well.
Use the last-modified revision for workfile-version.
2003-05-08 18:31:21 +00:00
Stefan Monnier
1207c9d254 (vc-mcvs-read): Don't require `file' to exist.
(vc-mcvs-diff): Don't return 0 for newly added empty files.
2003-05-08 18:25:09 +00:00
Stefan Monnier
7837647476 (vc-cvs-dired-state-info): Use `added' for added files and
don't use `concat' unnecessarily.  Remove impossible cases.
(vc-cvs-diff): Don't return 0 for newly added empty files.
(vc-cvs-stay-local-p): Simplify.
2003-05-08 18:23:53 +00:00
Dave Love
347003be13 *** empty log message *** 2003-05-08 17:54:14 +00:00
Stefan Monnier
2a3897f5cc (vc-default-workfile-unchanged-p): Pass nil
rather than (vc-workfile-version file) to diff.
2003-05-08 17:45:08 +00:00
Stefan Monnier
b4e4e3a832 (with-vc-properties, with-vc-file, edit-vc-file):
Add `declare's for debugging and indentation.
(vc-do-command): Use `remq'.
(vc-buffer-context): Remove unused var `curbuf'.
(vc-next-action-dired): Remove unused var `dired-dir'.
(vc-switches): New fun.
(vc-diff-switches-list): Use it.
(vc-dired-hook): Remove unused var `cvs-dir'.
(vc-dired-purge): Remove unused var `subdir'.
(vc-cancel-version): Remove unused var `config'.
(vc-rename-master): Use dolist iso mapcar.
(vc-rename-file): Remove redundant tests.
Clear the properties of the old file name.
(vc-annotate): Pass the complete filename to `annotate-command'.
(vc-annotate-lines): Remove unused var `overlay'.
2003-05-08 17:41:16 +00:00
Juanma Barranquero
81404d64b3 *** empty log message *** 2003-05-07 22:12:02 +00:00
Juanma Barranquero
cdec2ad721 (insert-file-contents-literally): Allow it to be called within a magic file name
handler.
2003-05-07 21:58:24 +00:00
Stefan Monnier
ad599c1193 (uniquify-rationalize-file-buffer-names):
Don't uniquify if there is no filename.
2003-05-07 21:56:43 +00:00
Dave Love
c6e26ce2e4 (rfc2047-header-encoding-alist): Add Followup-To.
(rfc2047-encode-message-header): Fold when encoding not necessary.
(rfc2047-encode-region): Skip \n as whitespace.
(rfc2047-fold-region): Fix whitespace regexps.  Don't break just
after the header name.
(rfc2047-unfold-region): Fix regexp and whitespace-skipping.
2003-05-07 17:27:31 +00:00
Stefan Monnier
be4d6a6fb6 (find-file-hook, find-file-not-found-hook): Don't use the old ...-hooks. 2003-05-07 17:22:28 +00:00
Stefan Monnier
5232a436d6 Consistently use buffer-file-name variable rather than function.
(vc-handled-backends): Add SVN and MCVS.
(vc-mode-line): Call vc-backend only once.
2003-05-07 17:20:29 +00:00
Stefan Monnier
766f275a71 *** empty log message *** 2003-05-07 16:18:06 +00:00
Stefan Monnier
518e35e6d1 (uniquify-rationalize): New fun. Store the fix-list in uniquify-managed.
(uniquify-rationalize-file-buffer-names): Use it and make the args
non-optional (i.e. don't support "re-rationalize all" any more).
(uniquify-rerationalize-w/o-cb): New fun.
(uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
immediately and only the relevant buffers.
Merged from uniquify-delay-rationalize-file-buffer-names and
uniquify-delayed-rationalize-file-buffer-names.
(kill-buffer-hook, rename-buffer): Use it.
2003-05-07 16:03:14 +00:00
Stefan Monnier
bf0e40d484 (uniquify-item, uniquify-get-proposed-name)
(uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
2003-05-07 15:53:08 +00:00
Markus Rost
0c72a1a22d Regenerated. 2003-05-06 18:47:39 +00:00
Juanma Barranquero
64dc28b0c7 *** empty log message *** 2003-05-06 17:57:43 +00:00
Juanma Barranquero
b71038b25c (setenv): Don't quote nil and t in docstrings. 2003-05-06 17:54:41 +00:00
Juanma Barranquero
41bbbdce51 (mouse-wheel-scroll-amount): Don't quote nil and t in docstrings. 2003-05-06 17:54:12 +00:00
Juanma Barranquero
d730a5ac5f (ps-zebra-stripe-follow): Don't quote nil and t in docstrings. 2003-05-06 17:53:37 +00:00
Juanma Barranquero
6688f85fc7 (newline): Don't quote nil and t in docstrings. 2003-05-06 17:52:20 +00:00
Juanma Barranquero
4ba4c353a7 (skeleton-autowrap, skeleton-untabify, skeleton-newline-indent-rigidly)
(skeleton-insert, skeleton-read): Don't quote nil and t in docstrings.
2003-05-06 17:51:08 +00:00
Juanma Barranquero
ee6258ff77 (type-break-good-rest-interval, type-break-query-mode)
(type-break-query-function, type-break-mode-line-message-mode): Don't quote nil
and t in docstrings.
2003-05-06 17:50:17 +00:00
Juanma Barranquero
74dfa72fa3 (popup-dialog-box): Don't quote nil and t in docstrings. 2003-05-06 17:49:24 +00:00
Juanma Barranquero
89a5038d51 (buffer-syntactic-context): Don't quote nil and t in docstrings. 2003-05-06 17:48:39 +00:00
Juanma Barranquero
25345117c2 (mail-directory-function, mail-directory-requery, mail-directory): Don't quote
nil and t in docstrings.
2003-05-06 17:48:06 +00:00
Juanma Barranquero
23a7c49510 (rmail-primary-inbox-list): Don't quote nil and t in docstrings. 2003-05-06 17:47:18 +00:00
Juanma Barranquero
5199cf98c8 (rlogin-process-connection-type): Don't quote nil and t in docstrings. 2003-05-06 17:46:28 +00:00
Juanma Barranquero
e7f32a7551 (decipher-ignore-spaces): Don't quote nil and t in docstrings. 2003-05-06 17:45:50 +00:00
Juanma Barranquero
8101c2f2e2 (mpuz-silent): Don't quote nil and t in docstrings. 2003-05-06 17:45:00 +00:00
Juanma Barranquero
8df8710233 (c-lineup-argcont, c-lineup-gcc-asm-reg): Don't quote nil and t in docstrings. 2003-05-06 17:44:11 +00:00