[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debug-on-error doesn't catch 'cannot write backup file'
From: |
Kevin Rodgers |
Subject: |
Re: debug-on-error doesn't catch 'cannot write backup file' |
Date: |
Mon, 23 Dec 2002 11:41:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Dan Jacobson wrote:
I did (set-variable (quote debug-on-error) t)
but that was not enough to start the dubugger when one hit
"Cannot write backup file; backing up in %backup%~"
That's because Emacs only prints a message instead of signalling an error,
which would abort the backup-buffer function (and thus probably the save-buffer
function). Perhaps backup-buffer should signal an error that is ignored by
default, but which users could explicitly un-ignore.
True, I use backup-dir.el, but those words aren't from there.
Correct.
And maybe it should give the whole path for where it is putting the
backup, I can't seem to find it.
I agree, the path should not be trucated via file-name-nondirectory.
Odd too that as root I couldn't
backup to where I please. I had used EDITOR=emacs exim -Meb ...
Indeed. It would take some debugging to first determine which function in
backup-buffer is signalling the error that is caught and then reported via
the "Cannot write backup file" message.
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>