1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

329 Commits

Author SHA1 Message Date
Michael Albinus
9bc260cfb7 * files.el (directory-listing-before-filename-regexp): New
defvar.  Replaces `dired-move-to-filename-regexp' from dired.el.

* dired.el (dired-move-to-filename-regexp): Removed.  All
occurences replaced by `directory-listing-before-filename-regexp'.

* dired-x.el, locate.el, vc.el: Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.  In vc.el it is
overwritten locally; maybe this can be handled in files.el too.

* net/ange-ftp.el (ange-ftp-date-regexp): Removed.  All occurences
replaced by `directory-listing-before-filename-regexp'.

* faq.texi (Bugs and problems): Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.
2005-10-23 12:17:28 +00:00
Romain Francoise
ce5a3ac01e 2005-09-25 Romain Francoise <romain@orebokech.com>
* dired-aux.el (dired-copy-file-recursive):
	* dired.el (dired-delete-file):
	* ediff-mult.el (ediff-dir-diff-copy-file):
	* ediff-util.el (ediff-test-save-region):
	* forms.el (forms-mode):
	* ido.el (ido-file-internal, ido-delete-file-at-head):
	* log-edit.el (log-edit-done):
	* ses.el (ses-yank-resize):
	* play/gomoku.el (gomoku-human-plays, gomoku)
	(gomoku-human-resigns, gomoku-prompt-for-other-game)
	(gomoku-offer-a-draw):
	* play/landmark.el (lm-human-resigns, lm):
	* net/eudcb-ldap.el (eudc-ldap-check-base):
	* play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game):
	* progmodes/ebrowse.el (ebrowse-find-pattern):
	* progmodes/idlw-shell.el (idlwave-shell-set-bp-check):
	* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer):
	End `yes-or-no-p' and `y-or-n-p' prompts with question mark and
	space.

	* vc.el (vc-delete-file):
	* play/gomoku.el (gomoku-terminate-game, gomoku)
	(gomoku-prompt-for-move, gomoku-human-takes-back):
	* play/landmark.el (lm-human-takes-back, lm-prompt-for-move)
	(lm-start-robot, lm-human-plays): Remove extraneous spaces in
	messages.
2005-09-24 23:26:28 +00:00
YAMAMOTO Mitsuharu
064801fe94 (dired-move-to-filename-regexp): Add date format for Mac OS X 10.3 in
East Asian locales.
2005-08-31 08:33:25 +00:00
Thien-Thi Nguyen
dd52fff6d9 (dired-move-to-end-of-filename):
Handle fifo as rendered by "ls -lF": Don't include trailing "|".
2005-08-18 11:30:44 +00:00
Andreas Schwab
9e7357b07a Revert last change. 2005-08-14 23:45:46 +00:00
Thien-Thi Nguyen
91859276fb Fix dependency bug: Wrap `desktop-buffer-mode-handlers'
modification in `eval-after-load' form.
2005-08-14 12:43:37 +00:00
Lars Hansen
a515788d7d Add handler to desktop-buffer-mode-handlers.
(dired-restore-desktop-buffer): Remove autoload cookie.
(dired-mode): Add autoload cookie.
2005-08-10 19:39:16 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Eli Zaretskii
09b0b7b388 (dired-move-to-filename-regexp): Recognize the B suffix
of the file size (as in "177B" for 177 bytes).  This happens with
"ls -lh" on FreeBSD.
2005-07-22 09:54:45 +00:00
Juanma Barranquero
ee680b2bc5 (dired-align-file, dired-flag-backup-files, dired-change-marks,
dired-unmark-all-files): "?\ " -> "?\s".
(dired-listing-switches, dired-ls-F-marks-symlinks, dired-dwim-target,
dired-load-hook, dired-mode-hook, dired-directory, dired-faces, dired,
dired-revert, dired-mode, dired-summary, dired-view-file,
dired-copy-filename-as-kill, dired-delete-file, dired-no-confirm,
dired-unmark-all-marks, dired-sort-by-date-regexp, dired-sort-by-name-regexp,
dired-sort-inhibit, dired-sort-other): Fix typos in docstrings.
(dired-undo, dired-get-file-for-visit, dired-sort-toggle-or-edit):
Fix typos in message strings.
2005-07-20 14:08:39 +00:00
Juri Linkov
9d9ee410b8 (dired-desktop-buffer-misc-data, dired-restore-desktop-buffer):
Delete duplicate words.
2005-07-18 15:18:33 +00:00
Juanma Barranquero
88cb5d3ce6 (dired-log): Use insert-buffer-substring', not insert-buffer'. 2005-07-18 10:24:58 +00:00
Juri Linkov
884b7f9dac (dired-marker-char): Avoid quotations for do' and mark'
to not create links to unrelated functions in the Help buffer.
2005-07-09 20:44:05 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
65536d1d29 (dnd-protocol-alist): Add defvar. 2005-07-03 16:11:04 +00:00
Juri Linkov
cf78a467b9 * dired.el (dired-ignored): Inherit from `shadow' face. 2005-06-06 12:23:03 +00:00
Nick Roberts
fcaed7ce73 (dired-dnd-popup-notice): Use message-box. 2005-05-23 23:36:18 +00:00
Richard M. Stallman
2225a1961e (dired-font-lock-keywords): Fontify files with junk extensions
even if marked by -F.
2005-05-22 13:35:21 +00:00
Reiner Steib
6ae53dc130 (dired-mode): Simplify. 2005-05-17 17:23:36 +00:00
Richard M. Stallman
09b092ad34 (dired-map-over-marks): New arg distinguish-one-marked.
(dired-get-marked-files): New arg distinguish-one-marked.
(dired-mark-pop-up): Handle FILES = (t FILE) specially.
2005-05-15 21:33:25 +00:00
Jan Djärv
d90b02af14 * dired.el (dired-mode): make-variable-buffer-local =>
make-local-variable
2005-05-13 17:03:30 +00:00
Reiner Steib
1ed8284daf * dnd.el (dnd-protocol-alist): Improve custom type.
* dired.el (dired-dnd-protocol-alist): New variable.
(dired-mode): Use `dired-dnd-protocol-alist'.  Move call of
`dired-mode-hook' to the end.
2005-05-11 19:32:51 +00:00
Jan Djärv
361eee8f58 * dired.el (dired-mode): Use dnd-* instead of x-dnd-*
(dired-dnd-handle-local-file): Call dnd-get-local-file-name.
 (dired-dnd-handle-file): Call dnd-get-local-file-uri
2005-04-11 19:28:07 +00:00
Luc Teirlinck
afda991974 (dired-copy-filename-as-kill): Make -' arg behave like -1'. Doc fix. 2005-04-04 23:58:11 +00:00
Juri Linkov
11782fd649 * dired.el (dired-mode-map): Add ellipsis to "Compare directories". 2005-03-28 01:05:52 +00:00
Juri Linkov
0e2aaf9844 (dired-mode-map): Add menu item "Compare directories"
for dired-compare-directories.
2005-03-24 19:47:20 +00:00
Richard M. Stallman
784a48b2ef (dired-build-subdir-alist): Bind buffer-undo-list to t. 2005-02-16 09:39:06 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
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