diff options
| author | Michael Albinus | 2007-11-07 20:43:59 +0000 |
|---|---|---|
| committer | Michael Albinus | 2007-11-07 20:43:59 +0000 |
| commit | e1176b472d91d5ef62507ed9005769fdaed1d6c4 (patch) | |
| tree | 4903389425f96db55cd4e1771d0c482dc96a595b /doc/misc | |
| parent | b08104a01d188359cad1244e25f76b84956a3e75 (diff) | |
| download | emacs-e1176b472d91d5ef62507ed9005769fdaed1d6c4.tar.gz emacs-e1176b472d91d5ef62507ed9005769fdaed1d6c4.zip | |
* tramp.texi (Overview): Mention also the PuTTY integration under
Win32. Remove paragraphs about Tramp's experimental status.
(Frequently Asked Questions): Add code example for highlighting the
mode line.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 59 |
2 files changed, 44 insertions, 22 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 409692bdeb3..c9e77908619 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-11-07 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * tramp.texi (Overview): Mention also the PuTTY integration under | ||
| 4 | Win32. Remove paragraphs about Tramp's experimental status. | ||
| 5 | (Frequently Asked Questions): Add code example for highlighting the | ||
| 6 | mode line. | ||
| 7 | |||
| 1 | 2007-11-03 Michael Olson <mwolson@gnu.org> | 8 | 2007-11-03 Michael Olson <mwolson@gnu.org> |
| 2 | 9 | ||
| 3 | * remember.texi: Change mentions of remember-buffer to | 10 | * remember.texi: Change mentions of remember-buffer to |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e208f54b38b..591122640fe 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -260,6 +260,9 @@ box, one of the more common uses of the package. This allows | |||
| 260 | relatively secure access to machines, especially if @command{ftp} | 260 | relatively secure access to machines, especially if @command{ftp} |
| 261 | access is disabled. | 261 | access is disabled. |
| 262 | 262 | ||
| 263 | Under Windows, @value{tramp} is integrated with the PuTTY package, | ||
| 264 | using the @command{plink} program. | ||
| 265 | |||
| 263 | The majority of activity carried out by @value{tramp} requires only that | 266 | The majority of activity carried out by @value{tramp} requires only that |
| 264 | the remote login is possible and is carried out at the terminal. In | 267 | the remote login is possible and is carried out at the terminal. In |
| 265 | order to access remote files @value{tramp} needs to transfer their content | 268 | order to access remote files @value{tramp} needs to transfer their content |
| @@ -269,9 +272,9 @@ to the local machine temporarily. | |||
| 269 | The details are easy to select, depending on your needs and the | 272 | The details are easy to select, depending on your needs and the |
| 270 | machines in question. | 273 | machines in question. |
| 271 | 274 | ||
| 272 | The fastest transfer methods (for large files) rely on a remote file | 275 | The fastest transfer methods for large files rely on a remote file |
| 273 | transfer package such as @command{rcp}, @command{scp} or | 276 | transfer package such as @command{rcp}, @command{scp}, @command{rsync} |
| 274 | @command{rsync}. | 277 | or (under Windows) @command{pscp}. |
| 275 | 278 | ||
| 276 | If the remote copy methods are not suitable for you, @value{tramp} also | 279 | If the remote copy methods are not suitable for you, @value{tramp} also |
| 277 | supports the use of encoded transfers directly through the shell. | 280 | supports the use of encoded transfers directly through the shell. |
| @@ -279,15 +282,6 @@ This requires that the @command{mimencode} or @command{uuencode} tools | |||
| 279 | are available on the remote machine. These methods are generally | 282 | are available on the remote machine. These methods are generally |
| 280 | faster for small files. | 283 | faster for small files. |
| 281 | 284 | ||
| 282 | Within these limitations, @value{tramp} is quite powerful. It is worth | ||
| 283 | noting that, as of the time of writing, it is far from a polished | ||
| 284 | end-user product. For a while yet you should expect to run into rough | ||
| 285 | edges and problems with the code now and then. | ||
| 286 | |||
| 287 | It is finished enough that the developers use it for day to day work but | ||
| 288 | the installation and setup can be a little difficult to master, as can | ||
| 289 | the terminology. | ||
| 290 | |||
| 291 | @value{tramp} is still under active development and any problems you encounter, | 285 | @value{tramp} is still under active development and any problems you encounter, |
| 292 | trivial or major, should be reported to the @value{tramp} developers. | 286 | trivial or major, should be reported to the @value{tramp} developers. |
| 293 | @xref{Bug Reports}. | 287 | @xref{Bug Reports}. |
| @@ -2665,22 +2659,43 @@ remote host. | |||
| 2665 | @lisp | 2659 | @lisp |
| 2666 | (defadvice tramp-handle-write-region | 2660 | (defadvice tramp-handle-write-region |
| 2667 | (after tramp-write-beep-advice activate) | 2661 | (after tramp-write-beep-advice activate) |
| 2668 | " make tramp beep after writing a file." | 2662 | "Make tramp beep after writing a file." |
| 2669 | (interactive) | 2663 | (interactive) |
| 2670 | (beep)) | 2664 | (beep)) |
| 2671 | 2665 | ||
| 2672 | (defadvice tramp-handle-do-copy-or-rename-file | 2666 | (defadvice tramp-handle-do-copy-or-rename-file |
| 2673 | (after tramp-copy-beep-advice activate) | 2667 | (after tramp-copy-beep-advice activate) |
| 2674 | " make tramp beep after copying a file." | 2668 | "Make tramp beep after copying a file." |
| 2675 | (interactive) | 2669 | (interactive) |
| 2676 | (beep)) | 2670 | (beep)) |
| 2677 | 2671 | ||
| 2678 | (defadvice tramp-handle-insert-file-contents | 2672 | (defadvice tramp-handle-insert-file-contents |
| 2679 | (after tramp-copy-beep-advice activate) | 2673 | (after tramp-insert-beep-advice activate) |
| 2680 | " make tramp beep after copying a file." | 2674 | "Make tramp beep after inserting a file." |
| 2681 | (interactive) | 2675 | (interactive) |
| 2682 | (beep)) | 2676 | (beep)) |
| 2677 | @end lisp | ||
| 2678 | |||
| 2679 | |||
| 2680 | @ifset emacs | ||
| 2681 | @item | ||
| 2682 | I'ld like to get a Visual Warning when working in a sudo:ed context | ||
| 2683 | |||
| 2684 | When you are working with @samp{root} privileges, it might be useful | ||
| 2685 | to get an indication in the buffer's modeline. The following code, | ||
| 2686 | tested with @value{emacsname} 22.1, does the job. You should put it | ||
| 2687 | into your @file{~/.emacs}: | ||
| 2688 | |||
| 2689 | @lisp | ||
| 2690 | (defun my-mode-line-function () | ||
| 2691 | (when (string-match "^/su\\(do\\)?:" default-directory) | ||
| 2692 | (setq mode-line-format | ||
| 2693 | (format-mode-line mode-line-format 'font-lock-warning-face)))) | ||
| 2694 | |||
| 2695 | (add-hook 'find-file-hooks 'my-mode-line-function) | ||
| 2696 | (add-hook 'dired-mode-hook 'my-mode-line-function) | ||
| 2683 | @end lisp | 2697 | @end lisp |
| 2698 | @end ifset | ||
| 2684 | 2699 | ||
| 2685 | 2700 | ||
| 2686 | @ifset emacs | 2701 | @ifset emacs |