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

148 Commits

Author SHA1 Message Date
Richard M. Stallman
ec9581d515 (dired-do-copy): Doc fix. 2006-10-18 10:50:28 +00:00
Richard M. Stallman
c62a807382 Handle errors in recursive copy usefully.
(dired-create-files-failures): New variable.
(dired-copy-file): Remove condition-case.
(dired-copy-file-recursive): Check for errors on all file
operations, and add them to dired-create-files-failures.
Check file file-date-erorr here too.
(dired-create-files): Check dired-create-files-failures
and report those errors too.
2006-09-11 02:25:00 +00:00
Chong Yidong
c8068734a7 * dired-aux.el (dired-compress-file): Confirm again if gzipped
file already exists.
2006-07-17 04:00:54 +00:00
Eli Zaretskii
40c50be3a6 (dired-do-shell-command): Doc fix. 2006-05-20 18:19:36 +00:00
Eli Zaretskii
098c61f202 (dired-do-redisplay, dired-maybe-insert-subdir): Point Info links to the main
manual, not to emacs-xtra.
2006-05-06 14:37:40 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
84bf6ad84e (dired-diff): Use dired-dwim-target-directory
instead of the file at the mark as default if the file at the mark
is the same as the file at point or if dired-dwim-target-directory
is not the same as the current directory and the mark is not active.
2006-01-17 01:43:00 +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
Romain Francoise
b720164466 (dired-handle-overwrite): Don't use `format' here. The prompt is
formatted later.  From Johan Bockg� <bojohan+sf@dd.chalmers.se>.
2005-09-19 10:13:34 +00:00
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
Juri Linkov
0751a7049a (dired-do-query-replace-regexp): Use `query-replace-read-args'. 2005-08-09 21:38:24 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
5176af43d1 (dired-compare-directories): Remove "." and ".." from the alists. 2005-07-11 04:25:01 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
de5544e8b8 (dired-query): Display question with answer, when the user answers. 2005-07-03 16:10:07 +00:00
Richard M. Stallman
de97d5e8eb (dired-do-copy): Fix arg prompt. 2005-06-23 21:23:17 +00:00
Richard M. Stallman
3b68c5062f (dired-copy-file-recursive): Handle symlinks in recursive copy. 2005-05-19 15:42:01 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Richard M. Stallman
c232fd12ab (dired-mark-confirm):
Pass t to dired-get-marked-files for DISTINGUISH-ONE-MARKED.
2005-05-15 21:34:47 +00:00
Juri Linkov
3659a2b894 (dired-compare-directories): Add autoload cookie.
Doc fix.  Replace `read-file-name' with `read-directory-name'.
2005-03-24 19:48:09 +00:00
Richard M. Stallman
1668b45617 (dired-recursive-copies): Moved to dired.el. 2004-11-22 16:56:34 +00:00
John Paul Wallington
9375be0117 (dired-file-set-difference): Don't use `caddr'. 2004-07-19 12:34:02 +00:00
Luc Teirlinck
769d9ed66f (dired-do-kill-lines): Expand docstring.
Delete irrelevant code.
2004-07-18 13:48:06 +00:00
Luc Teirlinck
fad9e9b492 (dired-do-redisplay, dired-maybe-insert-subdir): Add hyperlink to
emacs-xtra manual to docstring.
2004-06-15 22:09:18 +00:00
Luc Teirlinck
081e43973f (dired-insert-subdir): Do not store R switch in `dired-switches-alist'. 2004-06-10 19:06:14 +00:00
Luc Teirlinck
05dcf18afa (dired-do-touch, dired-clean-directory, dired-run-shell-command)
(dired-query): Add autoloads.
2004-06-09 01:04:28 +00:00
Luc Teirlinck
0a07c3a941 (dired-kill-tree): Do not kill DIRNAME, even if it does not end in a
slash.  Add optional argument KILL-ROOT.  Update docstring.
2004-06-09 00:25:30 +00:00
Luc Teirlinck
79d123adb3 (dired-do-redisplay, dired-maybe-insert-subdir): Update docstring.
(dired-reset-subdir-switches): New function.
2004-06-07 21:24:31 +00:00
Luc Teirlinck
f2260f48b0 (dired-do-redisplay, dired-maybe-insert-subdir): Change interactive
default switches.
(dired-rename-subdir-2): Update `dired-switches-alist'.
(dired-insert-subdir, dired-kill-subdir):
Handle `dired-switches-alist'.  Do not mark buffer modified.
(dired-insert-subdir-validate): Handle `dired-subdir-switches'.
(dired-insert-subdir-doinsert): Omit messages.
Handle `dired-subdir-switches'.
(dired-hide-subdir, dired-hide-all): Do not mark buffer modified.
2004-06-06 02:26:46 +00:00
Juri Linkov
4ae73f87a0 (dired-diff): Use `dired-dwim-target-directory'
if current dired buffer has no buffer mark.
2004-05-01 05:38:07 +00:00
Juri Linkov
52f134eea7 (dired-touch-initial): New fun.
(dired-do-chxxx): Call it for op-symbol `touch'.
2004-05-01 03:47:42 +00:00
Juri Linkov
3ccd316045 (dired-do-touch): New fun.
(dired-do-chxxx): Add argument -t for touch operation.
2004-03-31 16:33:00 +00:00
Juri Linkov
999bd52a27 (dired-compress-file-suffixes): Add dz and tbz.
(dired-compare-directories): Add default value for empty input.
2004-03-23 07:39:35 +00:00
Andreas Schwab
60a8f92894 (dired-do-query-replace-regexp): Add missing
format string argument.
2004-02-08 22:38:51 +00:00
Eli Zaretskii
1550204223 * progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Richard M. Stallman
d1c553c832 (dired-do-query-replace-regexp): Report files visited read-only.
(dired-compare-directories): New command.
(dired-file-set-difference, dired-files-attributes): New functions.
2003-12-01 01:56:19 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
573743d2f2 (dired-query-alist): Fix use of character constant. 2003-02-14 09:56:30 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Kim F. Storm
731ffbd94b Rename whole-path' to whole-name' throughout.
(dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
2003-01-14 23:11:42 +00:00
Juanma Barranquero
6de40a0c9e (dired-show-file-type): Format filename with "%s" to escape any format-like
sequences it could contain.
2002-11-11 11:44:24 +00:00
Juanma Barranquero
416f1c6f65 (dired-add-entry): Put point in correct position before inserting marker char. 2002-10-17 07:25:35 +00:00
Andreas Schwab
349254d330 (dired-insert-subdir-doinsert): Preserve point. 2002-10-16 21:32:41 +00:00
Juanma Barranquero
ac28c6ca79 (dired-add-entry): Add missing argument to `dired-mark'. 2002-09-16 06:31:43 +00:00
Richard M. Stallman
e5369aad6d (dired-bunch-files): Put the arg FILES
back as it was after temporary destrucive mods.
(dired-add-entry): Use dired-insert-directory to handle indentation.
Explicitly restore the line's marker character.
Preserve the old file name's text properties.
(dired-add-entry-do-indentation): Function deleted.
(dired-relist-file): Doc fix.
(dired-rename-file): Change argument names.
(foo-rename-file): New function.
(dired-do-hardlink): Use dired-hardlink.
(dired-hardlink): New function.
(dired-insert-subdir-doinsert): Use dired-insert-directory;
that handles indentation, text props and header line.
dired-readin-insert gets no args.
Use `last' instead of `reverse'.
2002-09-15 01:52:08 +00:00
Richard M. Stallman
384bcc6495 (dired-show-file-type): Use -- to say FILE's not option. 2002-05-12 16:42:26 +00:00
Francesco Potortì
edb8d73e62 * dired-aux.el (dired-star-subst-regexp,
dired-quark-subst-regexp): New constants.
(dired-do-shell-command, dired-shell-stuff-it): Use them.
(dired-do-shell-command): Raise an error if both `*' and `?'
substitution marks are used in the same command.
(dired-shell-stuff-it): Substitute all instances of `*' and `?'
in a command given via dired-do-shell-command.
2002-04-17 09:54:47 +00:00
Richard M. Stallman
5e514c2712 (dired-do-query-replace-regexp, dired-do-search):
Use FILTER arg in dired-get-marked-files to exclude directories.
(dired-nondirectory-p): New function.
2002-03-29 14:45:05 +00:00
Richard M. Stallman
876a2544ce (dired-fun-in-all-buffers): Moved to dired.el. 2002-03-14 08:55:48 +00:00