Hello, Michael Brand <michael.ch.br...@gmail.com> writes:
> I just notice that in our case at least in case of wrong-type-argument the > `cmd' is missing, so I suggest > > ((wrong-number-of-arguments wrong-type-argument invalid-function) > (user-error "Please see Org News for version 9.0 about \ > `org-file-apps'--Lisp error: The function %S leads to %S" cmd err)) > > for the attached intermediate patch version. For the above example of > (zerop nil) it would not only report "wrong-type-argument" and > "numberp" together with "nil" but also "zerop" which in our case is > the registered application, the source of the problem where the user > needs to look. IMO, notifying user that there's something rotten in the state of `org-file-apps' is enough. There's no need to go into the gory details of the problem. Anyway, if you feel strongly about it, your patch looks good and you can push it. Thank you. Regards, -- Nicolas Goaziou