Jerry James <james(a)xemacs.org> writes:
Hi Michael,
Hi,
> -(if (functionp 'def-edebug-spec)
> - (def-edebug-spec with-parsed-tramp-file-name t))
> +(put 'with-parsed-tramp-file-name 'edebug-form-spec t)
>
> (defmacro tramp-let-maybe (variable value &rest body)
> "Let-bind VARIABLE to VALUE in BODY, but only if VARIABLE is not obsolete.
Okay, so you are expanding the def-edebug-spec macro by hand. Wouldn't
it be cleaner to (eval-when-compile (require 'edebug))? Also, you may
not have seen my previous message where I suggested this instead:
(def-edebug-spec with-parsed-tramp-file-name (stringp symbolp &rest sexp))
That will give you better debugging properties than `t', and will also
let you remove the comment about being too stupid. :-)
When I apply this, I get the following error instrumenting function
`tramp-do-copy-or-rename-file-out-of-band':
edebug-syntax-error: Invalid read syntax: stringp, "failed"
And I'm still too stupid understanding the spec of `def-edebug-spec' ...
Regards,
Best regards, Michael.