1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

136 Commits

Author SHA1 Message Date
Geoff Voelker
64aefd1ae3 (ange-ftp-canonicalize-filename): Do not use a UNC
path as a default directory when canonicalizing names.
1998-10-30 03:56:25 +00:00
Richard M. Stallman
68ccc91f99 (ange-ftp-waiting-flag): defvar moved. 1998-10-17 19:48:04 +00:00
Dave Love
7218b1d448 (ange-ftp-read-passwd): Function deleted.
(ange-ftp-set-passwd): Use read-passwd, not ange-ftp-read-passwd.
(ange-ftp-get-passwd, ange-ftp-set-account): Likewise.
1998-10-14 18:18:52 +00:00
Karl Heuer
7dd24f0261 (ange-ftp-insert-file-contents):
Use binary mode for dumb-unix hosts as for unix hosts.
(ange-ftp-copy-file-internal): Likewise.
1998-09-13 03:42:11 +00:00
Karl Heuer
e63d9e3174 (ange-ftp-write-region): For `dumb-unix' host,
do use binary mode, just as for `unix'.
(ange-ftp-host-type): If HOST is nil, return `unix'.
1998-09-10 16:01:37 +00:00
Dave Love
3f235494af Reinstate checking
dired-local-variables-file for dired-x.
1998-08-27 09:26:08 +00:00
Richard M. Stallman
85b5a02546 (ange-ftp-file-name-sans-versions): Don't return
the shortened version of the file name.
1998-08-18 04:49:15 +00:00
Kenichi Handa
3a77b8ee0f Quote ange-ftp-reread-dir in autoload cookie. 1998-07-25 04:35:02 +00:00
Richard M. Stallman
4b63ae47c2 (ange-ftp-reread-dir): Renamed from `re-read'.
Old name defined as alias.  Doc fix.
1998-07-22 00:31:24 +00:00
Richard M. Stallman
5bc3ed3e8f (ange-ftp-send-cmd): When listing a directory that
contains space(s), cd to the directory first to avoid problems
with (some) ftp servers.
1998-06-29 17:29:15 +00:00
Andreas Schwab
6114e627e9 (ange-ftp-default-user,
ange-ftp-generate-anonymous-password): Use `other' widget type.
1998-06-24 08:47:03 +00:00
Richard M. Stallman
16417dd9e9 (ange-ftp-expand-dir): Use null-device. 1998-06-09 02:53:29 +00:00
Richard M. Stallman
f5af0d6154 (ange-ftp-file-name-completion): Use ange-ftp-this-dir instead of
literal "/" when calling real completion function.
1998-06-09 01:57:51 +00:00
Richard M. Stallman
1ac06c20eb (ange-ftp-file-name-completion): Do hostname
completion in root directory of all drives on Windows.
(ange-ftp-file-name-all-completions): Fix regexp for detecting
root directory on drives.

(file-name-handler-alist): Remove the autoload tag from the
top-level form which changes file-name-handler-alist to support
Windows hostname completion.
1998-06-08 05:50:12 +00:00
Richard M. Stallman
b3b670cd86 (ange-ftp-expand-file-name): Set default to
default-directory if nil.  Check whether default starts with a
drive specifier on windows-nt, as well as name, and call real
function if so.  Remove code to strip prefix before // or /~ since
`expand-file-name' itself no longer does that.
(ange-ftp-expand-dir): Use `grep-null-device' instead of
"/dev/null", which is incorrect on windows-nt.
(ange-ftp-file-name-all-completions): Fix root directory regexp for windows-nt.
(ange-ftp-start-process): On windows-nt, always send a "help foo"
command to ensure the ftp process produces some output, and force
the process to use raw-text-dos decoding.
(ange-ftp-canonize-filename): On windows-nt, strip drive specifier
from expanded remote name.
(ange-ftp-write-region): Allow binary transfer on windows-nt if
remote host type is unix.  Ensure `last-coding-system-used' is
given an appropriate value, so that basic-save-buffer isn't
confused by the coding used with the ftp process.
(ange-ftp-insert-file-contents): Ditto.
(ange-ftp-copy-file-internal): Ditto.
(ange-ftp-real-expand-file-name): Use standard definition on windows-nt.
(ange-ftp-real-expand-file-name-actual): Remove obsolete function.
(ange-ftp-disable-netrc-security-check): Make default value be t on windows-nt.

