Commit graph

200 commits

Author SHA1 Message Date
Eli Zaretskii
32df8b472a (dired-move-to-filename-regexp): Support file sizes in
``human-readable'' format produced by GNU `ls'.
(dired-move-to-filename-regexp): Recognize ISO format dates.  From
Paul Eggert <eggert@twinsun.com>.
2001-04-04 11:18:59 +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
Eli Zaretskii
6e8e8e47a9 (dired-insert-directory): If file-system-info fails,
remove the " free " part, but don't signal an error.
2001-01-14 19:16:07 +00:00
Kenichi Handa
5c010e5999 (dired-move-to-filename-regexp): Fix previous change. 2000-12-21 02:43:08 +00:00
Kenichi Handa
501be301de (dired-move-to-filename-regexp): Fixed for the case
that a Japanese character is not appended after day and year.
2000-12-13 00:23:04 +00:00
Eli Zaretskii
fc3e23a4b4 (dired-insert-directory): If file-system-info is
fboundp, call it instead of invoking dired-free-space-program.
2000-12-07 14:52:50 +00:00
Miles Bader
2d795c92ab (dired-get-filename): Return filename verbatim if LOCALP is `verbatim'. 2000-11-27 12:11:00 +00:00
Gerd Moellmann
7b01b08c24 (dired-between-files): Add `^. find' as an alternative
to the regular expression, for find-dired.
2000-11-07 17:03:31 +00:00
Jason Rumney
783e823086 (dired-insert-directory): Do not let errors signalled by
attempt to run dired-free-space-program prevent dired from working.
2000-10-19 19:50:13 +00:00
Stefan Monnier
89101e46ac (dired-mark-pop-up): Turn comment into docstring. Use with-current-buffer. 2000-10-04 23:38:28 +00:00
Stefan Monnier
9194723588 (dired-map-over-marks): Use modern backquotes and docstring. 2000-09-29 22:24:38 +00:00
Gerd Moellmann
6784714b4c (dired-font-lock-keywords): Undo last change.
(dired-readin): Bind indent-tabs-mode to nil.
2000-09-20 11:22:17 +00:00
Gerd Moellmann
1af25534b3 (dired-font-lock-keywords): Allow tabs and spaces,
for instance for the case that tab-width is 2.
2000-09-19 10:38:41 +00:00
Gerd Moellmann
b4c017767f (dired-build-subdir-alist): Expand subdirectory names
correctly in recursive ange-ftp listings.
2000-07-30 11:49:11 +00:00
Gerd Moellmann
e17dba1ffd (dired-sort-R-check): Added to allow recursive listing
to be undone.
(dired-sort-other): Use it.
2000-07-24 12:27:26 +00:00
Gerd Moellmann
e82a2a05d6 Don't require `dired-aux'. 2000-07-10 12:17:38 +00:00
Miles Bader
f01fd03b41 (dired-mode-map): Bind `w' to dired-show-file-type.
(dired-show-file-type): Add autoload.
2000-07-10 07:01:42 +00:00
Gerd Moellmann
c5753a5d97 (dired-find-alternate-file): New function.
(dired-mode-map): Bind `a' to dired-find-alternate-file.
(toplevel): Require dired-aux when compiling.
(dired-buffers): Move defvar within file to avoid compiler warning.
2000-07-07 13:00:21 +00:00
Andreas Schwab
1473639373 (dired-between-files): Also skip lines beginning with `used'. 2000-05-18 12:19:41 +00:00
Gerd Moellmann
ee93b692cd (dired-mode-map): Use dired-do-query-replace-regexp. 2000-05-16 14:32:33 +00:00
Gerd Moellmann
b20e965eff (dired-move-to-filename-regexp): Allow format where
YYYY is followed by two spaces.
2000-04-27 18:53:44 +00:00
Andreas Schwab
8b0b6a7f28 (dired-insert-directory): If dired-free-space-program
failed just delete its output.
2000-03-29 20:02:10 +00:00
Eli Zaretskii
d066de8eb4 (dired-mode-map): Don't remove "Edit" from the menu
bar.  Menu items converted to (menu-item format, help strings
added.
[downcase, upcase]: Don't enable on MS-DOS.
[symlink, symlinks]: Don't show if make-symbolic-link is not
bound.
[chown, chgrp]: Don't show on MS-DOS and MS-Windows.
2000-02-24 12:59:48 +00:00
Gerd Moellmann
0acdf642cf (dired-mode): Call propertized-buffer-identification to
set mode-line-buffer-identification with text properties added.
2000-02-20 15:59:26 +00:00
Richard M. Stallman
f6e2cbe3c1 (dired-get-filename): Don't call file-name-absolute-p with FILE if FILE is nil. 1999-12-31 07:04:08 +00:00
Eli Zaretskii
a5e0e1a8ab * ls-lisp.el (ls-lisp-insert-directory): Print an explicit message
if one of the files specified cannot be accessed by
file-attributes.  Do not strip any leading directories from the
file names, to behave more like `ls' does.

