Title [Bug: 21.5-b28] Tramp autosave and askpassword infinity loop
Type defect Module tramp
Severity inconvenience Platform N/A
Keywords infloop Nosy List
These controls should only be changed by committers and tracker administrators.
Status chatting   Reason
Superseder   Submitted 2007-10-06.12:42:12
Priority cosmetic   Assigned To

Created on 2008-01-19.06:42:56 by FKtPp, last changed 2008-02-25.14:49:58 by FKtPp.

msg597 [hidden] ([hidden]) Date: 2008-02-25.14:49:28
When will the new tramp2 port to XEmacs? Is the GPLv3 vs.
GPLv2 legal issue resolved?

Will this issue be deferral to Tramp2? or just won't be fixed?
msg146 [hidden] ([hidden]) Date: 2008-01-19.06:42:56
  Message-ID: <>
Kai <> writes:

>> I would recommend to use a local backup directory.  See the Tramp
>> manual; you must customize variable `tramp-bkup-backup-directory-info',
>> similar to your settings of `tramp-auto-save-directory'.
> Thanks,
> So, you mean I have to customize the `tramp-bkup-backup-directory-info'
> for `tramp-auto-save-directory' to work properly? Previrusly I have

No. Both variables are independent from each other. I just have seen
that you did configure `tramp-auto-save-directory' for a local
directory; and I did recommend to do the same for

> backup-files backuped just at their original directory, and only the
> auto-save files saved localy to speed up Tramp access. I don't like the
> idea of save all backup files in some directory, It will cause extra
> work when I want to see the
> diff-of-the-original-file-aginest-the-backuped-file.

Then you need to reduce the password requests from Tramp. Which access
method do you use? An external method like "scp"? Change it to "ssh".

Or set `password-cache-expiry' to nil.

Best regards, Michael.

XEmacs-Beta mailing list
msg145 [hidden] ([hidden]) Date: 2008-01-19.06:42:56
  Message-ID: <>
Dear Bug Team!

While using tramp if I didn't use a ssh-ageant and alike, and the
password expired from password cache, autosave will kept complaining
'error in autosave'.

The password query prompt didn't get a chance displayed, and C-g would
also triger another autosave action which will also fail due to the
lack of ssh password...

Below is my tramp setting:

(setq ;; Tramp settings
      tramp-default-method "pscp"
      auto-save-file-name-transforms nil
      tramp-auto-save-directory "~/.emacs.d/auto-saves/"
      tramp-rsh-end-of-line "\r"
      password-cache-expiry 180)


System Info to help track down your bug:

OS version:

Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT

