Title [Bug: 21.5-b28] difficult-to-delete autosave file name?
Type defect Module tramp
Severity inconvenience Platform N/A
Keywords Nosy List FKtPp
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder   Submitted 2007-10-09.15:39:38
Priority cosmetic   Assigned To

Created on 2008-01-19.06:42:56 by FKtPp, last changed 2008-07-07.16:14:47 by FKtPp.

msg770 [hidden] ([hidden]) Date: 2008-07-07.16:14:47

Prevent XEmacs from autosaving at remote host by setting

;; Auto-save setting
(setq auto-save-directory (expand-file-name "~/.xemacs/autosave"))
msg679 [hidden] ([hidden]) Date: 2008-04-20.06:38:56
Please find bellow the example filename while I am running
XEmacs 21.5.28 on a windows2000 machine to editing my
`index.html' on a Linux machine via TRAMP.  The autosave file
was named `\#index.html\#' which will cause autosave subsytem
unable to find it when doing autosaving.

  total 5807
  drwxr-xr-x 4 fktpp users     648 Apr 20 14:24 .
  drwxr-xr-x 8 fktpp users     624 Mar 28 15:00 ..
  -rw-r--r-- 1 fktpp users     374 Oct 14  2007 alt-style.css
  -rw-r--r-- 1 fktpp users     240 Nov  4 17:42 dot.Xdefaults
  -rw-r--r-- 1 fktpp users     131 Oct 14  2007 Emacs
  -rw-r--r-- 1 fktpp users     917 Jun  7  2006 Emacs.reg
  -rw-r--r-- 1 fktpp users    1171 Jun  7  2006 fktpp-autoloads.el
  -rw-r--r-- 1 fktpp users   18517 Oct  5  2007
  -rw-r--r-- 1 fktpp users    2290 Apr 20 14:25 \#index.html\#
  -rw-r--r-- 1 fktpp users    2288 Apr 20  2008 index.html
  -rw-r--r-- 1 fktpp users    2315 Mar  9 12:45 index.html~
  -rw-r--r-- 1 fktpp users    2509 Jan 20 17:45 init.el
  -rw-r--r-- 1 fktpp users    2510 Nov 29 13:04 init.el~
  -rw-r--r-- 1 fktpp users  194852 Jun  7  2006 knr.tar.bz2
  -rwxr-xr-x 1 fktpp users    1017 Jan 20 17:33
  -rw-r--r-- 1 fktpp users     374 Jun  7  2006 style.css
  -rw-r--r-- 1 fktpp users   52846 Dec 19 22:35 todo_list.jpg
  -rw-r--r-- 1 fktpp users  154223 Nov  1 12:37 xe.png
msg147 [hidden] ([hidden]) Date: 2008-01-19.06:42:56
  Message-ID: <>
Dear Bug Team!

While using tramp XEmacs produced a odd filename looks like:

  total 44
  drwxrwx---   4 fktpp fktpp   4096 Oct  9 19:41 .
  drwxrwx---  16 fktpp fktpp   4096 Oct  9 19:38 ..
  -rw-rw-r--   1 fktpp fktpp     51 Oct  9 19:38 somefile.yml
  -rw-rw-r--   1 fktpp fktpp   1549 Oct  9 19:41 \#boot.rb\#
  -rw-rw----   1 fktpp fktpp   1549 Sep 17 00:11 boot.rb
  -rw-rw-r--   1 fktpp fktpp   1245 Oct  9 19:38 anotherfile.yml

Note the dired output. The file \#boot.rb\# is undeleteable, at least
in tramp-dired mode.


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 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 hex-util xemacsbug shadow sendmail
rfc822 inf-ruby compile ruby-mode executable view-less view
dired-faces dired-xemacs dired tramp efs-cu regexp-opt advice
advice-preload shell comint ring password format-spec timer-funcs
trampver 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 base64)

Recent keystrokes:

p p p p RET C-x k RET y e s RET n n n p n n p n n p 
p n n n p p p p p v C-v M-v M-< C-v C-x k RET y e s 
RET g n n n n p p p p p n n p p d x y e s RET button1 
button1up g n p p p p p p p p x d x y e s RET g M-x 
r e p o r t TAB b a BS BS 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 mail-extr...done
Loading mail-extr...
Loading message...done
Loading message...
Loading xemacsbug...done
Loading xemacsbug...
Reading directory /[pscp/]/home/name810/website/config/...done
Reading directory /[pscp/]/home/name810/website/config/...
1 deletion done
1 of 1 deletions
(No deletions requested)
Reading directory /[pscp/]/home/name810/website/config/...done
Reading directory /[pscp/]/home/name810/website/config/...
1 deletion done
1 of 1 deletions
Reading directory /[pscp/]/home/name810/website/config/...done

XEmacs-Beta mailing list
Date User Action Args
2008-07-07 16:14:47FKtPpsetpriority: normal -> cosmetic
messages: + msg770
2008-04-20 06:42:43FKtPpsetmessages: - msg574
2008-04-20 06:38:56FKtPpsetnosy: + FKtPp
messages: + msg679
title: [Bug: 21.5-b28] undeleteable backup file? -> [Bug: 21.5-b28] difficult-to-delete autosave file name?
2008-02-19 15:45:47FKtPpsetseverity: inconvenience
messages: + msg574
module: + tramp
priority: normal
platform: + N/A
type: defect
2008-01-19 06:42:56FKtPpcreate