After upgrading recently to 21.5-b28 I notice that whenever I visit a remote
file using tramp (v 2.0.55 - part of the xemacs sumo package tarball) the
buffer's modified flag is set. I have the following tramp bits in my
.xemacs/init.el file:
(require 'tramp)
(setq auto-save-directory (expand-file-name "~/tmp/emacs.save"))
(setq tramp-auto-save-directory auto-save-directory)
(setq tramp-remote-path
(append tramp-remote-path (list "/opt/app/bin")))
(setq tramp-default-method "rsync")
(defun ediff-file-remote-p (file-name)
(car (cond ((featurep 'efs-auto) (efs-ftp-path file-name))
((featurep 'tramp) (cons (tramp-tramp-file-p file-name) nil))
((fboundp 'file-remote-p) (file-remote-p file-name)))))
(defun compile-or-tramp-compile ()
(interactive)
(require 'compile)
(if (tramp-tramp-file-p (or (buffer-file-name) default-directory))
(call-interactively 'tramp-compile)
(call-interactively 'compile)))
(define-key ctl-x-map [(control k)] 'compile-or-tramp-compile)
My rudimentary spidey sense tells me none of these ELisp snippets should
affect whether or not the remote file buffer is marked as modified.
I realize that the tramp which comes with the sumo package tarball is a bit
behind the curve. I tried updating the package index to the pre-release
stuff from
mirrors.ibiblio.org but got a GnuPG error. Here's some
view-lossage output:
Process error: GnuPG error. Package database not updated
BAD SIGNATURE claiming to be from 'nil'
Verifying...
Loading mc-gpg...done
Loading mc-gpg...
Loading mc-toplev...done
Loading mc-toplev...
PGP version set to GPG.
:/pub/mirrors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...done
/xemacs/beta/experimental/packages/package-index.LATEST.gpg...100% (303.7 KB/s)
s/xemacs/beta/experimental/packages/package-index.LATEST.gpg...98% (289.1 KB/s)
...
ors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...8%
(13.6 KB/s)
rors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...6% (9.8 KB/s)
rors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...4% (9.0 KB/s)
rors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...2% (4.6 KB/s)
rors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...1% (2.3 KB/s)
.org:/pub/mirrors/xemacs/beta/experimental/packages/package-index.LATEST.gpg...
us@mirrors.ibiblio.org:/pub/mirrors/xemacs/packages/...done
I've no idea how to work around that problem. Long story short, I can't
easily try a more recent version of tramp with XEmacs.
--
Skip Montanaro - skip(a)pobox.com -
http://www.webfast.com/~skip/
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Darwin
montanaro.dyndns.org 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc
./configure '--prefix=/Users/skip/local' '--with-optimization'
'--without-error-checking' 'LDFLAGS=-L/opt/local/lib'
'CPPFLAGS=-I/opt/local/include'
XEmacs 21.5-b28 "fuki" configured for `powerpc-apple-darwin8.10.0'.
Compilation Environment and Installation Defaults:
Source code location: /Users/skip/src/xemacs-21.5.28
Installation prefix: /Users/skip/local
Operating system description file: `s/darwin.h'
Machine description file: `m/powerpc.h'
Compiler version: powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple
Computer, Inc. build 5367)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g -O3
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Load-Path Lisp Shadows:
----------------------
(/Users/skip/emacs/po-mode /Users/skip/local/lib/xemacs/site-lisp/po-mode
/Users/skip/emacs/macedit
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/calc/macedit
/Users/skip/emacs/pdb
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/debug/pdb
/Users/skip/emacs/tempo
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/edit-utils/tempo
/Users/skip/emacs/python-mode
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/python-modes/python-mode
/Users/skip/emacs/slider
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/slider/slider
/Users/skip/emacs/po-mode
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/text-modes/po-mode
/Users/skip/local/lib/xemacs/site-lisp/po-compat
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/text-modes/po-compat
/Users/skip/emacs/vm-sort
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/vm/vm-sort
/Users/skip/emacs/imenu
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/imenu
/Users/skip/emacs/ffap
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/ffap
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/Users/skip/local/lib/xemacs-21.5-b28/lisp/regexp-opt
/Users/skip/emacs/isearch-mode
/Users/skip/local/lib/xemacs-21.5-b28/lisp/isearch-mode
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/Users/skip/local/lib/xemacs-21.5-b28/lisp/easy-mmode
/Users/skip/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/Users/skip/local/lib/xemacs-21.5-b28/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg(a)xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.01 upstream: steve(a)eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.75 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.08 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.33 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(view-process ver: 1.13 upstream: 2.4)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tramp ver: 1.35 upstream: 2.0.55)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.92 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.08 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.09 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.67 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.39 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(net-utils ver: 1.49 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.78 upstream: No-Upstream-Ver)
(liece ver: 1.15 upstream: 1.4.9)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.34 upstream: 5.12.0)
(igrep ver: 1.14 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(gnus ver: 1.9 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(ess ver: 1.16 upstream: 5.2.7)
(eshell ver: 1.1 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(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)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.36 upstream: No-Upstream-Ver)
(ediff ver: 1.66 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.26 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.29 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow html-mode html-helper-mode auc-menu tempo find-func rect
vm-digest vm-mark sh-script vm-edit tabify ediff-vers ediff ediff-util
ediff-merg ediff-diff ediff-wind ediff-tbar ediff-help ediff-mult ediff-init
python-mode info-look overlay info efs-dired dired-faces dired-xemacs dired
mail-utils mail-abbrevs sendmail vm-reply view-less view man vm-save vm-sort
compile vm-virtual vm-mime vm-page vm-toolbar vm-summary tapestry vm-motion
vm-message vm-menu vm-folder func-menu vm-undo vm-minibuf vm-macro vm-misc
vm-mouse vm-window vm-delete vm-autoload vm-vars highlight-headers
vm-version vm vm-startup lazy-lock paren blink-paren gnuserv font-lock
complete mailcrypt rfc822 timezone supercite mail-extr regi filladapt
edmacro tramp-smb tramp-vc tramp regexp-opt executable advice advice-preload
shell password format-spec timer-funcs trampver efs-x19.15 efs-fnh efs-ovwrt
efs-cu efs-netrc efs-defun comint cus-face efs vc ring vc-hooks
zenirc-autoloads xslt-process-autoloads xslide-autoloads xlib-autoloads
xetla-autoloads xemacs-devel-autoloads xemacs-base-autoloads
x-symbol-autoloads w3-autoloads vm-autoloads view-process-autoloads
vc-cc-autoloads vc-autoloads tramp-autoloads tpu-autoloads
tooltalk-autoloads tm-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads sh-script-autoloads
sgml-autoloads semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads reftex-autoloads re-builder-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads net-utils-autoloads mmm-mode-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads liece-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads hyperbole-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads escreen-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads ecrypto-autoloads
ecb-autoloads docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads c-support-autoloads
build-autoloads bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
Sun-autoloads modules-autoloads auto-autoloads auto-show fontl-hooks
code-cmds gutter-items menubar-items x-menubar 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 lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db dbm md5 xemacs gutter tiff png gif jpeg xpm xbm lisp-float-type
file-coding darwin dialog devices window-system base64)
Recent keystrokes:
-----------------
s i o n RET C-x k RET C-x C-f / [ l o g i n ESC BS
w w w . w e b f a s t . c o m ] / BS p u b l i c _
h t m l / h o m e / h o m e . h t m l RET C-x u C-a
C-x u C-q C-x BS C-x k RET y e s RET C-x m x C-g C-g
C-x k RET M-x r e p o TAB r t TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Parsing /Users/skip/.mailrc... done
Parsing /Users/skip/.mailrc...
Warning:
Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.
To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.
To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent .
Loading xemacsbug...done
Loading xemacsbug...
Quit
Quit
Loading html-helper-mode...done
Loading hhm-netscape...done
Loading hhm-netscape...
Loading html-helper-mode...
tramp: Inserting local temp file `/tmp/skip/tramp.JGAPFT'...done
tramp: Inserting local temp file `/tmp/skip/tramp.JGAPFT'...
Transferring /[rsync/www.webfast.com]/home/skip/public_html/home/home.html to
/tmp/skip/tramp.JGAPFT...done
tramp: Process has finished.
tramp: Waiting 60s for prompt from remote shell
tramp: Waiting for prompts from remote shell
Transferring /[rsync/www.webfast.com]/home/skip/public_html/home/home.html to
/tmp/skip/tramp.JGAPFT...
tramp: Sending the Perl script `tramp_file_attributes'...done.
tramp: Sending the Perl script `tramp_file_attributes'...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta