1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juri Linkov
905eb9ff9e (dired-read-shell-command-default): Move it to
gnus/mailcap.el and change its name to more general name
mailcap-file-default-commands.
(minibuffer-default-add-dired-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(dired-read-shell-command): Set local minibuffer-default-add-function
to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Remove dired-read-shell-command-default
from the default value arg because default values are not set in
minibuffer-default-add-dired-shell-commands.  Doc fix.
2008-04-22 19:51:57 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Stefan Monnier
1906dec48a (dired-read-shell-command): Use read-shell-command. 2008-04-07 18:57:28 +00:00
Chong Yidong
bf0de14ded (dired-overwrite-confirmed): Revert last change. 2008-04-06 20:11:37 +00:00
Chong Yidong
bbfe23084e (dired-overwrite-confirmed): Supply initial value. 2008-04-06 00:03:38 +00:00
Stefan Monnier
04509548fd (dired-create-files): Use dolist. 2008-03-26 03:34:07 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Richard M. Stallman
55d77548e7 (dired): Load dired.el at run time too. 2007-12-23 19:14:55 +00:00
Richard M. Stallman
86f795fdc8 Load dired.el at run time too. 2007-12-23 19:13:48 +00:00
Glenn Morris
0d461c8675 Remove directory part from filenames in function declarations.
(mailcap-mime-info): Update declaration.
2007-12-06 04:01:38 +00:00
Juanma Barranquero
8e845e23f4 (mailcap-parse-mailcaps, mailcap-parse-mimetypes, mailcap-extension-to-mime,
mailcap-mime-info, make-symbolic-link): Declare as functions.
2007-11-22 13:49:34 +00:00
Juri Linkov
934b49686d (dired-create-directory): Allow creating
a directory of an arbitrary depth.  Add a loop to find the topmost
nonexistent parent dir `new', and call `dired-add-file' on it.
Set the `PARENTS' arg of `make-directory' to t.
2007-11-17 01:27:52 +00:00
Juri Linkov
2f8a5963f2 (dired-read-shell-command-default): New function.
(dired-read-shell-command): Use its return value for DEFAULT arg.
2007-11-16 01:19:13 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Juanma Barranquero
89242dda15 (dired-copy-file-recursive): Preserve directory permissions. 2007-10-31 18:14:41 +00:00
Juanma Barranquero
52a1714325 (dired-create-files): Use mapc' rather than mapcar'. 2007-09-25 10:44:23 +00:00
Michaël Cadilhac
822b17d34c (dired-do-chmod): Change to use the built-in `set-file-modes' and the
symbolic mode parsing functions.
2007-09-10 09:58:29 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Michael Albinus
4a72585986 * dired-aux.el: Remove `dired-call-process'.
(dired-check-process): Call `process-file'.

* wdired.el (wdired-do-perm-changes): Call `process-file'.

* net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
`ange-ftp-process-file'.
2007-06-27 21:11:04 +00:00
Eli Zaretskii
806f34d6a7 (dired-do-symlink): Add reference to dired-do-relsymlink. 2007-02-02 14:51:08 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
7a547817cc (dired-copy-file-recursive): Catch errors
from recursive copies in the loop, around the recursive call.
2006-11-05 15:00:31 +00:00
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