1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 21:50:45 -08:00
Commit graph

105 commits

Author SHA1 Message Date
Glenn Morris
874a927a02 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:31:51 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Michael Albinus
c200c78dc5 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
when the argument is nil.
2008-02-19 19:23:19 +00:00
Michael Albinus
1860f08d41 * net/ange-ftp.el (ange-ftp-quote-string): Use
`shell-quote-argument'.  This DTRT even on w32 machines.
(ange-ftp-cf1): Quote FILENAME.
2008-02-13 17:28:00 +00:00
Michael Albinus
de95cc30ec * net/ange-ftp.el (ange-ftp-cf1): Quote FILENAME. 2008-02-13 17:20:11 +00:00
Stefan Monnier
e61e836bc0 (ange-ftp-unhandled-file-name-directory):
Just return nil and let the C code provide a fallback.
2008-02-06 14:44:14 +00:00
Juanma Barranquero
0138efd4b3 *** empty log message *** 2008-02-05 12:07:11 +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
2f043267ee Add 2008 to copyright years. 2008-01-07 02:00:47 +00:00
Michael Albinus
5b2e628f4c * files.el (backup-buffer-copy): Call `copy-file' with non-nil
preserve-uid-gid.

* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
compatibility.  It is not used, though.
2007-10-21 10:48:28 +00:00
Juanma Barranquero
d590ea4d87 (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
Use `mapc' rather than `mapcar'.
2007-09-26 00:21:38 +00:00
Michael Albinus
b83483d541 * net/ange-ftp.el: Add ange-ftp property to 'set-file-modes and
'set-file-times.
2007-08-30 19:58:28 +00:00
Michael Albinus
1f3d1bea39 *** empty log message *** 2007-08-06 07:23:39 +00:00
Michael Albinus
75c23f5f85 *** empty log message *** 2007-08-06 07:22:20 +00:00
Michael Albinus
5bc880a47d * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:57:31 +00:00
Michael Albinus
227eb74497 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
process-filter.
2007-08-06 06:50: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
ceaeecb0c9 Switch license to GPLv3 or later. 2007-07-25 04:27:24 +00:00
Michael Albinus
3bd84a2269 * net/ange-ftp.el: (ange-ftp-file-remote-p): Handle optional
parameter IDENTIFICATION.
2007-07-17 21:09:12 +00:00
Michael Albinus
00d6fd04d8 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
* net/tramp.el:
* net/tramp-ftp.el:
* net/tramp-smb.el:
* net/tramp-uu.el:
* net/trampver.el: Migrate to Tramp 2.1.

* net/tramp-cache.el:
* net/tramp-fish.el:
* net/tramp-gw.el: New Tramp packages.

* net/tramp-util.el:
* net/tramp-vc.el: Removed.

* net/ange-ftp.el: Add ange-ftp property to 'start-file-process
(ange-ftp-file-remote-p): Handle optional parameter CONNECTED.

* net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.

* progmodes/compile.el (compilation-start): Redefine
`start-process' temporarily when `default-directory' is remote.
Remove case of synchronous compilation, this won't happen ever.
(compilation-setup): Make local variable `comint-file-name-prefix'
for remote compilation.
2007-07-08 18:03:20 +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
Thien-Thi Nguyen
c996c46352 (ange-ftp-try-passive-mode): Doc fix. 2007-03-09 09:15:21 +00:00
Michael Albinus
06531fc3fc * files.el (get-free-disk-space): Return nil for remote
directories.

* net/ange-ftp.el (ange-ftp-ls): In case of wildcards, use "ls"
instead of "dir".
2007-01-30 20:23:38 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Michael Albinus
e1e17cae49 * net/ange-ftp.el (ange-ftp-file-name-completion): Handle optional
parameter PREDICATE.

* lisp/tramp.el (tramp-handle-file-name-completion)
(tramp-completion-handle-file-name-completion): Handle optional
parameter PREDICATE.
(tramp-find-default-method): Add code for default values.
2006-12-20 05:57:41 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
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
Michael Albinus
6e967b19b6 * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no
group id is given.
2005-10-20 20:08:19 +00:00
Thien-Thi Nguyen
c7bef55fee (ange-ftp-ls): Fix typo introduced in last change. 2005-10-04 00:21:58 +00:00
Stefan Monnier
b63f6e81f7 Use with-current-buffer.
(ange-ftp-insert-directory): Do not follow symlinks any more.
2005-10-03 21:19:15 +00:00
Stefan Monnier
edb18c43df (ange-ftp-insert-directory): Fix up the search when `file' is absolute. 2005-10-02 15:54:03 +00:00
Stefan Monnier
402893bb42 (ange-ftp-insert-directory): Undo unintended part in last change. 2005-10-02 15:38:20 +00:00
Stefan Monnier
3bd1644e75 (ange-ftp-gwp-start): Use with-current-buffer.
(ange-ftp-file-directory-p): Fix the symlink case.
(ange-ftp-insert-directory): When listing a single file, get a list of
the parent buffer and extract the relevant line.  Inspired from a patch by
Katsumi Yamaoka <yamaoka@jpl.org>.
(ange-ftp-file-name-sans-versions): Simplify.
2005-09-30 21:04:56 +00:00
Stefan Monnier
503ac8a45f (ange-ftp-process-filter): Revert to ^#+$.
Use with-current-buffer.
(ange-ftp-gwp-start): Remove unused var `gw-user'.
(ange-ftp-guess-hash-mark-size): Remove unused var `result'.
(ange-ftp-insert-directory): Remove unused var `short'.
(ange-ftp-file-name-sans-versions): Remove unused var `host-type'.
2005-09-14 21:07:48 +00:00
Stefan Monnier
aa6f7b965f Use \\` and \\' instead of ^ and $ in regexps.
(ange-ftp-send-cmd): Revert last change, and expand
the comment explaining the problem.
2005-08-11 10:24:48 +00:00
Michael Albinus
8012c83504 * lisp/net/ange-ftp.el (ange-ftp-send-cmd): Make it work properly with
uploading files.
(ange-ftp-canonize-filename): Handle file names beginning with ~
correctly.
2005-08-09 21:00:39 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Stefan Monnier
92482d771b (ange-ftp-gateway-fatal-msgs, ange-ftp-pending-error-line): New vars.
(ange-ftp-process-handle-line, ange-ftp-process-filter): Use them
to handle the non-fatal no-route-to-host messages.
(internal-ange-ftp-mode): Make the no-match regexp more efficient.
2005-07-28 15:28:44 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Lute Kamstra
ccedb10b8b (internal-ange-ftp-mode): Use delay-mode-hooks and run-mode-hooks.
Simplify.
2005-06-14 12:10:55 +00:00
Juanma Barranquero
ff66030755 Replace send-string' by process-send-string'. 2005-05-18 10:18:42 +00:00
Thien-Thi Nguyen
aa1e26d477 Update years in copyright notice; nfc. 2005-05-17 16:24:37 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +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
Kai Großjohann
97e810ff41 (ange-ftp-remote-shell): Remove variable.
(ange-ftp-call-chmod): Reference remote-shell-program instead of
ange-ftp-remote-shell.
2004-10-10 19:53:24 +00:00
Richard M. Stallman
260763dbb0 (ange-ftp-gwp-start, ange-ftp-nslookup-host)
(ange-ftp-start-process): Use set-process-query-on-exit-flag.
2004-08-22 17:11:34 +00:00
David Kastrup
311f32fe0f (ange-ftp-hash-entry-exists-p)
(ange-ftp-file-entry-p, ange-ftp-file-symlink-p): Since the code
has been converted to use hashtables, the relation `nil=none' is
no longer valid, as `nil' is not a hashtable.  This patch tries to
reduce the number of resulting errors.
2004-08-21 21:50:06 +00:00
Kai Großjohann
3f78877397 * net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
according to new documentation of `file-remote-p'.

* files.el (file-remote-p): Fix doc to say that return value is
identification of remote system, if not nil.
(file-relative-name): Use new return value of `file-remote-p'.
2004-06-26 14:41:13 +00:00
Michael Albinus
e28c066825 (ange-ftp-file-remote-p): New defun.
(top): Remove setting of `file-remote-p' property for
`ange-ftp-hook-function'.  Add `ange-ftp' property to
`file-remote-p'.
2004-05-29 22:43:24 +00:00
Richard M. Stallman
836078f66a (ange-ftp-file-attributes):
Pass 2 args to ange-ftp-real-file-attributes only if ID-FORMAT non-nil.
2004-01-05 13:58:18 +00:00