1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 12:40:56 -08:00
Commit graph

387 commits

Author SHA1 Message Date
Kai Großjohann
505edaeb0e (tramp-default-method): New default method "sm"
which I guess to be good for most people.
(tramp-default-method-alist): Use "ftp" method (ie, forwarding to
Ange-FTP) for some user/host combinations.
(tramp-file-name-structure, tramp-file-name-regexp)
(tramp-make-tramp-file-format)
(tramp-make-tramp-file-user-nil-format)
(tramp-multi-file-name-structure)
(tramp-multi-file-name-hop-structure)
(tramp-make-multi-tramp-file-format): New default value which
unifies the filename syntax between Tramp and Ange-FTP.  The new
syntax is "/method:user@host:path".  Note the colon after the
method.
(tramp-handle-file-name-directory): Don't return "/" when
completing a remote root directory (where the filename looks like
"/method:user@host:/").
(tramp-handle-ange-ftp): Deleted.
(tramp-disable-ange-ftp): New function, called at toplevel,
deletes Ange-FTP from file-name-handler-alist.
2002-07-11 19:59:07 +00:00
Stefan Monnier
c8607dc71a Use add-hook and find-file-hook.
(ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
(ange-ftp-ls-parser): Make it into a function.
Ignore trailing @ in symlink targets.
(ange-ftp-file-entry-p): Ignore FTP errors.
(ange-ftp-insert-directory): Use ange-ftp-expand-symlink
to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
2002-07-04 20:37:14 +00:00
Andreas Schwab
210accc8a7 (tramp-handle-ange-ftp): Move interactive spec
after doc string.
2002-07-03 18:42:34 +00:00
Juanma Barranquero
25f78d1872 (tramp-send-eof): Fix typo.
(tramp-kill-process): Likewise.
2002-07-03 10:00:41 +00:00
Richard M. Stallman
06268b4ff9 (ange-ftp-hook-function): Add file-remote-p prop. 2002-07-02 19:20:42 +00:00
Andreas Schwab
cdf4ead8ad (tramp-handle-ange-ftp): Fix typo. 2002-06-27 16:50:06 +00:00
Kai Großjohann
487fa986ae (tramp-file-name-structure)
(tramp-multi-file-name-hop-structure): Split for easier
readability.
(tramp-handle-make-symbolic-link): Use user/host/method/... from
LINKNAME, not FILENAME.
(tramp-handle-verify-visited-file-modtime): Call
tramp-ange-ftp-file-name-p with right parameters.
(tramp-handle-verify-visited-file-modtime): `insert' does not
work for integers, convert them to strings first.
(tramp-handle-ange-ftp): New function to perform setup for
replacing Ange-FTP with Tramp.
(tramp-repair-jka-compr): New function to factor out some
previously top-level code.  Call the function at top-level.
2002-06-27 15:52:51 +00:00
Kai Großjohann
8e3a1104c1 (tramp-open-connection-rsh): Support a kludgy feature for the
"-p" option to ssh.  If host name is given as "host#42", uses the
"-p 42" option.
2002-06-25 20:11:34 +00:00
Kai Großjohann
c62c9d08c7 (tramp-ftp-method): New user option.
(tramp-invoke-ange-ftp): New function to forward calls to
Ange-FTP.

(with-parsed-tramp-file-name): New macro for the usual big `let'
statement to dissect a file-name.

(tramp-handle-make-symbolic-link, tramp-handle-load)
(tramp-handle-file-name-directory)
(tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
(tramp-handle-file-truename, tramp-handle-file-directory-p)
(tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
(tramp-handle-file-writable-p, tramp-handle-file-writable-p):

Use the new macro and forward call to Ange-FTP if applicable.

(tramp-make-ange-ftp-file-name): New helper function to convert a
file name into an Ange-FTP file name, used by
`tramp-invoke-ange-ftp'.

(tramp-default-method-alist): New user option.
(tramp-find-default-method): Use it.

(tramp-sh-extra-args): New variable.
(tramp-find-shell): Use it.
2002-06-25 18:15:03 +00:00
Kai Großjohann
d18322c5fc (backup-buffer): Delete `ange-ftp' property.
This is not a handled operation.
2002-06-21 20:41:59 +00:00
Richard M. Stallman
857356cb69 (browse-url-at-mouse): Don't pass an arg to browse-url-at-point. 2002-06-21 09:58:32 +00:00
Kai Großjohann
fb7933a389 *** empty log message *** 2002-06-17 11:47:23 +00:00
Stefan Monnier
f6de01c7fa (read-file-name-internal): Remove the `ange-ftp' property.
(ange-ftp-real-read-file-name-internal): Remove.
2002-05-24 22:01:56 +00:00
Stefan Monnier
76a98a5066 (ange-ftp-allow-child-lookup): Re-enable since
the last patch works around the wu-ftpd misfeature that prompted
the disabling of this optimization.
2002-05-21 23:23:08 +00:00
Stefan Monnier
7ca26b02cf (ange-ftp-generate-root-prefixes)
(ange-ftp-file-name-completion): Don't cons unnecessarily.
(ange-ftp-send-cmd): Always `cd' before doing `ls'.
2002-05-20 18:51:49 +00:00
Pavel Janík
84778d91c3 (ange-ftp-try-passive-mode)
(ange-ftp-passive-host-alist): Change :version attributes to be strings.
2002-05-12 20:36:50 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Pavel Janík
74d40d47e8 (ldap-search-internal): Unfold folded lines before parsing. 2002-05-12 16:42:19 +00:00
Markus Rost
b2ce953f25 (ange-ftp-re-read-dir): Don't hide it behind the autoload-cookie.
Remove comment.
2002-05-07 19:34:35 +00:00
Richard M. Stallman
f1b693270a (zone-mode): Add write-file-hooks hook locally. 2002-04-30 03:28:48 +00:00
Richard M. Stallman
33ceea4f0e (ange-ftp-passive-host-alist)
(ange-ftp-bs2000-additional-pubsets):  Fix custom type.
2002-04-29 03:58:31 +00:00
Richard M. Stallman
97b913ad8b New file. 2002-04-24 16:09:22 +00:00
Richard M. Stallman
1665be4714 Put * in user option doc strings.
(browse-url-mosaic-pidfile): New variable.
(browse-url-mosaic): Use it.

(browse-url-filename-alist): Don't begin docstring with *, you don't
want to set this one with M-x set-variable.
2002-03-18 04:24:09 +00:00
Miles Bader
cf232e4dec (rlogin-mode): Use `define-derived-mode'. 2002-03-14 11:52:39 +00:00
Miles Bader
0fd2d581b7 (rlogin-carriage-filter): Function removed.
(rlogin): Don't install the `rlogin-carriage-filter' filter, as
comint removes carriage returns itself now.
2002-03-14 08:52:01 +00:00
Richard M. Stallman
b77784f7d9 (browse-url-galeon): Specify --existing for an existing window.
Use --noraise rather than --no-raise.  Don't use -x.
2002-03-08 09:56:30 +00:00
Pavel Janík
1d09ce772e Require tempo when compiling to prevent warnings. Update copyright notice. 2002-03-04 09:43:40 +00:00
Eli Zaretskii
f1ec000756 (browse-url-maybe-new-window): Reverse the sense of the comparison,
to match the doc strings of functions that use this macro.
2002-02-19 11:16:06 +00:00
Eli Zaretskii
5504af2259 (ange-ftp-process-handle-line, ange-ftp-set-xfer-size): If the file's
size is a float, divide by 1024 instead of using ash.
2002-02-08 12:37:02 +00:00
Richard M. Stallman
c392a090aa (ange-ftp-canonize-filename): Avoid duplicate slash if DIR is just slash. 2002-01-22 07:34:07 +00:00
Richard M. Stallman
00dc02800f (ange-ftp-bs2000-posix-hook-installed): Move defvar up. 2002-01-22 01:42:44 +00:00
Richard M. Stallman
9c35d70676 Added support for BS2000, and for raw ftp
login commands (needed in some circumstances).
(ange-ftp-raw-login): New custom var.
(ange-ftp-normal-login): Perform login with raw ftp commands, if
ange-ftp-raw-login is set and account password is needed.
(ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
(ange-ftp-bs2000-filename-pubset-regexp)
(ange-ftp-bs2000-filename-username-regexp)
(ange-ftp-bs2000-filename-prefix-regexp)
(ange-ftp-bs2000-name-template): New consts.
(ange-ftp-bs2000-short-filename-regexp)
(ange-ftp-bs2000-fix-name-regexp-reverse)
(ange-ftp-bs2000-fix-name-regexp): New consts.
(ange-ftp-bs2000-special-prefix): New custom var.
(ange-ftp-fix-name-for-bs2000)
(ange-ftp-fix-dir-name-for-bs2000): New funs.
(ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
(ange-ftp-bs2000-posix-hook-installed): New vars.
(ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
(ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
(ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
(ange-ftp-bs2000-filename-regexp): New const.
(ange-ftp-bs2000-additional-pubsets): New custom var.
(ange-ftp-bs2000-cd-to-posix): New fun.
2002-01-20 22:10:54 +00:00
Richard M. Stallman
31bcb0dc4d (ange-ftp-passive-mode): New arg PROC.
(ange-ftp-get-process): Pass that arg.
2002-01-17 01:40:23 +00:00
Richard M. Stallman
ff78c7214c (telnet-simple-send): Fix previous change. 2002-01-17 01:40:04 +00:00
Pavel Janík
5a9af4e1f0 (ldap-ldapsearch-prog): Default to OpenLDAP version 2 ldapsearch. 2002-01-16 08:50:27 +00:00
Pavel Janík
5301596556 New maintainer. Change author's address.
(eudc-pre-select-window-configuration, eudc-insertion-marker): Variables
removed.
(eudc-insert-selected): Function removed.
(eudc-select): Reimplemented.
(eudc-expand-inline): Delete the strings only after its expansion is chosen
not before.
2002-01-16 08:22:15 +00:00
Pavel Janík
886a2a61db (eudc-ph-open-session): Remove XEmacs case.
Minor coding style fixes.
2002-01-16 08:16:01 +00:00
Pavel Janík
ee9a44abfd New maintainer. Change author's address.
(eudc-attribute-display-method-alist): Display mail with eudc-display-mail.
2002-01-16 08:14:05 +00:00
Pavel Janík
89d0ce25a3 New maintainer. Change author's address. 2002-01-16 08:10:15 +00:00
Pavel Janík
774f6cf41f New maintainer. Change author's address.
(eudc-bob-mail-keymap): New keymap for e-mail addresses.
(eudc-display-mail): New function.
(eudc-bob-play-sound-at-point): Remove XEmacs case.
2002-01-16 08:05:19 +00:00
Stefan Monnier
ae0bec0b42 (ange-ftp-root-dir-p): New function.
(ange-ftp-file-name-all-completions, ange-ftp-file-name-completion): Use it.
(ange-ftp-hook-function): Preserve match-data.
(ange-ftp-insert-directory): Typo.
(ange-ftp-shell-command): Check if regexp matched.
2002-01-14 13:01:14 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Richard M. Stallman
0deef26e9a (browse-url-grail): Use browse-url-maybe-new-window. 2002-01-13 04:57:24 +00:00
Richard M. Stallman
732576c8ab (telnet-simple-send): Handle comint-input-sender-no-newline like
comint-simple-send.
2002-01-13 04:45:21 +00:00
Pavel Janík
ca151ad62f New maintainer. New e-mail address of the author. 2002-01-08 06:58:13 +00:00
Pavel Janík
b4ac0cdbf5 (ldap-search-internal): Skip error message from ldapsearch. Allow listing
attribute names only.  Do not open non-existent files.
2002-01-06 17:59:09 +00:00
Pavel Janík
527813ef22 (eudc-ldap-get-field-list): Do not try to call non-existent function. 2002-01-06 17:54:21 +00:00
Pavel Janík
ff41c6f670 (top-level): Revert previous change. 2002-01-06 16:41:07 +00:00
Pavel Janík
ab6511276e Fix Keywords: header. 2002-01-06 16:37:36 +00:00
Pavel Janík
01f91eb850 Fix typo. 2002-01-06 16:29:19 +00:00