Re: Auto save error

sandy@gandalf.sissa.it
Thu, 1 Dec 1994 20:07:06 +0100


>>>>> On Thu, 1 Dec 94 15:28:11 +0100,
      davidbe@goliat.upc.es (David) said:

 > 2. I start Dired 7.7.  Suddenly I get autosave errors for regular
 >    files (i.e. buffers associated with filenames), but it autosaves
 >    mail buffers all right.

 > I have not issued one single command in this dired, and auto-save.el
 > (which struck me as a file that could have effect on this behaviour)
 > is not loaded.  Any hints?

Try loading auto-save.el.  You'll gain some extra functionality, and
_maybe_ your problem will go away ;-)

If you really don't like auto-save.el, try setting debug-on-error to t
to generate a traceback, and send it to me.

I think that I know the problem.  All versions of Emacs 19 prior to
(and including 19.22) had a serious bug in the file-name-handler
support, which both dired and efs use heavily.  This bug was actually
rather hard to fix.  It was fixed in Emacs 19.23.  I have added the
package fn-handler.el as a backward-compatibility hack to try to use
lisp overloads to fix up older versions of Emacs. 

If you are able to upgrade your Emacs, that should solve the problem.
Also, I will have a look to see if I can see where fn-handler.el is
losing.  A traceback will help here.  The reason why I also suggest
using auto-save.el is that its auto-save support is in lisp.  Because
fn-handler.el is also in lisp, any of its overloads will not affect
calls to primitives in the C code.  Hence the builtin auto-save
support is probably calling buggy file-name-handler code.

--sandy