[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backup files on mounted filesystems
From: |
Eli Zaretskii |
Subject: |
Re: backup files on mounted filesystems |
Date: |
Tue, 16 Apr 2013 19:15:45 +0300 |
> From: Michael Bane <michael.bane@manchester.ac.uk>
> Date: Tue, 16 Apr 2013 15:34:22 +0100
> Cc: help-gnu-emacs@gnu.org
>
> > "M-x load-library RET files.el RET", then instrument
> > normal-backup-enable-predicate with Edebug, edit file in work/, type
> > "C-x C-s", and step through that function to see what's going on.
>
> Hi Eli and emac-ers
>
> Sorry but I've no idea what Edebug is nor the instrumentation steps?
> NB I'm using the "-nw" version of emacs on a Mac
Edebug works in the -nw session as well.
Edebug is described in the ELisp manual.
After "M-x load-library" as above, visit the file file.el, search for
the normal-backup-enable-predicate function, and with cursor somewhere
inside that function, type "M-x edebug-defun RET". Then edit the file
in your work/ directory and save it. When you save it, the debugger
will kick in, and you can step through normal-backup-enable-predicate
by pressing SPC. Watch the control flow and the results of evaluating
each Lisp form that are displayed in the echo area.
Re: backup files on mounted filesystems, Stefan Monnier, 2013/04/12