Chong Yidong
8ae41cbce2
* lisp/dired-aux.el (dired-hide-all): Make unused arg optional. Update md5sum.
2010-01-20 11:42:50 -05:00
Chong Yidong
d3d8944e13
* lisp/dired-aux.el (dired-hide-all): Mark arg as ignored.
2010-01-20 11:40:47 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juri Linkov
ad974e9e13
Make `dired-diff' more safe. (Bug#5225)
...
* dired-aux.el (dired-diff): Signal an error when `file' equals to
`current' or when `file' is a directory of the `current' file.
2009-12-17 01:16:15 +00:00
Juri Linkov
72b5756030
Revert to old 23.1 logic of using the file at the mark as default.
...
* dired-aux.el (dired-diff): Use the file at the mark as default
if it's not the same as the current file, and the target dir is
the current dir or the mark is active. Add the current file
as the arg of `dired-dwim-target-defaults'. Use the default file
in the prompt. (Bug#5225)
2009-12-16 09:52:42 +00:00
Juri Linkov
e237085f03
Provide additional default values (directories at other Dired
...
windows) via M-n in the minibuffer of some Dired commands.
* dired-aux.el (dired-diff, dired-compare-directories)
(dired-do-create-files): Use `dired-dwim-target-defaults' to set
`minibuffer-default' in `minibuffer-with-setup-hook'.
(dired-dwim-target-directory): Find a window that displays Dired
buffer instead of failing when the next window is not Dired.
Use `get-window-with-predicate' to find for the next Dired window.
(dired-dwim-target-defaults): New function.
* ediff-util.el (ediff-read-file-name):
Use `dired-dwim-target-defaults' to set `minibuffer-default'
in `minibuffer-with-setup-hook'.
2009-11-25 17:15:19 +00:00
Glenn Morris
470bce7d54
(dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2009-11-19 07:42:20 +00:00
Stefan Monnier
7fdbcd8387
* x-dnd.el (x-dnd-maybe-call-test-function):
...
* window.el (split-window-vertically):
* whitespace.el (whitespace-help-on):
* vc-rcs.el (vc-rcs-consult-headers):
* userlock.el (ask-user-about-lock-help)
(ask-user-about-supersession-help):
* type-break.el (type-break-force-mode-line-update):
* time-stamp.el (time-stamp-conv-warn):
* terminal.el (te-set-output-log, te-more-break, te-filter)
(te-sentinel,terminal-emulator):
* term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
(term-write-input-ring, term-check-source, term-start-output-log):
(term-display-buffer-line, term-dynamic-list-completions):
(term-ansi-make-term, serial-term):
* subr.el (selective-display):
* strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string):
* speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
(speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
(speedbar-remove-localized-speedbar-support)
(speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
(speedbar-update-special-contents, speedbar-buffer-buttons-engine)
(speedbar-buffers-line-directory):
* simple.el (shell-command-on-region, append-to-buffer)
(prepend-to-buffer):
* shadowfile.el (shadow-save-todo-file):
* scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
(scroll-bar-maybe-set-window-start):
* sb-image.el (speedbar-image-dump):
* saveplace.el (save-place-alist-to-file, save-places-to-alist)
(load-save-place-alist-from-file):
* ps-samp.el (ps-print-message-from-summary):
* ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
(ps-background-image, ps-begin-job, ps-do-despool):
* ps-bdf.el (bdf-find-file, bdf-read-font-info):
* printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
(pr-ps-message-from-summary, pr-lpr-message-from-summary):
(pr-call-process, pr-file-list, pr-interface-save):
* novice.el (disabled-command-function)
(enable-command, disable-command):
* mouse.el (mouse-buffer-menu-alist):
* mouse-copy.el (mouse-kill-preserving-secondary):
* macros.el (kbd-macro-query):
* ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
* informat.el (batch-info-validate):
* ido.el (ido-copy-current-word, ido-initiate-auto-merge):
* hippie-exp.el (try-expand-dabbrev-visible):
* help-mode.el (help-make-xrefs):
* help-fns.el (describe-variable):
* generic-x.el (bat-generic-mode-run-as-comint):
* finder.el (finder-mouse-select):
* find-dired.el (find-dired-sentinel):
* filesets.el (filesets-file-close):
* files.el (list-directory):
* faces.el (list-faces-display, describe-face):
* facemenu.el (list-colors-display):
* ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
* epg.el (epg--process-filter, epg-cancel):
* epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
(epa--read-signature-type):
* emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
(emerge-file-names):
* ehelp.el (electric-helpify):
* ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
* ediff-vers.el (rcs-ediff-view-revision):
* ediff-util.el (ediff-setup):
* ediff-mult.el (ediff-append-custom-diff):
* ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
(ediff-wordify):
* echistory.el (Electric-command-history-redo-expression):
* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
* disp-table.el (describe-display-table):
* dired.el (dired-find-buffer-nocreate):
* dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
* dabbrev.el (dabbrev--same-major-mode-p):
* chistory.el (list-command-history):
* apropos.el (apropos-documentation):
* allout.el (allout-obtain-passphrase):
(allout-copy-exposed-to-buffer):
(allout-verify-passphrase): Use with-current-buffer.
2009-11-13 22:19:45 +00:00
Chong Yidong
bedd8a58d8
* dired-aux.el (dired-query): Place cursor in echo area and allow
...
C-g.
* dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
menu item if not on a directory (Bug#4701).
2009-11-08 00:32:18 +00:00
Michael Albinus
b4583b8c21
* dired-aux.el (dired-copy-file-recursive): Use it.
2009-10-04 12:16:36 +00:00
Juanma Barranquero
5a0c3f568d
Fix typos.
...
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Stefan Monnier
35a3f9a4b4
(dired-query-alist): Remove spurious backslash.
...
(dired-query): Use read-key.
2009-09-18 15:35:23 +00:00
Glenn Morris
276f1d00e2
Put autoloads in dired.el rather than loaddefs.el.
2009-09-11 06:50:14 +00:00
Michael Albinus
b967bd1914
* dired-aux.el (dired-show-file-type): Let-bind
...
`process-file-side-effects' with nil.
2009-08-25 08:47:39 +00:00
Michael Albinus
d6ceb380aa
* dired-aux.el (dired-show-file-type): Handle remote files.
2009-07-05 08:32:26 +00:00
Michael Albinus
38145b39b9
* dired-aux.el (dired-copy-file-recursive): Set mode to "700" if
...
`file-modes' returns nil.
2009-04-05 18:13:11 +00:00
Juri Linkov
b8f908b3a4
(minibuffer-default-add-dired-shell-commands): Doc fix.
2009-02-22 23:38:04 +00:00
Chong Yidong
7f7f59f5c3
(dired-add-entry): Avoid munging long-form Dired switches (Bug#2261).
2009-02-11 14:47:24 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juri Linkov
04f0aeafc9
(dired-isearch-filenames-toggle): Use the original
...
value from `dired-isearch-filter-predicate-orig' instead of the
symbol `isearch-filter-invisible'. Doc fix.
(dired-isearch-filter-filenames): Replace
`isearch-filter-invisible' with `isearch-filter-visible'. Doc fix.
2008-12-23 21:02:17 +00:00
Lute Kamstra
9201cc281b
* align.el:
...
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Juri Linkov
b9d9c1596e
(dired-isearch-filenames): Add new context-dependent
...
option `dwim'. Change non-dwim option from `dired-filename' to `t'.
Doc fix.
(dired-isearch-filenames-setup): Run filename Isearch only when
dired-isearch-filenames is t or dired-isearch-filenames is `dwim'
and the text property `dired-filename' at point is non-nil.
In this case also set isearch-message-prefix-add to "filename ".
(dired-isearch-filenames-end): Set isearch-message-prefix-add to nil.
(dired-isearch-filenames, dired-isearch-filenames-regexp):
Don't let-bind isearch-message-prefix-add since this is done now
in dired-isearch-filenames-setup.
2008-11-22 20:40:28 +00:00
Juri Linkov
43533626b3
(dired-isearch-filter-predicate-orig): Rename from
...
`dired-isearch-orig-success-function'.
(dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
(dired-isearch-filenames-end): Rename `isearch-success-function' to
`isearch-filter-predicate'. Doc fix.
(dired-isearch-filter-filenames): Rename from
`dired-isearch-success-function'.
2008-11-17 00:43:27 +00:00
Juri Linkov
978d723ed9
(dired-isearch-filenames)
...
(dired-isearch-filenames-regexp):
Let-bind isearch-message-prefix-add to "filename ".
2008-11-11 20:14:38 +00:00
Chong Yidong
9c8f194dd6
(dired-do-create-files): Doc fix.
2008-10-22 20:21:21 +00:00
Juri Linkov
78be566d5c
(dired-do-chmod): Set default value to the original
...
mode string using absolute notation like u=rwx,g=rx,o=rx.
Use it as a new arg `default' of `dired-mark-read-string'.
(dired-mark-read-string): Add new optional arg `default'.
2008-07-31 17:17:35 +00:00
Juri Linkov
f1056735c7
(dired-isearch-filenames-toggle): New command.
...
(dired-isearch-filenames-setup): Bind "\M-sf" to
dired-isearch-filenames-toggle in isearch-mode-map.
(dired-isearch-filenames-end): Bind "\M-sf" to nil
in isearch-mode-map.
2008-07-31 16:50:54 +00:00
Dan Nicolaescu
7c2fb837ec
* bitmaps/README:
...
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Juri Linkov
27f7e9b5d7
(dired-isearch-filenames-setup): Add autoload cookie
...
for the sake of isearch-mode-hook in dired-mode in dired.el.
2008-07-30 14:18:28 +00:00
Juri Linkov
5ec0c89248
(dired-do-async-shell-command): New command.
2008-07-29 16:36:42 +00:00
Juri Linkov
b4b6bda21c
(dired-isearch-filenames): New user option.
...
(dired-isearch-orig-success-function): New internal variable.
(dired-isearch-filenames-setup, dired-isearch-filenames-end)
(dired-isearch-success-function): New functions.
(dired-isearch-filenames, dired-isearch-filenames-regexp): New commands.
2008-07-29 14:42:35 +00:00
Juri Linkov
160c8be623
(dired-do-isearch, dired-do-isearch-regexp): New functions.
2008-07-28 14:28:59 +00:00
Chong Yidong
7138d3f948
Make comments clearer.
2008-07-24 16:16:43 +00:00
Chong Yidong
e6979d6e33
(dired-copy-file-recursive): Avoid calling
...
set-file-modes when creating target directories.
2008-07-24 16:12:20 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juri Linkov
905eb9ff9e
(dired-read-shell-command-default): Move it to
...
gnus/mailcap.el and change its name to more general name
mailcap-file-default-commands.
(minibuffer-default-add-dired-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(dired-read-shell-command): Set local minibuffer-default-add-function
to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command. Remove dired-read-shell-command-default
from the default value arg because default values are not set in
minibuffer-default-add-dired-shell-commands. Doc fix.
2008-04-22 19:51:57 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Stefan Monnier
1906dec48a
(dired-read-shell-command): Use read-shell-command.
2008-04-07 18:57:28 +00:00
Chong Yidong
bf0de14ded
(dired-overwrite-confirmed): Revert last change.
2008-04-06 20:11:37 +00:00
Chong Yidong
bbfe23084e
(dired-overwrite-confirmed): Supply initial value.
2008-04-06 00:03:38 +00:00
Stefan Monnier
04509548fd
(dired-create-files): Use dolist.
2008-03-26 03:34:07 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Richard M. Stallman
55d77548e7
(dired): Load dired.el at run time too.
2007-12-23 19:14:55 +00:00
Richard M. Stallman
86f795fdc8
Load dired.el at run time too.
2007-12-23 19:13:48 +00:00
Glenn Morris
0d461c8675
Remove directory part from filenames in function declarations.
...
(mailcap-mime-info): Update declaration.
2007-12-06 04:01:38 +00:00
Juanma Barranquero
8e845e23f4
(mailcap-parse-mailcaps, mailcap-parse-mimetypes, mailcap-extension-to-mime,
...
mailcap-mime-info, make-symbolic-link): Declare as functions.
2007-11-22 13:49:34 +00:00
Juri Linkov
934b49686d
(dired-create-directory): Allow creating
...
a directory of an arbitrary depth. Add a loop to find the topmost
nonexistent parent dir `new', and call `dired-add-file' on it.
Set the `PARENTS' arg of `make-directory' to t.
2007-11-17 01:27:52 +00:00
Juri Linkov
2f8a5963f2
(dired-read-shell-command-default): New function.
...
(dired-read-shell-command): Use its return value for DEFAULT arg.
2007-11-16 01:19:13 +00:00
Miles Bader
c12ecb0af9
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00