1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

46717 Commits

Author SHA1 Message Date
Juanma Barranquero
732950b1d6 (fancy-splash-default-action): Fix docstring. 2003-05-09 22:52:41 +00:00
Juanma Barranquero
95754b9f0f (smtpmail-send-queued-mail): Use point-at-bol instead of forward-line. 2003-05-09 22:51:21 +00:00
Stefan Monnier
1647ff5c46 Remove annoying $Id$ tag. 2003-05-09 22:37:44 +00:00
Stefan Monnier
07f10bab2b (comment-indent): Be more careful when inserting
the space, and insert it before setting `begpos'.
2003-05-09 20:09:04 +00:00
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
Richard M. Stallman
ca2de34225 (Fprin1_to_string): Instead of gcpro, set abort_on_gc.
Bind Qinhibit_modification_hooks to t so there will be no GC.
Rename local `tem' to `save_deactivate_mark'.
2003-05-09 14:03:51 +00:00
Richard M. Stallman
611a8f8c1f (specpdl_ptr): Declare volatile.
(unbind_to): Copy the whole binding and decrement specpdl_ptr
before doing the work of unbinding it.
2003-05-09 14:01:12 +00:00
Richard M. Stallman
4e91a530f9 (struct specbinding): Declare elements volatile.
(specpdl_ptr): Declare volatile.
2003-05-09 13:58:38 +00:00
Richard M. Stallman
ecc4e8e0b5 (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. 2003-05-09 13:54:51 +00:00
Richard M. Stallman
46158a353b Test DO_BLOCK_INPUT rather than `emacs'
for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h.
2003-05-09 13:54:14 +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
Dave Love
7c695ab92f (Vlast_coding_system_used): Doc fix. 2003-05-08 17:49:05 +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
Rudy Gevaert
0c9b7dd84e test in trunc 2003-05-08 14:29:59 +00:00
Rudy Gevaert
fa9332af40 bleh 2003-05-08 14:24:17 +00:00
Rudy Gevaert
3bee03c181 testing -r 2003-05-08 14:14:54 +00:00
Rudy Gevaert
afd7279a73 blah 2003-05-08 14:07:10 +00:00
Rudy Gevaert
5bdbbbafd7 testing 2003-05-08 14:03:14 +00:00
Rudy Gevaert
e7b00d6a2b testing log_accum script 2003-05-08 14:01:40 +00:00
Jason Rumney
5adcec2317 (Ffile_symlink_p): Let handlers handle symlinks even
when system does not support them.
2003-05-07 22:14:01 +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