Richard M. Stallman
5e5a341255
(dired-mode-map): Remap undo' and
advertised-undo'
...
instead of rebinding C-x u and C-_.
2005-01-29 17:28:48 +00:00
Richard M. Stallman
3f68d7c887
(dired-view-command-alist): Variable deleted.
...
(dired-view-file, dired-mouse-find-file-other-window):
Delete the code to use it.
2005-01-01 14:20:10 +00:00
Kim F. Storm
bb87fbc3ee
(dired-mode-map): Map follow-link to mouse-face.
2004-12-17 15:18:02 +00:00
Richard M. Stallman
fe02ba0764
(dired-recursive-copies): Moved from dired-aux.el.
2004-11-22 16:53:41 +00:00
Stefan Monnier
87ae59e368
(dired-align-file): Don't assume line starts with spaces.
2004-11-22 05:07:07 +00:00
Jan Djärv
8d9e2a4940
* dired.el (dired-read-dir-and-switches): Call read-directory-name
...
if a dialog will be used, read-file-name otherwise.
2004-11-04 15:22:00 +00:00
Jan Djärv
46bfc73bed
* files.el (find-file-existing): New function.
...
* menu-bar.el (menu-bar-files-menu): Make "Open File..." call
find-file-existing. Add "New File..." that calls find-file.
* dired.el (dired-read-dir-and-switches): Call read-driectory-name
instead of read-file-name.
2004-11-02 07:57:53 +00:00
Stefan Monnier
a12c6dcaf2
(dired-view-command-alist): Use more efficient regexps. Remove dubious args.
...
(dired-align-file): New function.
(dired-insert-directory): Use it.
(dired-move-to-end-of-filename): Make the " -> " search more specific.
(dired-buffers-for-dir): Remove unused var `pattern'.
2004-09-29 03:14:30 +00:00
Stefan Monnier
1f3b4d04d0
(dired-move-to-filename): Don't output a message if
...
raise-error is non-nil. Fix return position and value.
2004-09-25 18:35:53 +00:00
Luc Teirlinck
ca02a7263d
(dired-directory-changed-p): `visited-file-modtime' now returns a
...
list of two integers, instead of a cons.
2004-07-14 22:59:08 +00:00
Luc Teirlinck
7805cdbd4f
(dired-revert): If buffer is marked unmodified before
...
reverting, keep it marked unmodified.
Adapt to new conventions for commenting out code.
(dired-make-relative): Adapt to new conventions for commenting out code.
2004-06-11 22:38:52 +00:00
Luc Teirlinck
f817c0fbc4
(dired-insert-old-subdirs): Adapt to fact that the R switch is no
...
longer stored in `dired-switches-alist'.
2004-06-10 19:10:09 +00:00
Luc Teirlinck
ca0028cefd
(dired-diff, dired-backup-diff)
...
(dired-clean-directory, dired-do-chmod, dired-do-chgrp)
(dired-do-chown, dired-do-touch, dired-do-print)
(dired-do-shell-command, dired-do-kill-lines, dired-do-compress)
(dired-do-byte-compile, dired-do-load, dired-do-redisplay)
(dired-create-directory, dired-do-copy, dired-do-symlink)
(dired-do-hardlink, dired-do-rename, dired-do-rename-regexp)
(dired-do-copy-regexp, dired-do-hardlink-regexp)
(dired-do-symlink-regexp, dired-upcase, dired-downcase)
(dired-maybe-insert-subdir, dired-next-subdir)
(dired-prev-subdir, dired-goto-subdir, dired-mark-subdir-files)
(dired-kill-subdir, dired-tree-up, dired-tree-down)
(dired-hide-subdir, dired-hide-all, dired-show-file-type)
(dired-run-shell-command, dired-query):
Remove redundant (or incorrect) autoloads.
2004-06-09 01:13:11 +00:00
Luc Teirlinck
487327a9ef
(dired-undo): Call `dired-build-subdir-alist'.
...
Limit scope of `buffer-read-only' binding.
2004-06-07 18:29:14 +00:00
Luc Teirlinck
5553077c1d
(dired-subdir-switches, dired-switches-alist): New vars.
...
(dired-insert-old-subdirs): Do not repeatedly delete and reinsert
subdirs if -R switch is used for a subdir.
(dired-mode): Set `dired-switches-alist'.
(dired-build-subdir-alist): Only print number of directories in
echo area when invoked interactively.
2004-06-06 02:22:41 +00:00
Andreas Schwab
5709c1a0bf
(dired-get-filename): Don't use dired-re-dot.
2004-05-30 18:24:08 +00:00
Lars Hansen
cb5f1f6738
(dired-mode): Rename desktop-buffer-misc-data-function to desktop-save-buffer.
2004-04-26 18:56:23 +00:00
Stefan Monnier
2ecab8401f
(dired-mode-map): Add a menu entry for wdired.
2004-04-23 22:13:32 +00:00
Lars Hansen
31b4c84809
(dired-restore-desktop-buffer) Move from desktop.el. Add parameters.
...
Pause to display error only when desktop-missing-file-warning is non-nil.
(dired-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
2004-04-21 20:52:18 +00:00
Juri Linkov
0b0e66513c
(dired-faces): New defgroup.
...
(dired-header, dired-mark, dired-marked, dired-flagged)
(dired-warning, dired-directory, dired-symlink, dired-ignored):
New faces.
(dired-header-face, dired-mark-face, dired-marked-face)
(dired-flagged-face, dired-warning-face, dired-directory-face)
(dired-symlink-face, dired-ignored-face): New face variables.
(dired-font-lock-keywords): Use them instead of font-lock faces.
Split the rule for dired marks into 3 separate rules: for marks,
marked file names and flagged file names.
2004-04-11 09:51:52 +00:00
Juri Linkov
f16bcc9ae4
(dired-font-lock-keywords): Fix permission regexps.
2004-04-03 04:19:13 +00:00
Juri Linkov
57654b8c0c
Add autoload for `dired-do-touch'.
...
(dired-touch-program): New var.
(dired-mode-map): Bind `dired-do-touch' to T and add menu-item.
(dired-no-confirm): Add `touch' to docstring.
2004-03-31 16:29:46 +00:00
Juri Linkov
778f4651d5
(dired-move-to-filename-regexp): Add . to HH:MM.
2004-03-31 16:06:43 +00:00
Luc Teirlinck
bdc52f22de
(buffer-stale-function): Remove no longer needed defvar.
2004-03-27 01:16:58 +00:00
Stefan Monnier
ff3d76aafc
(dired-mode): Use run-mode-hooks.
...
(dired-move-to-end-of-filename): Use match-string.
2004-03-26 15:17:50 +00:00
Juri Linkov
6736ab5aa3
Fix comments.
2004-03-25 10:40:59 +00:00
Luc Teirlinck
e09cd94fd2
(dired-directory-changed-p): Reindent.
2004-03-25 04:21:24 +00:00
Stefan Monnier
d7aed37c2e
(dired) <defgroup>: Add link to manual.
...
(dired-font-lock-keywords): Ad highlighting on unusual permissions.
(dired-revert): Use dolist.
(dired-mode-map): Add U binding.
(dired-mode): Add font-lock-beginning-of-syntax-function.
(dired-garbage-files-regexp): Make it a defcustom.
2004-03-23 21:44:31 +00:00
Luc Teirlinck
573e4d2ddd
(dired-directory-changed-p, dired-buffer-stale-p): New functions.
...
(dired-internal-noselect): Use dired-directory-changed-p.
Eliminate revert messages.
(dired-mode): Set buffer-stale-function to dired-buffer-stale-p.
2004-03-23 05:20:11 +00:00
Jan Djärv
133aad747d
* x-dnd.el: New file for drag and drop.
...
* term/x-win.el: require x-dnd, set after-make-frame-functions
to x-dnd-init-frame, let x-dnd-handle-drag-n-drop-event handle
drag-n-drop event.
* dired.el (dired-dnd-test-function, dired-dnd-popup-notice)
(dired-dnd-do-ask-action, dired-dnd-handle-local-file)
(dired-dnd-handle-file): New functions for drag and drop support.
(dired-mode): Initialize drag and drop if x-dnd present.
2004-02-03 16:55:30 +00:00
Miles Bader
8a372755cf
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-135
...
Make dired more robust for non-english locales.
lisp/dired.el (dired-between-files): Always use dired-move-to-filename,
which is more robust in non-english locales.
2003-12-24 23:18:55 +00:00
Eli Zaretskii
cfc8b2640f
(dired-ls-sorting-switches): Doc fix.
2003-11-01 17:48:54 +00:00
Richard M. Stallman
86e6e4b3f6
(dired-mode): Handle dired-directory as a list.
2003-09-30 20:46:04 +00:00
Luc Teirlinck
e906b0a260
(dired-mode-map): Fix typo
2003-09-12 14:15:17 +00:00
Richard M. Stallman
f87ef6b12d
(dired-mode-map): Bind M-g to dired-goto-file.
2003-09-12 00:51:13 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
55a87770f5
(dired-mouse-find-file-other-window):
...
Use dired-view-command-alist here, as in dired-view-file.
(dired-view-command-alist): Use %s to substitute file name.
Handle .ps_pages, .eps, .jpg, .gif, .png.
2003-08-29 16:10:45 +00:00
Richard M. Stallman
60389964c5
(dired-move-to-filename-regexp): Allow quote in months.
2003-07-09 15:52:59 +00:00
Luc Teirlinck
147e214c5b
(dired-re-dot): Make it handle trailing /.
...
(dired-get-filename): Update documentation string.
Revert previous change and fix typo in earlier version.
2003-06-10 04:03:03 +00:00
Andreas Schwab
9b341343a9
(dired-get-filename): Complain only about "." and "..",
...
not all directories.
2003-06-09 17:05:55 +00:00
Juanma Barranquero
1d5ad120aa
(dired-get-filename): Don't err for . and .. for calls from dired-add-entry.
2003-06-05 22:00:13 +00:00
Richard M. Stallman
e9407052f9
(dired-get-filename): Err for . and .. in usual case.
...
(dired-get-file-for-visit): Specify no-error to dired-get-filename,
and check for real errors here.
(dired-unmark-all-files): Specify no-error to dired-get-filename.
2003-06-04 09:02:55 +00:00
Richard M. Stallman
59d18288fe
(dired-find-file): Bind find-file-run-dired around the call to find-file.
2003-05-05 21:22:13 +00:00
Richard M. Stallman
90c1e36a73
(dired-view-file): Let viewer program run asynchronously.
2003-04-06 20:17:43 +00:00
Kenichi Handa
038b550196
* dired.el (dired-get-filename): Pay attention to the case that
...
`read' returns a unibyte string. Don't encode the file name by
buffer-file-coding-system.
2003-03-19 11:58:25 +00:00
Markus Rost
e956c60936
(dired-directory): Add autoload cookie.
2003-02-13 19:34:17 +00:00
Juanma Barranquero
0952583ca8
(dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output.
2003-02-06 08:20:12 +00:00
Richard M. Stallman
59759f1f85
(dired-find-buffer-nocreate): Avoid error if dired-directory is nil.
2003-02-04 10:39:35 +00:00
Juanma Barranquero
c60ee5e70f
Cygwin support patch.
2003-01-31 15:24:20 +00:00
Kim F. Storm
470fa6d1a1
Doc fixes.
2003-01-14 23:11:19 +00:00
Kai Großjohann
d4aeef3b96
(dired-garbage-files-regexp): Use \\' instead of $ and
...
use regexp-opt for readability.
2003-01-10 16:42:27 +00:00
Kai Großjohann
6fbe33a719
(dired-garbage-files-regexp): Add `.aux$'. These are
...
produced by TeX.
2003-01-07 10:20:38 +00:00
Richard M. Stallman
53ade5c75e
(dired-recursive-deletes): Fix custom type.
2003-01-06 01:20:35 +00:00
Richard M. Stallman
f808da9ebb
(dired-goto-file): Handle \ and ^M quoted by backslash. Fix error message.
2002-12-28 21:26:46 +00:00
Andreas Schwab
2bb27597b3
(dired-insert-directory): Preserve text properties when quoting.
2002-12-21 17:06:54 +00:00
Richard M. Stallman
23fc67ead9
(dired-sort-inhibit): New variable.
...
(dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
2002-11-21 17:31:51 +00:00
Andreas Schwab
34cd7b3ca0
(dired-readin-insert): Expand dired-directory.
2002-10-16 21:27:40 +00:00
Andreas Schwab
1ba6c0f23b
(dired-insert-directory): When looking for existing
...
indentation, goto OPOINT instead of beginning of buffer.
2002-10-12 23:33:06 +00:00
André Spiegel
9227ba33a0
(dired-insert-directory): Fix check for indentation from ls --dired.
2002-10-10 22:30:26 +00:00
Kai Großjohann
1fc85daee0
* dired.el (dired-insert-directory): Always add "--dired" to to
...
SWITCHES for remote files.
* files.el (insert-directory): Comment saying that "--dired"
might be in the SWITCHES.
* net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
(ange-ftp-insert-directory): Comment explaining "--dired"
handling.
2002-09-22 13:01:10 +00:00
Richard M. Stallman
8421685fdf
(dired-mark-pop-up): Doc fix.
2002-09-19 01:03:43 +00:00
Kai Großjohann
96610f9dd8
(dired-insert-directory): Never add "--dired" when
...
listing remote directories.
2002-09-18 07:50:37 +00:00
Stefan Monnier
2b2059d899
(dired-font-lock-keywords): Use regexp-opt.
...
(dired-move-to-filename): Better message when we fail to find the file.
(dired-sort-toggle): Minor optimization.
2002-09-16 17:13:16 +00:00
Markus Rost
f618b7e55b
(dired-move-to-filename): Fix previous change.
2002-09-15 16:35:23 +00:00
Richard M. Stallman
0b7bc76fbf
(dired-use-ls-dired): New variable.
...
(dired-directory): Document the rules better.
(dired-insert-headerline): Function deleted.
(dired-revert): Pass no args to dired-readin.
(dired-move-to-filename): First try using dired-filename property.
(dired-move-to-end-of-filename): Likewise.
(dired-why): Try to show the start of this page of warnings.
(dired-log): Insert the buffer name at start of page, not end.
(dired-log-summary): If just one failure, explain it in echo area.
(dired-internal-noselect): Always set dired-directory, when buffer is not new.
Pass dir-or-list, not dirname, to dired-mode.
Call dired-readin with no args.
Don't call dired-after-readin-hook here.
(dired-find-buffer-nocreate): Expand dirname.
Expand the dir from dired-directory to compare with dirname.
(dired-readin): Take no args. Get the directory from dired-directory.
Run dired-before-reading hook inside save-excursion.
Run dired-after-readin-hook here.
Don't make undo entries at all.
Call dired-readin-insert with no args.
Don't change indentation here.
Don't insert headerline here.
(dired-readin-insert): Take no args.
Get dir and file-list from dired-directory.
Call dired-insert-directory the new way.
Don't insert "wildcard" info here.
(dired-insert-directory): New arg FILE-LIST.
First arg now DIR, always just the directory.
This function fully handles setting up the buffer text:
update indentation, insert headerline and "wildcard" info.
Pass --dired arg if appropriate; put info in dired-filename props.
Don't expand file names here.
2002-09-15 01:52:54 +00:00
Richard M. Stallman
ca66efd171
(defgroup dired): Use `files' as parent.
...
(dired-get-filename): Ignore handler if it has safe-magic prop.
2002-09-01 13:27:47 +00:00
Andreas Schwab
336cd99d1b
Add comment for last change.
2002-08-02 22:21:43 +00:00
Andreas Schwab
c21993d04f
Hide disabling of dired-find-alternate-file behind
...
autoload-cookie.
2002-07-31 12:08:06 +00:00
Andreas Schwab
11688fcc01
(dired-view-file): Quote file name for dired-run-shell-command.
2002-06-29 17:40:36 +00:00
Richard M. Stallman
8f6490b8df
Delete changes not supposed to be installed yet.
2002-06-26 08:40:22 +00:00
Richard M. Stallman
de0b1866f8
(dired-find-alternate-file): Mark as disabled.
2002-06-26 08:18:33 +00:00
Richard M. Stallman
8462b3904b
(dired-do-shell-command): Doc fix in autoload.
2002-06-03 22:58:20 +00:00
Markus Rost
165cebfa6d
(dired-view-command-alist): Change :version attribute to a string.
2002-05-20 03:05:16 +00:00
Richard M. Stallman
2aaa7f0a1b
(dired-mouse-find-file-other-window):
...
Handle events that move out of the window.
2002-04-23 03:14:48 +00:00
Richard M. Stallman
b70ebe3751
(dired-view-command-alist): New variable.
...
(dired-view-file): Use external viewers for some files names.
2002-04-10 15:15:23 +00:00
Richard M. Stallman
1312bfc633
(dired-get-marked-files): New arg FILTER allows selection of some files.
2002-03-29 14:43:14 +00:00
Richard M. Stallman
d588eb9091
(dired-toggle-marks): Renamed from dired-do-toggle. Bindings changed.
2002-03-28 18:32:59 +00:00
Richard M. Stallman
54f035751f
Comment change.
2002-03-21 09:35:35 +00:00
Richard M. Stallman
bf989169d3
(dired-readin): Clear out undo list.
...
(dired-fun-in-all-buffers): Definition moved from dired-aux.el.
(dired-delete-entry): New function.
(dired-internal-do-deletions): Use dired-fun-in-all-buffers
and dired-delete-entry, to update this buffer (and others).
2002-03-14 08:55:20 +00:00
Richard M. Stallman
b95ddab3b2
(dired-get-filename): Add /: when appropriate
...
to avoid taking a local name as remote.
2002-02-06 15:30:40 +00:00
Eli Zaretskii
c2792945cb
(dired-load-hook, dired-mode-hook)
...
(dired-before-readin-hook, dired-after-readin-hook): Defcustom.
2002-02-04 19:40:08 +00:00
Richard M. Stallman
879fa8d0a9
Comment change.
2002-01-13 02:39:08 +00:00
Richard M. Stallman
4de547e4a7
(dired-copy-filename-as-kill): Call kill-append if following a kill command.
2002-01-07 05:31:29 +00:00
Eli Zaretskii
05b855f5a5
(dired-free-space-program, dired-free-space-args):
...
Aliases for back-compatibility.
2001-12-21 19:38:25 +00:00
Pavel Janík
f0529b5b1a
Doc fix.
2001-12-20 19:01:00 +00:00
Richard M. Stallman
7277be1e3d
(dired-free-space-program): Variable deleted.
...
(dired-free-space-args): Variable deleted.
(dired-insert-directory): Don't try to determine free space.
2001-12-18 19:35:20 +00:00
Richard M. Stallman
a3f4a3ef81
(dired-copy-filename-as-kill): Moved from dired-x.el.
...
(dired-mode-map): Bind w to dired-copy-filename-as-kill.
2001-12-17 01:58:05 +00:00
Sam Steingold
8a9463543d
Converted backquote to the new style.
2001-11-27 15:52:52 +00:00
Eli Zaretskii
48404d5a03
(dired-listing-switches): Mention in the doc string
...
that some switches are not supported by ls-lisp.el
2001-11-20 09:38:55 +00:00
Richard M. Stallman
16a2f75ab7
(dired-undo): Display a message to explain
...
that this does not undo file system changes.
2001-11-15 19:02:56 +00:00
Richard M. Stallman
68d2f12f40
Many trivial doc fixes.
...
(dired-get-file-for-visit): New function.
(dired-find-alternate-file, dired-mouse-find-file-other-window):
(dired-view-file, dired-find-file-other-window, dired-display-file):
(dired-find-file): Use dired-get-file-for-visit.
2001-11-12 17:05:13 +00:00
Paul Eggert
b4bbe8889b
(dired-move-to-filename-regexp):
...
Do not distinguish between ASCII letters and non-ASCII characters.
Don't allow comma except in the form "month day, year".
Don't allow space between month name and comma.
Clean up the code that checks for trailing period, comma, and space.
Remove now-obsolete comments, and add more commentary about
Japanese dates.
Always gobble up trailing spaces, instead of doing it only sometimes.
2001-11-07 21:52:44 +00:00
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