2007-10-21 14:02:38 +00:00
|
|
|
;;; tramp-cmds.el --- Interactive commands for Tramp
|
|
|
|
|
2011-01-25 04:08:28 +00:00
|
|
|
;; Copyright (C) 2007-2011 Free Software Foundation, Inc.
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; Author: Michael Albinus <michael.albinus@gmx.de>
|
|
|
|
;; Keywords: comm, processes
|
2010-08-29 16:17:13 +00:00
|
|
|
;; Package: tramp
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
2008-05-06 07:31:51 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
2007-10-21 14:02:38 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-06 07:31:51 +00:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2008-05-06 07:31:51 +00:00
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; This package provides all interactive commands which are releated
|
|
|
|
;; to Tramp.
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
(require 'tramp)
|
|
|
|
|
|
|
|
(defun tramp-list-tramp-buffers ()
|
|
|
|
"Return a list of all Tramp connection buffers."
|
|
|
|
(append
|
|
|
|
(all-completions
|
|
|
|
"*tramp" (mapcar 'list (mapcar 'buffer-name (buffer-list))))
|
|
|
|
(all-completions
|
|
|
|
"*debug tramp" (mapcar 'list (mapcar 'buffer-name (buffer-list))))))
|
|
|
|
|
|
|
|
(defun tramp-list-remote-buffers ()
|
|
|
|
"Return a list of all buffers with remote default-directory."
|
|
|
|
(delq
|
|
|
|
nil
|
|
|
|
(mapcar
|
|
|
|
(lambda (x)
|
|
|
|
(with-current-buffer x
|
|
|
|
(when (and (stringp default-directory)
|
|
|
|
(file-remote-p default-directory))
|
|
|
|
x)))
|
|
|
|
(buffer-list))))
|
|
|
|
|
2010-09-16 20:43:12 +00:00
|
|
|
;;;###tramp-autoload
|
2007-10-21 14:02:38 +00:00
|
|
|
(defun tramp-cleanup-connection (vec)
|
|
|
|
"Flush all connection related objects.
|
|
|
|
This includes password cache, file cache, connection cache, buffers.
|
|
|
|
When called interactively, a Tramp connection has to be selected."
|
|
|
|
(interactive
|
|
|
|
;; When interactive, select the Tramp remote identification.
|
|
|
|
;; Return nil when there is no Tramp connection.
|
|
|
|
(list
|
|
|
|
(let ((connections
|
|
|
|
(mapcar
|
|
|
|
(lambda (x)
|
2007-11-06 21:17:36 +00:00
|
|
|
(tramp-make-tramp-file-name
|
|
|
|
(tramp-file-name-method x)
|
|
|
|
(tramp-file-name-user x)
|
|
|
|
(tramp-file-name-host x)
|
|
|
|
(tramp-file-name-localname x)))
|
2007-11-07 20:41:15 +00:00
|
|
|
(tramp-list-connections)))
|
2007-10-21 14:02:38 +00:00
|
|
|
name)
|
|
|
|
|
|
|
|
(when connections
|
|
|
|
(setq name
|
|
|
|
(completing-read
|
|
|
|
"Enter Tramp connection: " connections nil t
|
|
|
|
(try-completion "" connections)))
|
|
|
|
(when (and name (file-remote-p name))
|
|
|
|
(with-parsed-tramp-file-name name nil v))))))
|
|
|
|
|
|
|
|
(if (not vec)
|
|
|
|
;; Nothing to do.
|
|
|
|
(message "No Tramp connection found.")
|
|
|
|
|
|
|
|
;; Flush password cache.
|
|
|
|
(tramp-clear-passwd vec)
|
|
|
|
|
|
|
|
;; Flush file cache.
|
2009-04-14 14:39:46 +00:00
|
|
|
(tramp-flush-directory-property vec "")
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; Flush connection cache.
|
2008-02-05 03:54:37 +00:00
|
|
|
(tramp-flush-connection-property (tramp-get-connection-process vec))
|
|
|
|
(tramp-flush-connection-property vec)
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; Remove buffers.
|
|
|
|
(dolist
|
|
|
|
(buf (list (get-buffer (tramp-buffer-name vec))
|
|
|
|
(get-buffer (tramp-debug-buffer-name vec))
|
|
|
|
(tramp-get-connection-property vec "process-buffer" nil)))
|
|
|
|
(when (bufferp buf) (kill-buffer buf)))))
|
|
|
|
|
2010-10-02 13:21:43 +00:00
|
|
|
;;;###tramp-autoload
|
2007-10-21 14:02:38 +00:00
|
|
|
(defun tramp-cleanup-all-connections ()
|
|
|
|
"Flush all Tramp internal objects.
|
|
|
|
This includes password cache, file cache, connection cache, buffers."
|
|
|
|
(interactive)
|
|
|
|
|
2008-06-15 13:40:27 +00:00
|
|
|
;; Unlock Tramp.
|
|
|
|
(setq tramp-locked nil)
|
|
|
|
|
2007-10-21 14:02:38 +00:00
|
|
|
;; Flush password cache.
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall 'password-reset)
|
2007-10-21 14:02:38 +00:00
|
|
|
|
|
|
|
;; Flush file and connection cache.
|
|
|
|
(clrhash tramp-cache-data)
|
|
|
|
|
|
|
|
;; Remove buffers.
|
|
|
|
(dolist (name (tramp-list-tramp-buffers))
|
|
|
|
(when (bufferp (get-buffer name)) (kill-buffer name))))
|
|
|
|
|
2010-10-02 13:21:43 +00:00
|
|
|
;;;###tramp-autoload
|
2007-10-21 14:02:38 +00:00
|
|
|
(defun tramp-cleanup-all-buffers ()
|
|
|
|
"Kill all remote buffers."
|
|
|
|
(interactive)
|
|
|
|
|
|
|
|
;; Remove all Tramp related buffers.
|
|
|
|
(tramp-cleanup-all-connections)
|
|
|
|
|
|
|
|
;; Remove all buffers with a remote default-directory.
|
|
|
|
(dolist (name (tramp-list-remote-buffers))
|
|
|
|
(when (bufferp (get-buffer name)) (kill-buffer name))))
|
|
|
|
|
2007-10-27 13:57:43 +00:00
|
|
|
;; Tramp version is useful in a number of situations.
|
|
|
|
|
Migrate to Tramp 2.2. Rearrange load dependencies.
(Bug#1529, Bug#5448, Bug#5705)
* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
($(TRAMP_DIR)/tramp-loaddefs.el): New target.
(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
* net/tramp.el (top): Remove all other tramp-* loads except
tramp-compat.el. Remove all changes to tramp-unload-hook for
other tramp-* packages. Rearrange defun order. Change calls of
`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
`tramp-compat-octal-to-decimal' to new function names.
(tramp-terminal-type, tramp-initial-end-of-output)
(tramp-methods, tramp-foreign-file-name-handler-alist)
(tramp-tramp-file-p, tramp-completion-mode-p)
(tramp-send-command-and-check, tramp-get-remote-path)
(tramp-get-remote-tmpdir, tramp-get-remote-ln)
(tramp-shell-quote-argument): Set tramp-autoload cookie.
(with-file-property, with-connection-property): Move to
tramp-cache.el.
(tramp-local-call-process, tramp-decimal-to-octal)
(tramp-octal-to-decimal): Move to tramp-compat.el.
(tramp-handle-shell-command): Do not require 'shell.
(tramp-compute-multi-hops): No special handling for tramp-gw-*
symbols.
(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
* net/tramp-cache.el (top): Require 'tramp. Add to
`tramp-unload-hook'.
(tramp-cache-data, tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property, tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-cache-print, tramp-list-connections): Set tramp-autoload
cookie.
(with-file-property, with-connection-property): New defuns, moved
from tramp.el.
(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
macro.
* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
(tramp-version): Set tramp-autoload cookie.
* net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
changes to tramp-unload-hook for other tramp-* packages. Add to
`tramp-unload-hook'.
(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
(tramp-compat-call-process): New defuns, moved from tramp.el.
* net/tramp-fish.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change call of
`tramp-compat-decimal-to-octal' to new function name.
(tramp-fish-method): Make it a defconst.
(tramp-fish-file-name-p): Make it a defsubst.
(tramp-fish-method, tramp-fish-file-name-handler)
(tramp-fish-file-name-p): Set tramp-autoload cookie.
* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-ftp-method): Make it a defconst.
(tramp-ftp-file-name-p): Make it a defsubst.
(tramp-ftp-method, tramp-ftp-file-name-handler)
(tramp-ftp-file-name-p): Set tramp-autoload cookie.
* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-gvfs-file-name-p): Make it a defsubst.
(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
(tramp-gvfs-handle-file-directory-p): New defun.
(tramp-gvfs-file-name-handler-alist): Use it.
* net/tramp-gw.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
defconst.
(tramp-gw-tunnel-method, tramp-gw-socks-method)
(tramp-gw-open-connection): Set tramp-autoload cookie.
* net/tramp-imap.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-imap-file-name-p): Make it a defsubst.
(tramp-imap-method, tramp-imaps-method)
(tramp-imap-file-name-handler)
(tramp-imap-file-name-p): Set tramp-autoload cookie.
* net/tramp-smb.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded. Change call of `tramp-compat-decimal-to-octal' to new
function name.
(tramp-smb-tunnel-method): Make it a defconst.
(tramp-smb-file-name-p): Make it a defsubst.
(tramp-smb-method, tramp-smb-file-name-handler)
(tramp-smb-file-name-p): Set tramp-autoload cookie.
* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
(tramp-uuencode-region): Set tramp-autoload cookie.
* net/trampver.el (top) Add to `tramp-unload-hook'.
(tramp-version, tramp-bug-report-address): Set tramp-autoload
cookie. Update release number.
2010-09-08 14:42:54 +00:00
|
|
|
;;;###tramp-autoload
|
2007-10-27 13:57:43 +00:00
|
|
|
(defun tramp-version (arg)
|
|
|
|
"Print version number of tramp.el in minibuffer or current buffer."
|
|
|
|
(interactive "P")
|
|
|
|
(if arg (insert tramp-version) (message tramp-version)))
|
|
|
|
|
|
|
|
;; Make the `reporter` functionality available for making bug reports about
|
|
|
|
;; the package. A most useful piece of code.
|
|
|
|
|
|
|
|
(autoload 'reporter-submit-bug-report "reporter")
|
|
|
|
|
2010-10-02 13:21:43 +00:00
|
|
|
;;;###tramp-autoload
|
2007-10-27 13:57:43 +00:00
|
|
|
(defun tramp-bug ()
|
|
|
|
"Submit a bug report to the Tramp developers."
|
|
|
|
(interactive)
|
|
|
|
(require 'reporter)
|
|
|
|
(catch 'dont-send
|
|
|
|
(let ((reporter-prompt-for-summary-p t))
|
|
|
|
(reporter-submit-bug-report
|
|
|
|
tramp-bug-report-address ; to-address
|
|
|
|
(format "tramp (%s)" tramp-version) ; package name and version
|
2010-10-02 13:21:43 +00:00
|
|
|
(sort
|
|
|
|
(delq nil (mapcar
|
|
|
|
(lambda (x)
|
|
|
|
(and x (boundp x) (cons x 'tramp-reporter-dump-variable)))
|
|
|
|
(append
|
|
|
|
(mapcar 'intern (all-completions "tramp-" obarray 'boundp))
|
|
|
|
;; Non-tramp variables of interest.
|
|
|
|
'(shell-prompt-pattern
|
|
|
|
backup-by-copying
|
|
|
|
backup-by-copying-when-linked
|
|
|
|
backup-by-copying-when-mismatch
|
|
|
|
backup-by-copying-when-privileged-mismatch
|
|
|
|
backup-directory-alist
|
|
|
|
bkup-backup-directory-info
|
|
|
|
password-cache
|
|
|
|
password-cache-expiry
|
|
|
|
remote-file-name-inhibit-cache
|
|
|
|
file-name-handler-alist))))
|
|
|
|
(lambda (x y) (string< (symbol-name (car x)) (symbol-name (car y)))))
|
2007-10-27 13:57:43 +00:00
|
|
|
|
|
|
|
'tramp-load-report-modules ; pre-hook
|
|
|
|
'tramp-append-tramp-buffers ; post-hook
|
|
|
|
"\
|
|
|
|
Enter your bug report in this message, including as much detail
|
|
|
|
as you possibly can about the problem, what you did to cause it
|
|
|
|
and what the local and remote machines are.
|
|
|
|
|
|
|
|
If you can give a simple set of instructions to make this bug
|
|
|
|
happen reliably, please include those. Thank you for helping
|
|
|
|
kill bugs in Tramp.
|
|
|
|
|
2009-06-22 21:06:49 +00:00
|
|
|
Before reproducing the bug, you might apply
|
|
|
|
|
|
|
|
M-x tramp-cleanup-all-connections
|
|
|
|
|
|
|
|
This allows to investigate from a clean environment. Another
|
|
|
|
useful thing to do is to put
|
2007-10-27 13:57:43 +00:00
|
|
|
|
2010-07-28 10:02:18 +00:00
|
|
|
(setq tramp-verbose 9)
|
2007-10-27 13:57:43 +00:00
|
|
|
|
|
|
|
in the ~/.emacs file and to repeat the bug. Then, include the
|
|
|
|
contents of the *tramp/foo* buffer and the *debug tramp/foo*
|
|
|
|
buffer in your bug report.
|
|
|
|
|
|
|
|
--bug report follows this line--
|
|
|
|
"))))
|
|
|
|
|
|
|
|
(defun tramp-reporter-dump-variable (varsym mailbuf)
|
2010-10-02 13:21:43 +00:00
|
|
|
"Pretty-print the value of the variable in symbol VARSYM."
|
2007-10-27 13:57:43 +00:00
|
|
|
(let* ((reporter-eval-buffer (symbol-value 'reporter-eval-buffer))
|
|
|
|
(val (with-current-buffer reporter-eval-buffer
|
|
|
|
(symbol-value varsym))))
|
|
|
|
|
|
|
|
(if (hash-table-p val)
|
|
|
|
;; Pretty print the cache.
|
|
|
|
(set varsym (read (format "(%s)" (tramp-cache-print val))))
|
2010-10-02 13:21:43 +00:00
|
|
|
;; There are non-7bit characters to be masked.
|
2007-10-27 13:57:43 +00:00
|
|
|
(when (and (boundp 'mm-7bit-chars)
|
2010-10-02 13:21:43 +00:00
|
|
|
(stringp val)
|
2007-10-27 13:57:43 +00:00
|
|
|
(string-match
|
|
|
|
(concat "[^" (symbol-value 'mm-7bit-chars) "]") val))
|
|
|
|
(with-current-buffer reporter-eval-buffer
|
2010-10-02 13:21:43 +00:00
|
|
|
(set varsym (format "(base64-decode-string \"%s\")"
|
2007-10-27 13:57:43 +00:00
|
|
|
(base64-encode-string val))))))
|
|
|
|
|
|
|
|
;; Dump variable.
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall 'reporter-dump-variable varsym mailbuf)
|
2007-10-27 13:57:43 +00:00
|
|
|
|
|
|
|
(unless (hash-table-p val)
|
|
|
|
;; Remove string quotation.
|
|
|
|
(forward-line -1)
|
|
|
|
(when (looking-at
|
|
|
|
(concat "\\(^.*\\)" "\"" ;; \1 "
|
|
|
|
"\\((base64-decode-string \\)" "\\\\" ;; \2 \
|
|
|
|
"\\(\".*\\)" "\\\\" ;; \3 \
|
|
|
|
"\\(\")\\)" "\"$")) ;; \4 "
|
|
|
|
(replace-match "\\1\\2\\3\\4")
|
|
|
|
(beginning-of-line)
|
2010-10-02 13:21:43 +00:00
|
|
|
(insert " ;; Variable encoded due to non-printable characters.\n"))
|
2007-10-27 13:57:43 +00:00
|
|
|
(forward-line 1))
|
|
|
|
|
|
|
|
;; Reset VARSYM to old value.
|
|
|
|
(with-current-buffer reporter-eval-buffer
|
|
|
|
(set varsym val))))
|
|
|
|
|
|
|
|
(defun tramp-load-report-modules ()
|
|
|
|
"Load needed modules for reporting."
|
|
|
|
;; We load message.el and mml.el from Gnus.
|
|
|
|
(if (featurep 'xemacs)
|
|
|
|
(progn
|
|
|
|
(load "message" 'noerror)
|
|
|
|
(load "mml" 'noerror))
|
|
|
|
(require 'message nil 'noerror)
|
|
|
|
(require 'mml nil 'noerror))
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall 'message-mode)
|
|
|
|
(tramp-compat-funcall 'mml-mode t))
|
2007-10-27 13:57:43 +00:00
|
|
|
|
|
|
|
(defun tramp-append-tramp-buffers ()
|
|
|
|
"Append Tramp buffers and buffer local variables into the bug report."
|
|
|
|
(goto-char (point-max))
|
|
|
|
|
|
|
|
;; Dump buffer local variables.
|
|
|
|
(dolist (buffer
|
|
|
|
(delq nil
|
|
|
|
(mapcar
|
|
|
|
'(lambda (b)
|
|
|
|
(when (string-match "\\*tramp/" (buffer-name b)) b))
|
|
|
|
(buffer-list))))
|
|
|
|
(let ((reporter-eval-buffer buffer)
|
|
|
|
(buffer-name (buffer-name buffer))
|
|
|
|
(elbuf (get-buffer-create " *tmp-reporter-buffer*")))
|
|
|
|
(with-current-buffer elbuf
|
|
|
|
(emacs-lisp-mode)
|
|
|
|
(erase-buffer)
|
|
|
|
(insert "\n(setq\n")
|
|
|
|
(lisp-indent-line)
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall
|
|
|
|
'reporter-dump-variable 'buffer-name (current-buffer))
|
2007-10-27 13:57:43 +00:00
|
|
|
(dolist (varsym-or-cons-cell (buffer-local-variables buffer))
|
|
|
|
(let ((varsym (or (car-safe varsym-or-cons-cell)
|
|
|
|
varsym-or-cons-cell)))
|
|
|
|
(when (string-match "tramp" (symbol-name varsym))
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall
|
|
|
|
'reporter-dump-variable varsym (current-buffer)))))
|
2007-10-27 13:57:43 +00:00
|
|
|
(lisp-indent-line)
|
|
|
|
(insert ")\n"))
|
|
|
|
(insert-buffer-substring elbuf)))
|
|
|
|
|
2011-02-28 10:58:59 +00:00
|
|
|
;; Dump load-path shadows.
|
|
|
|
(insert "\nload-path shadows:\n==================\n")
|
|
|
|
(ignore-errors
|
|
|
|
(mapc (lambda (x) (when (string-match "tramp" x) (insert x "\n")))
|
|
|
|
(split-string (list-load-path-shadows t) "\n")))
|
|
|
|
|
2007-10-27 13:57:43 +00:00
|
|
|
;; Append buffers only when we are in message mode.
|
|
|
|
(when (and
|
|
|
|
(eq major-mode 'message-mode)
|
|
|
|
(boundp 'mml-mode)
|
|
|
|
(symbol-value 'mml-mode))
|
|
|
|
|
|
|
|
(let ((tramp-buf-regexp "\\*\\(debug \\)?tramp/")
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(buffer-list (tramp-compat-funcall 'tramp-list-tramp-buffers))
|
2007-10-27 13:57:43 +00:00
|
|
|
(curbuf (current-buffer)))
|
|
|
|
|
|
|
|
;; There is at least one Tramp buffer.
|
|
|
|
(when buffer-list
|
|
|
|
(switch-to-buffer (list-buffers-noselect nil))
|
|
|
|
(delete-other-windows)
|
|
|
|
(setq buffer-read-only nil)
|
|
|
|
(goto-char (point-min))
|
|
|
|
(while (not (eobp))
|
2010-11-13 10:42:32 +00:00
|
|
|
(if (re-search-forward tramp-buf-regexp (point-at-eol) t)
|
2007-10-27 13:57:43 +00:00
|
|
|
(forward-line 1)
|
|
|
|
(forward-line 0)
|
|
|
|
(let ((start (point)))
|
|
|
|
(forward-line 1)
|
|
|
|
(kill-region start (point)))))
|
|
|
|
(insert "
|
|
|
|
The buffer(s) above will be appended to this message. If you
|
|
|
|
don't want to append a buffer because it contains sensitive data,
|
|
|
|
or because the buffer is too large, you should delete the
|
|
|
|
respective buffer. The buffer(s) will contain user and host
|
|
|
|
names. Passwords will never be included there.")
|
|
|
|
|
|
|
|
(when (>= tramp-verbose 6)
|
|
|
|
(insert "\n\n")
|
|
|
|
(let ((start (point)))
|
|
|
|
(insert "\
|
|
|
|
Please note that you have set `tramp-verbose' to a value of at
|
|
|
|
least 6. Therefore, the contents of files might be included in
|
|
|
|
the debug buffer(s).")
|
|
|
|
(add-text-properties start (point) (list 'face 'italic))))
|
|
|
|
|
|
|
|
(set-buffer-modified-p nil)
|
|
|
|
(setq buffer-read-only t)
|
|
|
|
(goto-char (point-min))
|
|
|
|
|
|
|
|
(if (y-or-n-p "Do you want to append the buffer(s)? ")
|
|
|
|
;; OK, let's send. First we delete the buffer list.
|
|
|
|
(progn
|
|
|
|
(kill-buffer nil)
|
|
|
|
(switch-to-buffer curbuf)
|
|
|
|
(goto-char (point-max))
|
|
|
|
(insert "\n\
|
|
|
|
This is a special notion of the `gnus/message' package. If you
|
|
|
|
use another mail agent (by copying the contents of this buffer)
|
|
|
|
please ensure that the buffers are attached to your email.\n\n")
|
|
|
|
(dolist (buffer buffer-list)
|
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
* net/tramp-imap.el (top): Autoload `epg-make-context'.
2010-05-09 19:57:55 +00:00
|
|
|
(tramp-compat-funcall
|
|
|
|
'mml-insert-empty-tag 'part 'type "text/plain"
|
|
|
|
'encoding "base64" 'disposition "attachment" 'buffer buffer
|
|
|
|
'description buffer))
|
2007-10-27 13:57:43 +00:00
|
|
|
(set-buffer-modified-p nil))
|
|
|
|
|
|
|
|
;; Don't send. Delete the message buffer.
|
|
|
|
(set-buffer curbuf)
|
|
|
|
(set-buffer-modified-p nil)
|
|
|
|
(kill-buffer nil)
|
|
|
|
(throw 'dont-send nil))))))
|
|
|
|
|
|
|
|
(defalias 'tramp-submit-bug 'tramp-bug)
|
|
|
|
|
Migrate to Tramp 2.2. Rearrange load dependencies.
(Bug#1529, Bug#5448, Bug#5705)
* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
($(TRAMP_DIR)/tramp-loaddefs.el): New target.
(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
* net/tramp.el (top): Remove all other tramp-* loads except
tramp-compat.el. Remove all changes to tramp-unload-hook for
other tramp-* packages. Rearrange defun order. Change calls of
`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
`tramp-compat-octal-to-decimal' to new function names.
(tramp-terminal-type, tramp-initial-end-of-output)
(tramp-methods, tramp-foreign-file-name-handler-alist)
(tramp-tramp-file-p, tramp-completion-mode-p)
(tramp-send-command-and-check, tramp-get-remote-path)
(tramp-get-remote-tmpdir, tramp-get-remote-ln)
(tramp-shell-quote-argument): Set tramp-autoload cookie.
(with-file-property, with-connection-property): Move to
tramp-cache.el.
(tramp-local-call-process, tramp-decimal-to-octal)
(tramp-octal-to-decimal): Move to tramp-compat.el.
(tramp-handle-shell-command): Do not require 'shell.
(tramp-compute-multi-hops): No special handling for tramp-gw-*
symbols.
(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
* net/tramp-cache.el (top): Require 'tramp. Add to
`tramp-unload-hook'.
(tramp-cache-data, tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property, tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-cache-print, tramp-list-connections): Set tramp-autoload
cookie.
(with-file-property, with-connection-property): New defuns, moved
from tramp.el.
(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
macro.
* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
(tramp-version): Set tramp-autoload cookie.
* net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
changes to tramp-unload-hook for other tramp-* packages. Add to
`tramp-unload-hook'.
(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
(tramp-compat-call-process): New defuns, moved from tramp.el.
* net/tramp-fish.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change call of
`tramp-compat-decimal-to-octal' to new function name.
(tramp-fish-method): Make it a defconst.
(tramp-fish-file-name-p): Make it a defsubst.
(tramp-fish-method, tramp-fish-file-name-handler)
(tramp-fish-file-name-p): Set tramp-autoload cookie.
* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-ftp-method): Make it a defconst.
(tramp-ftp-file-name-p): Make it a defsubst.
(tramp-ftp-method, tramp-ftp-file-name-handler)
(tramp-ftp-file-name-p): Set tramp-autoload cookie.
* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-gvfs-file-name-p): Make it a defsubst.
(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
(tramp-gvfs-handle-file-directory-p): New defun.
(tramp-gvfs-file-name-handler-alist): Use it.
* net/tramp-gw.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
defconst.
(tramp-gw-tunnel-method, tramp-gw-socks-method)
(tramp-gw-open-connection): Set tramp-autoload cookie.
* net/tramp-imap.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-imap-file-name-p): Make it a defsubst.
(tramp-imap-method, tramp-imaps-method)
(tramp-imap-file-name-handler)
(tramp-imap-file-name-p): Set tramp-autoload cookie.
* net/tramp-smb.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded. Change call of `tramp-compat-decimal-to-octal' to new
function name.
(tramp-smb-tunnel-method): Make it a defconst.
(tramp-smb-file-name-p): Make it a defsubst.
(tramp-smb-method, tramp-smb-file-name-handler)
(tramp-smb-file-name-p): Set tramp-autoload cookie.
* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
(tramp-uuencode-region): Set tramp-autoload cookie.
* net/trampver.el (top) Add to `tramp-unload-hook'.
(tramp-version, tramp-bug-report-address): Set tramp-autoload
cookie. Update release number.
2010-09-08 14:42:54 +00:00
|
|
|
(add-hook 'tramp-unload-hook
|
|
|
|
(lambda () (unload-feature 'tramp-cmds 'force)))
|
|
|
|
|
2007-10-21 14:02:38 +00:00
|
|
|
(provide 'tramp-cmds)
|
|
|
|
|
|
|
|
;;; TODO:
|
|
|
|
|
|
|
|
;; * Clean up unused *tramp/foo* buffers after a while. (Pete Forman)
|
2007-10-27 13:57:43 +00:00
|
|
|
;; * WIBNI there was an interactive command prompting for Tramp
|
2007-10-21 14:02:38 +00:00
|
|
|
;; method, hostname, username and filename and translates the user
|
|
|
|
;; input into the correct filename syntax (depending on the Emacs
|
Migrate to Tramp 2.2. Rearrange load dependencies.
(Bug#1529, Bug#5448, Bug#5705)
* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
($(TRAMP_DIR)/tramp-loaddefs.el): New target.
(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
* net/tramp.el (top): Remove all other tramp-* loads except
tramp-compat.el. Remove all changes to tramp-unload-hook for
other tramp-* packages. Rearrange defun order. Change calls of
`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
`tramp-compat-octal-to-decimal' to new function names.
(tramp-terminal-type, tramp-initial-end-of-output)
(tramp-methods, tramp-foreign-file-name-handler-alist)
(tramp-tramp-file-p, tramp-completion-mode-p)
(tramp-send-command-and-check, tramp-get-remote-path)
(tramp-get-remote-tmpdir, tramp-get-remote-ln)
(tramp-shell-quote-argument): Set tramp-autoload cookie.
(with-file-property, with-connection-property): Move to
tramp-cache.el.
(tramp-local-call-process, tramp-decimal-to-octal)
(tramp-octal-to-decimal): Move to tramp-compat.el.
(tramp-handle-shell-command): Do not require 'shell.
(tramp-compute-multi-hops): No special handling for tramp-gw-*
symbols.
(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
* net/tramp-cache.el (top): Require 'tramp. Add to
`tramp-unload-hook'.
(tramp-cache-data, tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property, tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-cache-print, tramp-list-connections): Set tramp-autoload
cookie.
(with-file-property, with-connection-property): New defuns, moved
from tramp.el.
(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
macro.
* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
(tramp-version): Set tramp-autoload cookie.
* net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
changes to tramp-unload-hook for other tramp-* packages. Add to
`tramp-unload-hook'.
(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
(tramp-compat-call-process): New defuns, moved from tramp.el.
* net/tramp-fish.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change call of
`tramp-compat-decimal-to-octal' to new function name.
(tramp-fish-method): Make it a defconst.
(tramp-fish-file-name-p): Make it a defsubst.
(tramp-fish-method, tramp-fish-file-name-handler)
(tramp-fish-file-name-p): Set tramp-autoload cookie.
* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-ftp-method): Make it a defconst.
(tramp-ftp-file-name-p): Make it a defsubst.
(tramp-ftp-method, tramp-ftp-file-name-handler)
(tramp-ftp-file-name-p): Set tramp-autoload cookie.
* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-gvfs-file-name-p): Make it a defsubst.
(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
(tramp-gvfs-handle-file-directory-p): New defun.
(tramp-gvfs-file-name-handler-alist): Use it.
* net/tramp-gw.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'. Add to
`tramp-unload-hook'.
(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
defconst.
(tramp-gw-tunnel-method, tramp-gw-socks-method)
(tramp-gw-open-connection): Set tramp-autoload cookie.
* net/tramp-imap.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded.
(tramp-imap-file-name-p): Make it a defsubst.
(tramp-imap-method, tramp-imaps-method)
(tramp-imap-file-name-handler)
(tramp-imap-file-name-p): Set tramp-autoload cookie.
* net/tramp-smb.el (top) Require just 'tramp. Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
to `tramp-unload-hook'. Change checks, whether package can be
loaded. Change call of `tramp-compat-decimal-to-octal' to new
function name.
(tramp-smb-tunnel-method): Make it a defconst.
(tramp-smb-file-name-p): Make it a defsubst.
(tramp-smb-method, tramp-smb-file-name-handler)
(tramp-smb-file-name-p): Set tramp-autoload cookie.
* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
(tramp-uuencode-region): Set tramp-autoload cookie.
* net/trampver.el (top) Add to `tramp-unload-hook'.
(tramp-version, tramp-bug-report-address): Set tramp-autoload
cookie. Update release number.
2010-09-08 14:42:54 +00:00
|
|
|
;; flavor) (Reiner Steib)
|
2007-10-21 14:02:38 +00:00
|
|
|
;; * Let the user edit the connection properties interactively.
|
|
|
|
;; Something like `gnus-server-edit-server' in Gnus' *Server* buffer.
|
|
|
|
|
|
|
|
;;; tramp-cmds.el ends here
|