1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

292 Commits

Author SHA1 Message Date
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