(ange-ftp-start-process): Undo previous change.
1998-05-28 05:14:17 +00:00
Richard M. Stallman
a536e29973 (ange-ftp-tmp-name-template): Use temporary-file-directory. 1998-05-16 17:33:11 +00:00
Richard M. Stallman
8f6769c4f1 (ange-ftp-tmp-name-template): Use system-tmp-directory. 1998-05-16 03:38:59 +00:00
Richard M. Stallman
85348a1744 (ange-ftp-start-process): Handle Windows ftp client. 1998-05-15 20:35:58 +00:00
Richard M. Stallman
c18404773b (ange-ftp-real-expand-file-name-actual):
Locally bind old-name, new-name, final, drive-letter.
1998-04-29 05:24:09 +00:00
Geoff Voelker
3b9733284c (file-name-handler-alist): Instead of substituting,
add regexps for file names with drive letters,
1998-04-29 04:31:03 +00:00
Richard M. Stallman
f170ed7157 (file-name-handler-alist): FIx previous change. 1998-04-18 18:12:35 +00:00
Geoff Voelker
19dc6e3f9d (ange-ftp-real-make-directory): Fix indentation. 1998-04-17 05:27:19 +00:00
Geoff Voelker
c4185b2b8d (ange-ftp-tmp-name-template) [windows-nt]: Look for
common temp directories.
(ange-ftp-parse-netrc-group): Skip carriage returns.
(ange-ftp-expand-file-name): Handle files with drive letters.
(ange-ftp-write-region): Don't treat as unix.
(ange-ftp-insert-file-contents): Determine file type by transfer mode.
(ange-ftp-copy-file-internal): Don't treat as unix.
(ange-ftp-file-name-all-completions): Handle Windows filenames.
(file-name-handler-alist) [windows-nt]: Add patterns for name with
drive letters.
(ange-ftp-dired-call-process, ange-ftp-call-chmod): Use
dired-chmod-program.
(ange-ftp-disable-netrc-security-check) [windows-nt]: Disable by
default.
(ange-ftp-real-expand-file-name-actual): New function.
1998-04-17 05:22:37 +00:00
Richard M. Stallman
cf1b7d22af (ange-ftp-kill-ftp-process): Convert buffer name to the buffer. 1998-03-30 03:08:51 +00:00
Dave Love
1c65319ffb (shell-command): Define handler.
(ange-ftp-shell-command): Add optional arg.
(comint-last-output-start, comint-last-input-start,
comint-last-input-end): Defvar to silence compiler.
1998-03-24 17:08:02 +00:00
Richard M. Stallman
f09d4cf21b (ange-ftp-call-chmod): Don't try to chmod file `--'. 1998-03-02 22:21:46 +00:00
Richard M. Stallman
e8c86f8d74 (ange-ftp-date-regexp): Make l pattern match any non-ASCII char. 1998-01-21 01:41:23 +00:00
Richard M. Stallman
ef1c82874d (ange-ftp-inodes-hashtable): New variable.
(ange-ftp-next-inode-number): New variable.
(ange-ftp-file-attributes): Assign each file a unique "inode number".
1998-01-17 19:44:51 +00:00
Paul Eggert
ea69dc5bac (ange-ftp-date-regexp): Fix the problem with misparsing
`-r--r--r-- 1 may 1997' by requiring a digit before the date.
1997-12-11 06:58:17 +00:00
Karl Heuer
7e7dab8123 (ange-ftp-generate-passwd-key):
Downcase the host name
(ange-ftp-passwd-hashtable): Doc fix.
1997-11-23 02:16:13 +00:00
Paul Eggert
6291b1f3f9 (ange-ftp-date-regexp):
Allow month names of length 2 and up,
with varying white space afterwards; e.g. Solaris 2.6 "es" locale
uses "ab" for April and "fbro" for February.
1997-11-17 18:55:46 +00:00
Paul Eggert
620bca4973 (ange-ftp-date-regexp): Handle Japanese-format dates.
In Western dates, accept month name and day-of-month in either order.
1997-11-07 23:32:50 +00:00
Karl Heuer
d23237090f (ange-ftp-name-format): Fix customize type.
(ange-ftp-smart-gateway-port): Likewise.
1997-10-02 02:55:24 +00:00
Richard M. Stallman
1402211d73 Customized.
Doc fixes.
1997-07-25 00:55:06 +00:00
Richard M. Stallman
839c87f2e9 (ange-ftp-start-process): Create the buffer
and set its mode, before starting the process.
Set point in that buffer, and the process mark,
(ange-ftp-gwp-start): Don't set the mode here.
Move point to end of buffer.
(internal-ange-ftp-mode): Don't move process-mark here.
1997-05-10 22:29:42 +00:00
Richard M. Stallman
bcfe983bc3 (internal-ange-ftp-mode): Add a mode-class property. 1997-05-05 01:05:04 +00:00
Richard M. Stallman
028873a048 (ange-ftp-file-entry-p): If ange-ftp-get-files returns
nil, don't try ange-ftp-hash-entry-exists-p, just give up.
1997-04-27 22:41:00 +00:00
Richard M. Stallman
b77c56e6a8 (ange-ftp-get-process): Call delete-process. 1997-01-26 05:14:27 +00:00
Richard M. Stallman
d773375565 (ange-ftp-load): If fail, return nil. 1997-01-21 23:17:12 +00:00
Richard M. Stallman
2c7f9082ac (ange-ftp-waiting-flag): New variable.
(ange-ftp-load): Bind that to t, and catch ftp-error.
(ange-ftp-cf2, ange-ftp-cf1): If ange-ftp-waiting-flag is t,
throw instead of signaling an error.
1997-01-18 06:08:37 +00:00
Richard M. Stallman
5a90849857 (ange-ftp-date-regexp): Recognize various languages. 1996-12-17 18:31:33 +00:00
Karl Heuer
ce1b4c71eb (ange-ftp-normal-login): If using a smart gateway,
but ange-ftp-gateway-host is nil, generate the login name
in the usual simple way.
1996-12-06 23:18:25 +00:00
Richard M. Stallman
7a8f27dbe6 Comment change. 1996-10-12 02:42:58 +00:00
Richard M. Stallman
31f4ca2398 (ange-ftp-skip-msgs): Recognize `passive'. 1996-09-27 19:28:43 +00:00
Richard M. Stallman
4ee83dcfc0 (ange-ftp-ls): Run ange-ftp-before-parse-ls-hook.
(ange-ftp-before-parse-ls-hook): Add defvar.
1996-08-28 23:36:44 +00:00
Richard M. Stallman
da61a64091 (ange-ftp-process-filter): Discard nulls. 1996-08-16 17:21:31 +00:00
Richard M. Stallman
e47067d2a1 (ange-ftp-kill-ftp-process): Handle buffer name as arg. 1996-08-13 18:29:36 +00:00
Richard M. Stallman
4cf1b2e576 (ange-ftp-read-passwd): Let first input override
default, and let RET use the default value.
(ange-ftp-get-passwd): Make prompt clearer.
1996-07-29 16:27:49 +00:00
Richard M. Stallman
c360b9251b (ange-ftp-kill-ftp-process): Really use the BUFFER arg. Make it optional. 1996-06-18 17:00:03 +00:00
Richard M. Stallman
730cdbb27e (ange-ftp-wait-not-busy): New subroutine.
Kill ftp process if user quits.
(ange-ftp-raw-send-cmd): Use that.
(ange-ftp-fix-dir-name-for-cms): Fix error message.
1996-03-27 00:10:38 +00:00