* dired.el (dired-get-filename): Handle absolute file names.
(dired-readin-insert): If argument is a cons, don't print
"wildcard" on the ``total'' line.
1999-12-16 09:43:32 +00:00
Gerd Moellmann
42afed7ca4 (dired-move-to-filename-regexp): Fix long comment lines
that were split so that part of the comment appeared as Lisp code.
1999-10-20 13:55:59 +00:00
Gerd Moellmann
85852dc7f5 (dired-insert-directory): Insert the amount of
free space after the total size.
(dired-free-space-program, dired-free-space-args): New variables.
1999-10-14 21:53:37 +00:00
Gerd Moellmann
cbcb61603b (dired-move-to-filename-regexp): Make it work
for LANG=de_DE.iso88591 on HPUX 11.0.
1999-09-24 12:57:21 +00:00
Richard M. Stallman
f06280268a (dired-recursive-deletes): New custom variable.
(dired-re-no-dot): New variable.
(dired-delete-file): New function deletes files and directories recursively.
(dired-internal-do-deletions): Use `dired-delete-file' to delete files.
1999-09-15 23:29:16 +00:00
Eli Zaretskii
312a9e03f1 (dired-re-dir, dired-re-sym): Don't match DOS drive
letters with a colon after d or l.
1999-09-06 11:22:43 +00:00
Richard M. Stallman
b976e099be (dired-string-replace-match): Return `nil' when no match
found with global search.
1999-08-28 18:23:14 +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
Richard M. Stallman
02882bbce6 (dired-move-to-filename-regexp): Prepend .* so that we find the
last match if there are multiple matches.
1999-02-17 02:23:44 +00:00
Dave Love
aa924debea (dired-mode-map): Fix duplicate [menu-bar regexp mark]. 1999-01-07 19:40:25 +00:00
Karl Heuer
05a4037321 (dired-mark-files-containing-regexp):
Don't scan directories.  Ignore non-readable files.
1998-09-10 16:00:20 +00:00
Karl Heuer
23a3356234 (dired-mark-files-containing-regexp): Fix previous change. 1998-09-10 15:46:18 +00:00
Karl Heuer
0b2bb4d096 (dired-mark-files-containing-regexp):
Don't use find-file; instead, insert the file in a temp buffer.
1998-09-04 20:43:09 +00:00
Richard M. Stallman
1c39db69d8 (dired-garbage-files-regexp): Finish fixing regexp syntax. 1998-07-31 03:13:19 +00:00
Richard M. Stallman
67aafad46b (dired-garbage-files-regexp): Fix typo. 1998-07-29 06:09:14 +00:00
André Spiegel
1191c61b53 (dired-readin): Insert headerline only if necessary. (Not in
recursive listings.)
1998-06-11 15:32:33 +00:00
André Spiegel
6e5d9ec568 (dired-internal-noselect): Call either dired-mode or MODE, but not both. 1998-06-05 12:46:02 +00:00
Richard M. Stallman
e9b8e22d7e (dired-mark-files-containing-regexp): New command.
(dired-mode-map): Bind it to %g and in menu bar.
1998-05-24 00:55:39 +00:00
Richard M. Stallman
48c932296c (dired-mode-map): Bind *t to dired-do-toggle. 1998-05-06 04:43:47 +00:00
Richard M. Stallman
7820b28f31 (dired-sort-toggle): Handle spaces in dired-actual-switches. 1998-04-29 05:06:46 +00:00
Geoff Voelker
912aace821 (dired-chmod-program) [windows-nt]: Use chmod. 1998-04-24 00:03:56 +00:00
Richard M. Stallman
001632ab9e (dired-move-to-filename-regexp): There might be a space
after the year instead of before it.
1998-04-21 05:22:19 +00:00
Richard M. Stallman
da8a843818 (dired-quit): Function deleted.
(dired-mode-map): Use quit-window for q.
1998-03-08 00:20:56 +00:00
Kenichi Handa
0457b5e41d (dired-get-filename): Don't call encode-coding-string
if default-file-name-coding-system is non-nil.
1998-03-03 07:17:56 +00:00