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

237 Commits

Author SHA1 Message Date
Michael Albinus
cb85dcd0dc * net/tramp.el (tramp-read-passwd): Cached passwords shall still be used. 2009-02-01 10:48:12 +00:00
Michael Albinus
5c7043a248 * net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow
correction of passwords.
2009-01-29 16:26:53 +00:00
Michael Albinus
e0b6e3b945 * net/tramp.el (tramp-ipv6-regexp): The regexp shall cover also
IPv4 mapped IPv6 addresses.
2009-01-19 06:52:50 +00:00
Michael Albinus
c28f19e5ac * net/tramp.el: Revert previous patch. `last-command-char' is
used in code used only for XEmacs, where it is different from
`last-command-event'.
2009-01-09 08:15:27 +00:00
Glenn Morris
61a846fbec Replace last-command-char with last-command-event. 2009-01-09 04:29:16 +00:00
Michael Albinus
2c418c5bbf * net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-rename-file): Delete temporary file in case of
quit.
2009-01-06 07:56:42 +00:00
Michael Albinus
2988341a84 * net/tramp.el (tramp-do-copy-or-rename-file-directly)
(tramp-handle-file-local-copy, tramp-handle-write-region)
Delete temporary file in case of quit.
2009-01-06 07:51:09 +00:00
Michael Albinus
ce2cc72811 * net/tramp.el (tramp-handle-load)
(tramp-do-copy-or-rename-file-directly)
(tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
(tramp-handle-write-region): Delete temporary file in case of
error.
2009-01-05 19:37:01 +00:00
Glenn Morris
46932a8db5 (tramp-perl-encode, tramp-perl-decode): Update copyrights for 2009. 2009-01-05 02:00:02 +00:00
Michael Albinus
b96e689991 * net/tramp.el (tramp-local-host-regexp)
(tramp-prefix-domain-format)
(tramp-prefix-domain-regexp, tramp-domain-regexp)
(tramp-user-with-domain-regexp, tramp-prefix-ipv6-format)
(tramp-prefix-ipv6-regexp, tramp-ipv6-regexp)
(tramp-postfix-ipv6-format, tramp-postfix-ipv6-regexp): New
defconst.
(tramp-file-name-structure, tramp-file-name-regexp-unified)
(tramp-completion-dissect-file-name, tramp-parse-hosts-group)
(tramp-dissect-file-name, tramp-make-tramp-file-name)
(tramp-completion-make-tramp-file-name): Handle IPv6 addresses.
(tramp-handle-insert-file-contents): Fix setting of
`buffer-read-only'.
(tramp-compute-multi-hops, tramp-local-host-p): Use
`tramp-local-host-regexp'.
(tramp-file-name-real-user, tramp-file-name-domain): Use
`tramp-user-with-domain-regexp'.
2009-01-03 14:58:15 +00:00
Michael Albinus
dea31ca610 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Move overlay to
end, before updating.
(tramp-convert-file-attributes): Add "l" indicator to file modes.
(tramp-file-name-real-user, tramp-file-name-domain): New defuns.
2008-12-22 16:40:14 +00:00
Juanma Barranquero
a512e1a234 * net/tramp.el (top): Don't fail if there is no current message. 2008-12-10 10:21:03 +00:00
Michael Albinus
ccb4a48152 * net/tramp.el (top): Write a message, when loading Tramp. 2008-12-04 20:44:11 +00:00
Michael Albinus
1d7e9a015e * net/tramp.el (tramp-handle-write-region): Improve the check for
calling direct copy.
(tramp-find-inline-encoding): Don't raise an error but a warning,
when no inline encoding is found.
(tramp-get-remote-coding): Check for a symbol.  The negative check
for a string fails, when there is an empty string.
2008-11-26 06:09:17 +00:00
Michael Albinus
c0fc617049 * net/tramp.el (tramp-handle-file-name-as-directory): New defun.
(tramp-file-name-handler-alist): Handle `file-name-as-directory'.
2008-11-16 14:14:03 +00:00
Juanma Barranquero
8fc29035f3 * w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
  (prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.

* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.

* files.el (enable-local-eval, not-modified, kill-buffer-ask)
  (kill-matching-buffers, save-buffers-kill-emacs)
  (save-buffers-kill-terminal): Fix typos in docstrings.
  (switch-to-buffer-other-window): Reflow docstring.
  (revert-buffer): Doc fix.
  (define-project-bindings): Rename arg LIST to SETTINGS.
  (project-find-settings-file): Use `let', not `let*'.  Use `when'.
2008-11-14 13:05:18 +00:00
Michael Albinus
95d610cb98 * net/tramp.el (tramp-process-one-action): Embed regexp in
parentheses, before adding end-of-buffer construct.  Suggested by
Markus Triska <markus.triska@gmx.at>.
2008-10-14 05:53:56 +00:00
Michael Albinus
97c696d53f * net/tramp.el (tramp-remote-process-environment): Add "EMACS=t"
and "INSIDE_EMACS=...".  Reported by Tassilo Horn <tassilo@member.fsf.org>.
2008-08-22 19:22:55 +00:00
Andreas Schwab
f34db3167f (tramp-handle-shell-command): Handle output going
to current buffer like shell-command.  Don't disable undo.
2008-08-13 19:33:36 +00:00
Andreas Schwab
5d2ebd96ec (tramp-handle-shell-command): Correctly handle
output going to current buffer.  Don't disable undo.
2008-08-13 19:09:10 +00:00
Michael Albinus
b946a4567c * net/tramp.el (tramp-perl-directory-files-and-attributes)
(tramp-get-device): Make device number a cons cell.
(tramp-convert-file-attributes): Make inode a cons cell.
2008-07-28 03:47:00 +00:00
Michael Albinus
6ce63faf37 * net/tramp.el (tramp-handle-start-file-process): Set
query-on-exit flag. Kill temporary buffer.
(tramp-process-sentinel): Remove defun.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection):Don't call it.
2008-07-26 18:43:51 +00:00
Michael Albinus
38d63e6af4 * net/tramp.el (tramp-handle-start-file-process): Make NAME a unique
process name.  Reported by Markus Triska <markus.triska@gmx.at>.
2008-07-24 21:46:20 +00:00
Michael Albinus
2296b54d60 * net/tramp.el (tramp-methods): Add "-q" for "scp", "scp1",
"scp2", "ssh", "ssh1", "ssh2", "scpc", "scpx", "sshx".
(tramp-temp-buffer-name): New defconst.
(tramp-handle-start-file-process): Use it.  Apply "exec", for the
command.  No trailing prompt.
(tramp-process-sentinel): Remove temporary buffer, if existing.
Don't handle trailing prompt.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-temp-buffer-name'.
2008-07-23 19:17:55 +00:00
Michael Albinus
5da241082e * net/tramp.el (tramp-handle-file-modes): Handle symlinks.
(tramp-convert-file-attributes): Convert symlinks only when
returned from `tramp-handle-file-attributes-with-stat'.
2008-06-28 10:17:22 +00:00
Glenn Morris
04bf5b655a American English spelling fix. 2008-06-27 02:14:52 +00:00
Michael Albinus
d8ac123e39 (tramp-open-connection-setup-interactive-shell): Flush cache, and
restart `tramp-maybe-open-connection' when the remote system has
been changed. Throw 'uname-changed event.
(tramp-maybe-open-connection): Catch it.
2008-06-15 16:59:25 +00:00
Michael Albinus
11c712173e * net/tramp.el (tramp-handle-start-file-process): Clear
modification time of the connection buffer.
(tramp-sh-file-name-handler): Reset `tramp-locked' in case of
error.
2008-06-15 13:36:30 +00:00
Michael Albinus
48846dc595 * net/tramp.el (top): Quote feature names. Remove
`tramp-rfn-eshadow-setup-minibuffer' from
`rfn-eshadow-setup-minibuffer-hook' when unloading.
(tramp-read-passwd): There is only one call to
`auth-source-user-or-password' needed.  Pacify byte compiler.
2008-06-08 10:49:19 +00:00
Glenn Morris
bcb04d981a (top-level): Load auth-source when compiling. 2008-05-17 20:10:06 +00:00
Michael Albinus
82f3844e66 * net/tramp.el (tramp-handle-write-region): Fix check for short
track.  Reported by Glenn Morris <rgm@gnu.org>.
2008-05-16 20:20:36 +00:00
Michael Albinus
5615d63fac * net/tramp.el: Load auth-source library.
(tramp-read-passwd): Use it for password, not login.
(tramp-file-name-for-operation): Add `make-temp-name'.
2008-05-15 21:06:59 +00:00
Michael Albinus
674da0287d * net/tramp.el (tramp-echo-mark): Update docstring.
(tramp-echo-mark-marker): New defconst.
(tramp-check-for-regexp): Use it.
2008-05-14 19:55:11 +00:00
Glenn Morris
874a927a02 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:31:51 +00:00
Michael Albinus
2e27119583 * net/tramp.el (tramp-mode): New defcustom.
(tramp-file-name-handler, tramp-completion-file-name-handler): Use
it.
(tramp-replace-environment-variables): Handle "$$".
2008-04-28 19:07:26 +00:00
Michael Albinus
87bdd2c7a5 * net/tramp.el (tramp-handle-make-symbolic-link)
(tramp-handle-file-name-directory)
(tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
(tramp-do-copy-or-rename-file-directly)
(tramp-handle-insert-directory, tramp-handle-expand-file-name)
(tramp-handle-substitute-in-file-name)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
* net/tramp-cache.el (tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property)
* net/tramp-cpmpat.el (tramp-compat-make-temp-file)
* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Disable
`file-name-handler-alist' when handling localname.  It could have
a remote file syntax, like a VMS file name.
2008-04-27 16:39:03 +00:00
Michael Albinus
c23c3394ae * net/tramp.el (tramp-replace-environment-variables): New defun.
(tramp-handle-substitute-in-file-name, tramp-file-name-handler):
Use it.
2008-04-27 09:30:36 +00:00
Michael Albinus
4ad216352e * net/tramp.el (tramp-get-remote-stat): Test whether stat supports
%s.  Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2008-04-24 19:37:01 +00:00
Michael Albinus
eb56296236 * net/tramp.el (tramp-find-file-name-coding-system-alist): New
defun.
(tramp-handle-insert-file-contents, tramp-handle-write-region):
Use it.
2008-04-09 20:04:14 +00:00
Michael Albinus
60f2c210c0 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
"pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
2008-04-07 19:29:09 +00:00
Stefan Monnier
343bb7bdd1 (after-init-hook): Don't wrap a lambda around
tramp-register-completion-file-name-handler.
2008-04-04 17:38:44 +00:00
Glenn Morris
628c97b2cf (tramp-drop-volume-letter): Move definition before use. 2008-04-03 03:33:18 +00:00
Michael Albinus
113e2a8447 * net/tramp.el (tramp-make-tramp-temp-file): Use
`tramp-drop-volume-letter' for the local file name part.
2008-04-02 18:58:45 +00:00
Michael Albinus
da1975d727 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
overwriting when NEWNAME is a local file.
2008-03-30 18:08:20 +00:00
Michael Albinus
12aeeb576a * tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and "psftp". 2008-03-21 18:04:42 +00:00
Stefan Monnier
cdd44874a7 Fix up encoding. 2008-03-20 13:42:38 +00:00
Michael Albinus
aff67808c1 * net/tramp.el (tramp-let-maybe): Removed.
(tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
It does not exist under XEmacs.
(tramp-handle-file-truename, tramp-handle-expand-file-name)
(tramp-completion-file-name-handler): Let-bind
`directory-sep-char'.
2008-03-19 21:06:37 +00:00
Glenn Morris
699a11fbb6 (tramp-drop-volume-letter): Evaluate when compiling. 2008-03-19 07:11:57 +00:00
Juanma Barranquero
78f8b19b35 Fix typos in comments. 2008-03-18 09:17:44 +00:00
Michael Albinus
57671b7218 * net/tramp.el (tramp-root-regexp): Simplify.
(tramp-completion-file-name-regexp-separate): Don't insist on
leading "[".  This prevents method or user or host completion.
(tramp-let-maybe): Autoload it.
(tramp-drop-volume-letter): Don't autoload.  When not on W32, it is
an alias for `identity'.
(tramp-handle-write-region): Protect `last-coding-system-used'
over the trailing statements.
(tramp-completion-file-name-handler-post-function): Removed.
(tramp-completion-file-name-handler): Let-bind
`directory-sep-char' instead of calling
`tramp-drop-volume-letter'.
(top): Move coding cookie at the end.
2008-03-17 22:57:15 +00:00