1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

273 Commits

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