/[tramp]/tramp/texi/tramp.texi
ViewVC logotype

Diff of /tramp/texi/tramp.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.85 by albinus, Sat Mar 22 17:21:12 2003 UTC revision 2.86 by kai, Fri Mar 28 17:29:58 2003 UTC
# Line 188  Configuring @tramp{} for use Line 188  Configuring @tramp{} for use
188  * Remote Programs::             How @tramp{} finds and uses programs on the remote machine.  * Remote Programs::             How @tramp{} finds and uses programs on the remote machine.
189  * Remote shell setup::          Remote shell setup hints.  * Remote shell setup::          Remote shell setup hints.
190  * Windows setup hints::         Issues with Cygwin ssh.  * Windows setup hints::         Issues with Cygwin ssh.
191    * Auto-save and Backup::        Auto-save and Backup.
192    
193  Using @tramp  Using @tramp
194    
# Line 698  can use to connect to remote machines an Line 699  can use to connect to remote machines an
699  * Remote Programs::             How @tramp{} finds and uses programs on the remote machine.  * Remote Programs::             How @tramp{} finds and uses programs on the remote machine.
700  * Remote shell setup::          Remote shell setup hints.  * Remote shell setup::          Remote shell setup hints.
701  * Windows setup hints::         Issues with Cygwin ssh.  * Windows setup hints::         Issues with Cygwin ssh.
702    * Auto-save and Backup::        Auto-save and Backup.
703  @end menu  @end menu
704    
705    
# Line 1521  the variables @code{tramp-actions-before Line 1523  the variables @code{tramp-actions-before
1523  @end table  @end table
1524    
1525    
1526    @node Auto-save and Backup
1527    @section Auto-save and Backup configuration
1528    @cindex auto-save
1529    @cindex backup
1530    @vindex backup-directory-alist
1531    
1532    Explaining auto-save is still to do.
1533    
1534    Normally, Emacs writes backup files to the same directory as the
1535    original files, but this behavior can be changed via the variable
1536    @code{backup-directory-alist}.  In connection with @tramp{}, this can
1537    have unexpected side effects.  Suppose that you specify that all backups
1538    should go to the directory @file{~/.emacs.d/backups/}, and then you edit
1539    the file @file{/su:root@@localhost:/etc/secretfile}.  The effect is that
1540    the backup file will be owned by you and not by root, thus possibly
1541    enabling others to see it even if they were not intended to see it.
1542    
1543    When @code{backup-directory-alist} is nil (the default), such problems
1544    do not occur.
1545    
1546    If you wish to customize the variable, the workaround is to include
1547    special settings for Tramp files.  For example, the following statement
1548    effectively `turns off' the effect of @code{backup-directory-alist} for
1549    @tramp{} files:
1550    
1551    @lisp
1552    (require 'tramp)
1553    (add-to-list 'backup-directory-alist
1554                 (cons tramp-file-name-regexp nil))
1555    @end lisp
1556    
1557    
1558  @node Windows setup hints  @node Windows setup hints
1559  @section Issues with Cygwin ssh  @section Issues with Cygwin ssh
1560  @cindex Cygwin, issues  @cindex Cygwin, issues

Legend:
Removed from v.2.85  
changed lines
  Added in v.2.86

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26