XEmacs 21.5-b28 "fuki" (+CVS-20070925) configured for `i586-pc-win32'.

  Building XEmacs using "nmake".
  Building XEmacs using make flags "                  ".
  Building XEmacs in source tree "c:\\XEmacsBuild\\xemacs-21.5-2007-09-26".
  For src, using compiler "cl -nologo -W3 -DSTRICT  -Zi -Od -MD -c -TP  -Ic:\XEmacsBuild\xemacs-21.5-2007-09-26\nt\inc -Ic:\XEmacsBuild\xemacs-21.5-2007-09-26\src  -I"e:/cygwin/usr/local/src\xpm-3.4k" -I"e:/cygwin/usr/local/src\xpm-3.4k\lib" -I"e:/cygwin/usr/local/src\libpng-1.2.8" -I"e:/cygwin/usr/local/src/zlib" -I"e:/cygwin/usr/local/src/tiff-3.7.3\libtiff" -I"e:/cygwin/usr/local/src\jpeg-6b" -I"e:/cygwin/usr/local/src/zlib"  -DHAVE_MS_WINDOWS -DHAVE_MENUBARS -DHAVE_SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_XPM -DFOR_MSW -DHAVE_GIF -DHAVE_PNG -DHAVE_TIFF -DHAVE_JPEG -DHAVE_ZLIB -DHAVE_NATIVE_SOUND -DMULE -DERROR_CHECK_ALL -DPDUMP -DUSE_KKCC -DSYSTEM_MALLOC -DDEBUG_XEMACS -D_DEBUG  -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs  -DHAVE_CONFIG_H -DPATH_VERSION=\"21.5-b28\"		 -DPATH_PROGNAME=\"xemacs\"				 -DEMACS_VERSION=\"21.5-b28\"		 -DEMACS_PROGNAME=\"xemacs\" -DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b28_i586_pc_win32 -DPATH_PREFIX=\"..\"  -DEMACS_MAJOR_!
  For lib-src, using compiler "cl -nologo -W3 -DSTRICT  -Zi -Od -MD -Ic:\XEmacsBuild\xemacs-21.5-2007-09-26\lib-src -Ic:\XEmacsBuild\xemacs-21.5-2007-09-26\src -DHAVE_CONFIG_H -DWIN32_NATIVE".
  Compiling as C++.
  Installing XEmacs in "c:/XEmacsBuild/installed/2007-09-26/XEmacs-21.5-b28".
  Compiling in support for Microsoft Windows native GUI.
  Compiling in international (MULE) support.
  Compiling in support for XPM images.
  Compiling in support for GIF images.
  Compiling in support for PNG images.
  Compiling in support for TIFF images.
  Compiling in support for JPEG images.
  Compiling in support for GZIP compression/decompression.
  Compiling in support for toolbars.
  Compiling in support for dialogs.
  Compiling in support for widgets.
  Compiling in support for native sounds.
  Using portable dumper.
  Using system malloc.
  Using DLL version of C runtime library.
  Compiling in extra internal error-checking.
  NOTE: ---------------------------------------------------------
  NOTE: Compiling in support for runtime error-checking.
  NOTE: XEmacs will run noticeably more slowly as a result.
  NOTE: Error-checking is on by default for XEmacs beta releases.
  NOTE: ---------------------------------------------------------
  Compiling in debugging support (no slowdown).
  Using new experimental GC mark algorithms.

Load-Path Lisp Shadows:
(d:\Program Files\XEmacs\xemacs-packages\lisp\xemacs-base\regexp-opt
d:\Program Files\XEmacs\XEmacs-21.5-b28\lisp\regexp-opt d:\Program
Files\XEmacs\xemacs-packages\lisp\xemacs-base\easy-mmode d:\Program

Internationalization Settings:


  Value of LC_ALL      : nil
  Value of LC_COLLATE  : nil
  Value of LC_CTYPE    : nil
  Value of LC_MESSAGES : nil
  Value of LC_MONETARY : nil
  Value of LC_NUMERIC  : nil
  Value of LC_TIME     : nil
  Value of LANG        : nil

Lisp locale settings:

  current-language-environment      => "Chinese-GB"
  default-buffer-file-coding-system => mswindows-multibyte-dos
  default-process-coding-system     => (undecided . mswindows-multibyte-system-default)
  (current-locale)                  => "Chinese_Taiwan.950"
  keyboard-coding-system            => mswindows-multibyte-system-default
  terminal-coding-system            => mswindows-multibyte-system-default
  (coding-priority-list)            =>
    (iso-8-2 big5 iso-7 utf-16-little-endian-bom utf-16-bom utf-8-bom
    no-conversion utf-8 iso-8-1 iso-8-designate iso-lock-shift
    shift-jis utf-16-little-endian utf-16 ucs-4)

Coding system aliases:

  'native                              is aliased to mswindows-multibyte-system-default-dos
  'file-name                           is aliased to native
  'mswindows-multibyte-system-default  is not a coding system alias

Installed XEmacs Packages:
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xemacs-devel ver: 1.76 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.11 upstream: No-Upstream-Ver)
(vc ver: 1.44 upstream: No-Upstream-Ver)
(tramp ver: 1.39 upstream: 2.0.56)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.22 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.09 upstream: No-Upstream-Ver)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.14 upstream: No-Upstream-Ver)
(perl-modes ver: 1.1 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.67 upstream: R-2_9_9)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(net-utils ver: 1.53 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.15 upstream: 2.111)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(gnus ver: 1.91 upstream: 5.10.8)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(easypg ver: 1.01 upstream: 0.0.15)
(dired ver: 1.17 upstream: 7.13)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.32 upstream: 2.35)
(auctex ver: 1.48 upstream: 11.55)


(parse-time gnus-ems gnus-xmas wid-edit efs-cu mail-extr message
messagexmas mml mml-sec mml-smime smime dig mm-decode mm-bodies
mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums
mail-abbrevs nnheader nnheaderxm gnus-util netrc time-date mm-util
mail-prsvr mail-utils mailheader canlock sha1 executable hex-util
xemacsbug shadow sendmail rfc822 font disp-table lazy-shot font-lock
cus-face china-util xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads vc-autoloads
tramp-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads speedbar-autoloads
sounds-wav-autoloads sh-script-autoloads sgml-autoloads sasl-autoloads
ruby-modes-autoloads reftex-autoloads re-builder-autoloads
python-modes-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads perl-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads os-utils-autoloads net-utils-autoloads
mmm-mode-autoloads mailcrypt-autoloads mail-lib-autoloads
ispell-autoloads igrep-autoloads ibuffer-autoloads gnus-autoloads
fsf-compat-autoloads forms-autoloads footnote-autoloads
eterm-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edit-utils-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads easypg-autoloads dired-autoloads
debug-autoloads cc-mode-autoloads calc-autoloads c-support-autoloads
bbdb-autoloads auctex-autoloads mule-autoloads auto-autoloads
auto-show fontl-hooks canna-leim tibetan slovenian czech romanian lao
devanagari indian cyrillic code-cmds gutter-items menubar-items
x-menubar dragdrop mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
loadhist cus-file derived newcomment rsz-minibuf env text-props frame
obsolete cus-start custom widget cl-extra cl cl-19 packages backquote
unicode mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs mule gutter tiff png gif jpeg xpm xbm lisp-float-type
file-coding dde windows-nt dragdrop-api dialog devices window-system

Recent keystrokes:

M-x r e p o r t TAB x e m TAB RET

Recent messages (most recent first):

Loading gnus-ems...done
Loading gnus-xmas...done
Loading gnus-xmas...
Loading gnus-ems...
Loading efs-cu...done
Loading efs-cu...
Loading mail-extr...done
Loading mail-extr...
Loading message...done
Loading executable...done
Loading executable...
Loading message...
Loading xemacsbug...done
Loading xemacsbug...
Loading font...done
Loading font...
Loading cus-face...done
Loading cus-face...

XEmacs-Beta mailing list
Date User Action Args
2008-02-25 14:49:58FKtPpsetpriority: normal -> cosmetic
2008-02-25 14:49:28FKtPpsetmessages: + msg597
2008-02-19 16:13:13FKtPpsetkeyword: + infloop
2008-02-13 13:59:52FKtPpsetpriority: normal
platform: + N/A
type: defect
severity: inconvenience
module: + tramp
2008-01-19 06:42:56michael.albinussetstatus: new -> chatting
messages: + msg146
2008-01-19 06:42:56FKtPpcreate