[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Publishing emacs-wiki.el via TRAMP
From: |
Andrew J. Korty |
Subject: |
[emacs-wiki-discuss] Publishing emacs-wiki.el via TRAMP |
Date: |
Tue, 06 Jul 2004 15:59:47 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When publishing my emacs-wiki to a remote machine using TRAMP, I
noticed the wrong files get published. Files that are already
up-to-date get republished, and files that are not up-to-date do not
get published.
It turns out tramp-handle-file-newer-than-file-p returned the opposite
of what one would expect. Kai says he'll fix this in CVS soon.
Meanwhile, here's some advice I've been using as a workaround:
,----
| (defadvice tramp-handle-file-newer-than-file-p
| (before my-tramp-handle-file-newer-than-file-p () activate compile)
| "Reverse arguments to tramp-handle-file-newer-than-file-p so it
| operates like file-newer-than-file-p."
| (ad-set-args 0 (reverse (ad-get-args 0))))
`----
- --
Andrew J. Korty, Principal Security Engineer, GCIA, GCFA
Office of the Vice President for Information Technology
Indiana University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA6xLD8gM8+Mr5peERAifyAJ90RIC2uzACSzVEQsezOLgwow4ctgCgqo72
hPfiqWSq3nRXXjPVpoig/14=
=x7Vt
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [emacs-wiki-discuss] Publishing emacs-wiki.el via TRAMP,
Andrew J. Korty <=