Masatake YAMATO <[EMAIL PROTECTED]> writes: > My proposal is: > > (defun tla--default-error-function (output error status cmd) > "Default function called when a tla process ends with a non-zero > status." > (tla--show-error-buffer error) > (error "\"%s\" failed: %s" cmd status))
I like it. The problem is: When you don't use this string, you still have to declare a (lambda (...)) with four arguments. Anyone knows if it is possible in Emacs lisp to write something looking like (funcall 'f x y z t) with 'f being a function taking only three arguments ? (The opposite of &optional : allow more arguments and ignore the last ones). Oh, actually, we should provide a macro to avoid writting this "lambda". -- Matthieu
