all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* TRAMP corrupting files
@ 2009-05-08  5:44 Will Willis
  2009-05-18 22:35 ` Ian Eure
  0 siblings, 1 reply; 8+ messages in thread
From: Will Willis @ 2009-05-08  5:44 UTC (permalink / raw)
  To: help-gnu-emacs

I'm using Tramp from my Mac to edit remote files. Twice in the last
few days I've experienced Tramp corrupting my files.

The first corruption happened mid way through a PHP file, looking like this:

...
 <option value="C"<?=$uresult['store_cluster']=="C"?"
selected":""?>>Cluster C</option>
			  <opv˷⌀ “䛆需戀܀㜀䜀阀

I think the characters might have been encoded above. What I see in
emacs is this

...
 <option value="C"<?=$uresult['store_cluster']=="C"?"
selected":""?>>Cluster C</option>
			  <opv\367^B#\340\240\220\223\306...

This corruption goes on for 35,202 characters (all on one line) then
the file ends.


The second time I had a file get corrupted, interestingly also in a
PHP file inside of a <select> option group, There were not funky
characters, just a few dozen lines of missing from my file.

It's really starting to scare me as I'm not sure I can trust this
method of remote file editing... My hosting company was able to assist
me once in recovering a backup... I'd have for this to happen again..

Is TRAMP known to do this sort of thing?

Are there Emacs alternatives to remote file editing (w/o corruption)?

Thanks.

Carbon Emacs  "22.2.1"
Tramp "2.0.57"




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-27  3:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-08  5:44 TRAMP corrupting files Will Willis
2009-05-18 22:35 ` Ian Eure
2009-05-19  1:40   ` Will Willis
2009-05-19  5:17     ` TRAMP corrupting files (it's OS X's fault) Daniel Colascione
2009-05-19 21:39       ` Will Willis
2009-05-26 19:57       ` Michael Albinus
2009-05-26 21:17         ` Daniel Colascione
2009-05-27  3:44           ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.