1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00
Commit Graph

188 Commits

Author SHA1 Message Date
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
Juanma Barranquero
89242dda15 (dired-copy-file-recursive): Preserve directory permissions. 2007-10-31 18:14:41 +00:00
Juanma Barranquero
52a1714325 (dired-create-files): Use mapc' rather than mapcar'. 2007-09-25 10:44:23 +00:00
Michaël Cadilhac
822b17d34c (dired-do-chmod): Change to use the built-in `set-file-modes' and the
symbolic mode parsing functions.
2007-09-10 09:58:29 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Michael Albinus
4a72585986 * dired-aux.el: Remove `dired-call-process'.
(dired-check-process): Call `process-file'.

* wdired.el (wdired-do-perm-changes): Call `process-file'.

* net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
`ange-ftp-process-file'.
2007-06-27 21:11:04 +00:00
Eli Zaretskii
806f34d6a7 (dired-do-symlink): Add reference to dired-do-relsymlink. 2007-02-02 14:51:08 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
7a547817cc (dired-copy-file-recursive): Catch errors
from recursive copies in the loop, around the recursive call.
2006-11-05 15:00:31 +00:00
Richard M. Stallman
ec9581d515 (dired-do-copy): Doc fix. 2006-10-18 10:50:28 +00:00
Richard M. Stallman
c62a807382 Handle errors in recursive copy usefully.
(dired-create-files-failures): New variable.
(dired-copy-file): Remove condition-case.
(dired-copy-file-recursive): Check for errors on all file
operations, and add them to dired-create-files-failures.
Check file file-date-erorr here too.
(dired-create-files): Check dired-create-files-failures
and report those errors too.
2006-09-11 02:25:00 +00:00
Chong Yidong
c8068734a7 * dired-aux.el (dired-compress-file): Confirm again if gzipped
file already exists.
2006-07-17 04:00:54 +00:00
Eli Zaretskii
40c50be3a6 (dired-do-shell-command): Doc fix. 2006-05-20 18:19:36 +00:00
Eli Zaretskii
098c61f202 (dired-do-redisplay, dired-maybe-insert-subdir): Point Info links to the main
manual, not to emacs-xtra.
2006-05-06 14:37:40 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
84bf6ad84e (dired-diff): Use dired-dwim-target-directory
instead of the file at the mark as default if the file at the mark
is the same as the file at point or if dired-dwim-target-directory
is not the same as the current directory and the mark is not active.
2006-01-17 01:43:00 +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
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Romain Francoise
b720164466 (dired-handle-overwrite): Don't use `format' here. The prompt is
formatted later.  From Johan Bockg� <bojohan+sf@dd.chalmers.se>.
2005-09-19 10:13:34 +00:00