summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/dired-aux.el (dired-do-shell-command): Doc fix.Glenn Morris2012-01-101-2/+5
| | | | (Inspired by the Emacs manual.)
* * lisp/dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)Glenn Morris2012-01-101-6/+6
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* * lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.Stefan Monnier2011-12-021-2/+1
| | | | Fixes: debbugs:10191
* Spelling fixes.Paul Eggert2011-11-171-2/+2
|
* * lisp/dired-aux.el (dired-do-chmod): Don't provide initial input.Chong Yidong2011-09-141-10/+7
|
* * dired-aux.el (dired-mark-read-string): Don't use default value on empty input.Chong Yidong2011-09-121-34/+44
| | | | | | | | | | | (dired-do-chxxx): Treat empty input for "touch" as no -t option. Omit initial minibuffer contents. (dired-do-chmod): Signal an error on empty input. (dired-mark-read-string): Don't return default on empty input. * files.el (file-modes-symbolic-to-number): Doc fix. Fixes: debbugs:9361
* * lisp/dired-aux.el (dired-touch-initial): Remove function.Juri Linkov2011-07-301-19/+13
| | | | | | | | (dired-do-chxxx): For op-symbol `touch', set `initial' to the current time, and `default' to the last modification time of the current marked file. Fixes: debbugs:6887
* Minor Dired doc fixes.Chong Yidong2011-07-111-9/+12
| | | | | * lisp/dired.el (dired-mark-prompt): * lisp/dired-aux.el (dired-read-shell-command): Doc fix.
* * dired-aux.el (dired-kill-line): Add a doc string.Lars Magne Ingebrigtsen2011-07-061-0/+3
| | | | Fixes: debbugs:957
* Fix typos.Juanma Barranquero2011-07-051-1/+1
|
* (dired-show-file-type): Doc fixup (bug#8818).Lars Magne Ingebrigtsen2011-07-011-2/+3
|
* * dired-aux.el (dired-diff): Doc fixup (bug#8816).Lars Magne Ingebrigtsen2011-07-011-2/+2
|
* * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)Glenn Morris2011-05-201-8/+11
|
* lisp/*.el: Lexical-binding cleanup.Juanma Barranquero2011-04-191-10/+16
|
* * lisp/dired-aux.el (dired-create-files): Add docstring (Bug#7970).Chong Yidong2011-04-031-22/+17
|
* Add error for dired-create-directory on existing file (Bug#8246).Chong Yidong2011-03-191-1/+4
| | | | | * lisp/dired-aux.el (dired-create-directory): Signal an error if the directory already exists.
* dired-aux fix for bug#8131.Stephen Berman2011-02-271-3/+3
| | | | * lisp/dired-aux.el (dired-update-file-line): Fix 2010-11-09 change.
* Merge dired-x's dired-read-shell-command into dired-aux's version.Glenn Morris2011-02-191-8/+12
| | | | | | | | | * lisp/dired-x.el (dired-read-shell-command): Merge into dired-aux's version. * lisp/dired-aux.el (dired-read-shell-command): Merge dired-x's version. * doc/misc/dired-x.texi (Technical Details): No longer redefines dired-read-shell-command.
* Merge dired-x's dired-add-entry modifications into the main definition.Glenn Morris2011-02-181-85/+117
| | | | | | | | | | | * lisp/dired-aux.el (dired-add-entry): Give it a doc-string. Merge dired-x's dired-omit handling here. (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare. * lisp/dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry. * doc/misc/dired-x.texi (Technical Details): No longer redefines dired-add-entry.
* Adapt dired-create-files to copy-directory changes.Thierry Volpiatto2011-02-121-0/+4
| | | | | * dired-aux.el (dired-create-files): Adapt destination name to match the new behavior of copy-directory.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Revert changes adding format args to yes-or-no-p and y-or-n-p.Chong Yidong2011-01-191-2/+2
| | | | | | | | | | | | | | | | See discussion on emacs-devel at http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00388.html * src/fns.c (Fyes_or_no_p): Revert 2011-01-07 change, removing ARGS. * lisp/subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS. * lisp/files.el (find-alternate-file, basic-save-buffer) (basic-save-buffer-2, revert-buffer, recover-file) (kill-buffer-ask, abort-if-file-too-large) (set-visited-file-name, write-file, backup-buffer) (basic-save-buffer, save-some-buffers): * lisp/dired-aux.el (dired-compress-file): Callers changed.
* Refill some copyright headers.Glenn Morris2011-01-151-1/+2
|
* Merge from emacs-23Stefan Monnier2011-01-141-2/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | New function read-char-choice for reading a restricted set of chars.Chong Yidong2011-01-081-50/+30
| | | | | | | | | | | | | | | | * lisp/subr.el (read-char-choice): New function, factored out from dired-query and hack-local-variables-confirm. * lisp/dired-aux.el (dired-query): * lisp/files.el (hack-local-variables-confirm): Use it.
* | Merge from emacs-23Stefan Monnier2010-12-131-1/+5
|\ \ | |/
| * * dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while ↵Leo Liu2010-12-061-1/+5
| | | | | | | | mapping over marks (Bug#6810).
* | Replace still more end-of-line etc with line-end-position, etc.Glenn Morris2010-11-081-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail) (nnbabyl-check-mbox): Use point-at-bol. * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex): * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue): * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line): * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules): * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter): Use point-at-bol and point-at-eol. * lisp/vc/emerge.el (emerge-line-number-in-buf): * lisp/textmodes/ispell.el (ispell-region): * lisp/textmodes/fill.el (current-fill-column): * lisp/progmodes/xscheme.el (xscheme-send-current-line): * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy): * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): * lisp/progmodes/sh-script.el (sh-handle-prev-do): * lisp/progmodes/meta-mode.el (meta-indent-line): * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph) (idlwave-in-quote): * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame) (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter): * lisp/progmodes/fortran.el (fortran-looking-at-if-then): * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag): * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent) (cperl-find-pods-heres): * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun): * lisp/net/quickurl.el (quickurl-list-insert): * lisp/net/ldap.el (ldap-search-internal): * lisp/net/eudc.el (eudc-expand-inline): * lisp/mail/sendmail.el (sendmail-send-it): * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name): * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent) (viper-brac-function): * lisp/calc/calc-yank.el (calc-do-grab-region): * lisp/calc/calc-keypd.el (calc-keypad-press): * lisp/term.el (term-move-columns, term-insert-spaces): * lisp/speedbar.el (speedbar-highlight-one-tag-line): * lisp/simple.el (current-word): * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling): * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference) (Info-scroll-down): * lisp/hippie-exp.el (he-line-beg): * lisp/epa.el (epa--marked-keys): * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines) (dired-update-file-line, dired-add-entry, dired-remove-entry) (dired-relist-entry): * lisp/buff-menu.el (Buffer-menu-buffer): * lisp/array.el (current-line): * lisp/allout.el (allout-resolve-xref) (allout-latex-verbatim-quote-curr-line): Replace yet more uses of end-of-line etc with line-end-position.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|/
* * lisp/dired-aux.el (dired-hide-all): Make unused arg optional. Update md5sum.Chong Yidong2010-01-201-1/+1
|
* * lisp/dired-aux.el (dired-hide-all): Mark arg as ignored.Chong Yidong2010-01-201-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Make `dired-diff' more safe. (Bug#5225)Juri Linkov2009-12-171-1/+8
| | | | | * dired-aux.el (dired-diff): Signal an error when `file' equals to `current' or when `file' is a directory of the `current' file.
* Revert to old 23.1 logic of using the file at the mark as default.Juri Linkov2009-12-161-9/+19
| | | | | | | | * 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)
* Provide additional default values (directories at other DiredJuri Linkov2009-11-251-37/+96
| | | | | | | | | | | | | | | | 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'.
* (dired-compress-file-suffixes): Add ".xz". (Bug#4953)Glenn Morris2009-11-191-0/+1
|
* * x-dnd.el (x-dnd-maybe-call-test-function):Stefan Monnier2009-11-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * dired-aux.el (dired-query): Place cursor in echo area and allowChong Yidong2009-11-081-12/+20
| | | | | | | C-g. * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir menu item if not on a directory (Bug#4701).
* * dired-aux.el (dired-copy-file-recursive): Use it.Michael Albinus2009-10-041-45/+1
|
* Fix typos.Juanma Barranquero2009-09-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* (dired-query-alist): Remove spurious backslash.Stefan Monnier2009-09-181-10/+9
| | | | (dired-query): Use read-key.
* Put autoloads in dired.el rather than loaddefs.el.Glenn Morris2009-09-111-1/+6
|
* * dired-aux.el (dired-show-file-type): Let-bindMichael Albinus2009-08-251-7/+8
| | | | `process-file-side-effects' with nil.
* * dired-aux.el (dired-show-file-type): Handle remote files.Michael Albinus2009-07-051-2/+2
|
* * dired-aux.el (dired-copy-file-recursive): Set mode to "700" ifMichael Albinus2009-04-051-1/+1
| | | | `file-modes' returns nil.
* (minibuffer-default-add-dired-shell-commands): Doc fix.Juri Linkov2009-02-221-2/+2
|
* (dired-add-entry): Avoid munging long-form Dired switches (Bug#2261).Chong Yidong2009-02-111-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|