1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

102 Commits

Author SHA1 Message Date
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
Andreas Schwab
b544496da2 (dired-do-shell-command): Doc fix. 2002-01-13 16:56:20 +00:00
Richard M. Stallman
eab9ed67eb (dired-shell-stuff-it): Substitute for * or ?
only when they are surrounded by whitespace.
Use dired-mark-separator when adding one file name to a command.
(dired-do-shell-command): Verify that * is surrounded by whitespace.
Ask for confirmation if * or ? is not surrounded by whitespace.
(dired-bunch-files): Re-reverse the partial file list when it is used.
2002-01-12 20:14:25 +00:00
Richard M. Stallman
e537428465 (dired-do-query-replace-regexp): Doc fix. 2001-12-30 00:53:22 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Eli Zaretskii
6703371295 (dired-insert-subdir): Pass switches to dired-build-subdir-alist. 2001-09-21 16:45:34 +00:00
Gerd Moellmann
565132a371 Add Keywords header. 2001-08-29 15:02:01 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
a1af8dcf17 (dired-diff): Doc fix. 2001-05-03 07:51:23 +00:00
Eli Zaretskii
2b3e941a39 (dired-do-rename-regexp, dired-do-copy-regexp)
(dired-do-hardlink-regexp, dired-do-symlink-regexp): Doc fix.
2001-04-30 13:37:00 +00:00
Eli Zaretskii
dcaf31d3e4 (dired-do-create-files, dired-do-copy)
(dired-do-symlink, dired-do-hardlink, dired-do-rename): Mention
dired-dwim-target in the doc string.
2001-04-27 15:40:29 +00:00
Eli Zaretskii
656f8cae4a (dired-do-shell-command): Doc fix. 2001-03-07 08:55:44 +00:00
Dave Love
83fadedf5f Revert last change. 2001-01-26 13:14:11 +00:00
Sam Steingold
e95b0c08b9 use replace-regexps-in-string instead of dired- and gs-replace-in-string
which are removed
2001-01-24 21:17:10 +00:00
Gerd Moellmann
75ab0c79df (dired-do-create-files): Construct default file
name for dired-mark-read-file-name so that when the user enters
just RET, the target file will end up in the target directory.
2000-11-28 16:43:45 +00:00
Miles Bader
0c713b6f88 (dired-add-entry): Call dired-get-filename' with verbatim' so that we
don't inadvertently delete a non-existant directory name.
2000-11-27 12:11:33 +00:00
Gerd Moellmann
03679a46d0 (dired-add-entry): Don't call dired-get-filename
with `no-dir'; we want the directory part to be able to remove
it.
2000-11-23 13:53:12 +00:00
Stefan Monnier
616e14f4cf (dired-do-create-files, dired-kill-tree): Turn comment into docstring. 2000-10-04 23:35:52 +00:00
Miles Bader
64666d2d52 (dired-mark-read-file-name): Add optional arg DEFAULT.
(dired-do-create-files): If there's only one file, pass it in as
  the DEFAULT arg to dired-mark-read-file-name.
2000-10-03 17:35:47 +00:00
Eli Zaretskii
325fec3c5a (dired-do-create-files): On DOS/Windows, allow to
rename a directory to a name that differs only by its letter case.
2000-08-08 10:51:51 +00:00
Miles Bader
ee6be958ad (dired-show-file-type): New function. 2000-07-10 07:02:03 +00:00
Gerd Moellmann
be3981a8ea (dired-do-query-replace-regexp): Add `-regexp'
to the function name.
2000-05-16 14:32:59 +00:00
Gerd Moellmann
ea1856442d (dired-do-copy): Remove spurios character.`n'
within the code.
2000-02-17 09:13:39 +00:00
Richard M. Stallman
72af98670a (dired-insert-subdir): Add autoload cookie. 1999-12-09 02:01:26 +00:00
Gerd Moellmann
d984dbc116 (dired-do-shell-command): Changed documentation.
(dired-shell-stuff-it): A `?' in COMMAND has now the same
meaning as `*'.
1999-12-06 16:44:28 +00:00
Richard M. Stallman
ba1acd6876 (dired-recursive-copies): New custom variable.
(dired-handle-overwrite): Broke a long line.
(dired-copy-file): Call `dired-copy-file-recursive' instead of `copy-file'.
(dired-copy-file-recursive): New function.  Copy directories recursively.
(dired-do-create-files): Added support for generalized directory
target.  How-to function may now return a function.  New fluid
variable `dired-one-file'.
(dired-copy-how-to-fn): New variable.
(dired-do-copy): Bind `dired-recursive-copies' to preserve it.
Use dired-copy-how-to-fn as how-to argument to dired-do-create-files.
(dired-do-copy-regexp): No recursive copies.
1999-09-16 19:29:30 +00:00
Karl Heuer
9e5453507c (dired-do-shell-command): Doc fix. 1999-07-20 01:24:47 +00:00
Andreas Schwab
ea15df4061 (dired-insert-subdir-doinsert): Check that the
headerline does not exist already.
1999-05-27 09:34:36 +00:00
Karl Heuer
99c364e4c1 (dired-do-copy-regexp): Doc fix.
(dired-do-hardlink-regexp, dired-do-symlink-regexp): Doc fix.
1999-03-09 03:09:39 +00:00
Karl Heuer
2d938ce753 (dired-compress-file-suffixes): Add `bz2'. 1998-08-27 15:21:25 +00:00
Richard M. Stallman
57dabf6b5b (dired-do-rename-regexp): Doc fix. 1998-08-13 23:01:05 +00:00
Andreas Schwab
a9e9b8fa11 (dired-backup-overwrite): Use `other' widget type. 1998-06-24 08:55:53 +00:00
Richard M. Stallman
472974e9b0 (dired-mark-subdir-files): Doc fix. 1998-05-16 04:14:04 +00:00
Dave Love
95ffcc7f6c (dired-run-shell-command): Maybe run handler. 1998-03-24 17:08:34 +00:00
Richard M. Stallman
9a79e9aebe (dired-shell-stuff-it): Use shell-quote-argument.
(dired-shell-quote): Function deleted.
1998-03-16 01:35:04 +00:00
Richard M. Stallman
01db62107e (dired-do-shell-command): New arg FILE-LIST
so that we don't recompute it after the user provides the input.
1997-06-30 06:13:58 +00:00
Richard M. Stallman
24193f35e6 (dired-add-entry): New optional arg RELATIVE.
(dired-update-file-line): Pass t for RELATIVE.
1997-06-23 06:34:29 +00:00
Richard M. Stallman
91a7e82925 Customize. 1997-05-28 04:22:11 +00:00
Richard M. Stallman
0acdb86326 Comment change. 1997-05-27 19:51:23 +00:00
Richard M. Stallman
afbd0a53ac (dired-collect-file-versions):
Rename bv-length to backup-extract-version-start.
1997-05-10 05:43:58 +00:00
Richard M. Stallman
4f1d7d3173 (dired-copy-file): Handle file-date-error. 1997-04-01 04:26:33 +00:00
Richard M. Stallman
b2a59df072 (dired-fun-in-all-buffers): New arg FILE. Don't operate on buffers
whose wildcard pattern does not accept FILE.
All callers changed.
1997-03-22 03:39:39 +00:00
Simon Marshall
7baff557b6 Allow a dired-no-confirm of t 1997-03-20 12:39:57 +00:00
Richard M. Stallman
c2604a9b86 (dired-rename-file): Pass new arg to set-visited-file-name. 1997-02-03 09:45:27 +00:00
Richard M. Stallman
05a455e217 (dired-do-chxxx): Use -- only on GNU systems. 1997-01-02 02:30:23 +00:00
Richard M. Stallman
63ba033ea1 (dired-do-chxxx): Use -- as arg
so that the file name is never taken as an option.
1996-12-31 04:49:28 +00:00
Richard M. Stallman
d63a6ae0d0 (dired-handle-overwrite): `find-backup-file-name'
may return nil, so handle that.
1996-05-04 05:30:37 +00:00