From: Mike H. <mh...@al...> - 2001-11-25 17:54:58
|
Nostradamus foretold that on Nov 25, Kai Großjohann would write: >Mike Hardy <mh...@al...> writes: > >> Nostradamus foretold that on Nov 21, Kai Großjohann would write: >> >>>Mike Hardy <mh...@al...> writes: >>> >>>> Tried 21.1 - no change. The mb msg: >>>> >>>> Auto-saving mse_asm_crc_home.vr.gz: Wrong type argument: number-or-marker-p, nil >>> >>>Does this come from auto-save-hook? What's its value in your case? >>> >> >> I don't set this anywhere I can see (it's value is nil) - should I be >> setting it to something? > >No, nil seems to be a good value. Obviously, the functions in >auto-save-hook cannot be the problem in your case, since there are no >functions in auto-save-hook. So the problem must be somewhere else. > >I could reproduce the problem, btw. But that doesn't really get me >closer to solving it, unless I find some time to delve into it. Hmpf. >At first I thought the problem might be that the auto-save file name >contained "[]" characters, so I frobbed >tramp-make-auto-save-file-name to replace them, but that didn't do >anything useful. > >But I think you can set tramp-auto-save-directory to nil, that means >auto-saves are done on the remote host. Though this is slower than >auto-saving on the local host, I guess it at least works. > >Does anyone know how to debug problems with auto-saving? > >kai > Thanks Kai. I turned on the debug functions you requested ((setq debug-on-error t) and (setq debug-on-signal t)) but don't seem to have gotten any extra info to provide. I noticed that w/other Emacs user-errors a backtrace buffer would pop up but nothing appeared for this remote compressed auto-save error. Anything I can add to get more info just let me know. Am I mis-using tramp-auto-save-directory? (setq temporary-file-directory "/tmp") (setq tramp-temporary-file-directory "/tmp/.mike_tramp") (although these seem to work fine for non-compressed files). I don't know if I mentioned it in my last email but I could fwd the remote ~/.sh_history if you like. Mike -- --------------------- Mike Hardy mh...@al... "Play an accordion, go to jail. It's the law!" |