1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

259 Commits

Author SHA1 Message Date
Eli Zaretskii
3c13627aed (dired-build-subdir-alist): Accept optional arg SWITCHES. 2001-09-21 16:41:58 +00:00
Eli Zaretskii
740ef824c9 (dired-move-to-filename-regexp): Allow one digit in the
numeric month value, and allow the Kanji character after the it to
be missing (happens with ls-lisp's output on Japanese versions of
MS-Windows).
2001-09-18 07:13:36 +00:00
Gerd Moellmann
565132a371 Add Keywords header. 2001-08-29 15:02:01 +00:00
Gerd Moellmann
d1e99fa59a (dired-mode-map): Bind `y' to dired-show-file-type
instread of `w' which is already in use.
2001-08-28 09:12:52 +00:00
Gerd Moellmann
1b85bd12db (dired-insert-set-properties): Fix invalid mouse-face
property.
2001-07-16 10:54:22 +00:00
Richard M. Stallman
7994d91a52 (dired-get-filename): A file name starting with ~
is not absolute in this context.
2001-06-26 17:10:56 +00:00
Eli Zaretskii
1a0b9ae6bb (dired-mark-pop-up): Fix last change. 2001-06-18 06:51:38 +00:00
Eli Zaretskii
ac2d0299f2 (dired-insert-set-properties): Add help-echo to mouse-highlighted text.
(dired-mark-pop-up): Remove help-echo property from the file name.
2001-06-17 11:18:16 +00:00
Eli Zaretskii
a1af8dcf17 (dired-diff): Doc fix. 2001-05-03 07:51:23 +00:00
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
Karl Heuer
e5f0841ed0 (dired-do-toggle): Moved here from dired-x.el.
(dired-mode-map): Changed dired-do-toggle from "T" to "t".
1998-02-27 21:45:01 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
2708e59e80 (dired-move-to-filename-regexp):
Make l pattern match any non-ASCII char.
1998-01-19 20:29:31 +00:00
Paul Eggert
6a5c00da3f (dired-move-to-filename-regexp):
Fix the problem with misparsing
`-r--r--r-- 1 may 1997' by requiring a digit before the date.
(dired-move-to-filename-regexp):
Allow any month name of 2 letters or more.
1997-12-11 06:58:17 +00:00
Joel N. Weber II
33165c240f 1997-11-27 Richard M. Stallman <rms@sucrose.ai.mit.edu>
* dired.el (dired-move-to-filename-regexp): Make regexp fussier
	about amount of whitespace after month name.
1997-11-29 05:21:18 +00:00
Paul Eggert
32184bdb26 (dired-move-to-filename-regexp):
Allow month names of length 2 and up,
with varying white space afterwards; e.g. Solaris 2.6 "es" locale
uses "ab" for April and "fbro" for February.
1997-11-17 18:55:46 +00:00
Paul Eggert
1f97e2fcc2 (dired-move-to-filename-regexp): Handle Japanese-format dates. 1997-11-07 23:32:50 +00:00
Karl Heuer
85eb827a5c (dired-move-to-filename-regexp):
Accept month name and day-of-month in either order.
1997-10-16 18:36:35 +00:00
Richard M. Stallman
05dd46c201 (dired-get-filename): Don't call encode-coding-string
if file-name-coding-system is non-nil.
1997-09-09 05:37:20 +00:00
Richard M. Stallman
f656ec48c3 (dired-flag-garbage-files): Move interactive flag across doc string. 1997-09-06 22:22:24 +00:00
Richard M. Stallman
be417b22ba (dired-get-filename): Don't call encode-coding-string if FILE is nil. 1997-09-03 22:31:25 +00:00
Richard M. Stallman
fdbc88f98b (dired-get-filename): Encode file name using the buffer's coding system. 1997-08-30 19:46:24 +00:00
Richard M. Stallman
4fdf389ae2 (dired-font-lock-keywords): Don't specially highlight
files that are writable by others.
1997-08-12 17:21:24 +00:00
Richard M. Stallman
55642aa486 (dired-find-file): Better error message
for symlink to nonexistent target.
1997-07-16 20:55:50 +00:00
Richard M. Stallman
534a6edf9b (dired-unmark-all-marks):
Renamed from dired-unmark-all-files-no-query.
1997-06-07 19:31:24 +00:00
Kenichi Handa
53fd9d05e5 (dired-find-file): Likewise. 1997-05-28 03:35:42 +00:00
Richard M. Stallman
286c247d12 Use defgroup and defcustom. 1997-05-25 18:08:23 +00:00
Richard M. Stallman
982fa4e514 Fix previous change. 1997-05-15 03:59:36 +00:00
Richard M. Stallman
faff8e29e7 (dired-mode): Don't include `Dired:' in mode line. 1997-05-15 03:55:20 +00:00
Richard M. Stallman
e3cd4b53c5 (dired-internal-noselect): When setting default-directory,
don't check file-name-directory.
1997-04-13 20:19:19 +00:00
Richard M. Stallman
54df7d9acc (dired-noselect): Avoid calling file-directory-p
when the initial argument was syntactically a directory name.
1997-04-13 04:26:38 +00:00
Richard M. Stallman
ef74616458 (dired-glob-regexp): New function.
(dired-buffers-for-dir): New arg FILE; if non-nil,
check that it matches the wildcard pattern.
1997-03-22 03:40:55 +00:00
Simon Marshall
0347d06954 Doc dired-no-confirm and allow t value. 1997-03-20 12:37:06 +00:00
Kenichi Handa
94fa4eb82b (dired-find-file): Allow specifying coding system interactively. 1997-02-26 12:05:50 +00:00
Richard M. Stallman
84d3f6e878 (dired-garbage-files-regexp): New variable.
(dired-flag-garbage-files): New command.
(dired-mode-map): Put dired-flag-garbage-files on & and in menu.
1997-01-04 00:10:30 +00:00
Richard M. Stallman
f374777d3c (dired-string-replace-match): Delete redundant autoload. 1997-01-03 23:11:30 +00:00
Richard M. Stallman
827dc60de5 (dired-make-relative): Ignore the third argument;
never signal an error just bbcause FILE is not in DIR's tree.
1996-12-31 18:29:49 +00:00
Richard M. Stallman
23e217f6d2 (dired-permission-flags-regexp): New variable.
(dired-move-to-end-of-filename): Use it instead of a constant.
1996-12-30 04:57:17 +00:00
Richard M. Stallman
6492483f51 (dired-insert-directory): Don't override the user's locale.
(dired-standard-move-to-filename-regexp): Var deleted.
1996-12-29 08:14:57 +00:00
Richard M. Stallman
f3636ea7be (dired-move-to-filename-regexp): Recognize various languages. 1996-12-17 18:43:10 +00:00
Richard M. Stallman
0609c9984c (dired-mode-map): Put dired-mark-subdir-files on *s. 1996-11-04 23:51:33 +00:00
Erik Naggum
030599634e Fix minor typo in *! key binding. 1996-11-02 09:57:51 +00:00
Richard M. Stallman
4a3ca6ed7a (dired-mode-map): Make * a prefix for mark commands.
Delete the old *, / and @ keybindings.
1996-11-02 07:56:50 +00:00
Richard M. Stallman
c439687b4d (dired-find-file): Error if line's file does not exist. 1996-10-31 20:51:44 +00:00
Karl Heuer
8c605b4bb1 (dired-insert-directory): Check for non-US LANG. 1996-10-24 22:42:29 +00:00
Simon Marshall
2439570dc3 Tweak dired-font-lock-keywords. 1996-10-23 09:26:39 +00:00
Richard M. Stallman
a32857951d (dired-mode-map): Add revert-buffer to Immediate menu. 1996-09-03 21:46:07 +00:00
Richard M. Stallman
642027970b (dired-chown-program): Replace lignux with gnu/linux. 1996-08-27 17:45:29 +00:00
Richard M. Stallman
6702f50da6 (dired-chown-program): Try /usr/sbin/chown. 1996-06-07 14:57:04 +00:00
Richard M. Stallman
cb2e51f84b (dired-noselect): Resolve symbolic links in argument. 1996-04-05 19:11:05 +00:00
Richard M. Stallman
aaef4a1cec (dired-chown-program): Recognize lignux. 1996-03-27 02:37:57 +00:00