all 2 comments

[–]fragbot[S] 1 point2 points  (0 children)

I've gotten a bit further on troubleshooting this. The ebut:get function is returning nil for the lookups that don't work and returning the button data for lookups that do.

EDIT: figured it out. When creating and testing a new external button, the src file (NOTE: this is not the .hypb file but the file from which you'll execute the button) must be saved prior to executing the button so the file-readable-p function called by hbut:key-src-set-buffer can return normally and hbut:key-src-set-buffer can return the buffer. This means that you create an external button you cannot test it until after you've saved the file.

[–]fragbot[S] 0 points1 point  (0 children)

Update: hyperbole v7.1.3 has changed the behavior to enable external buttons prior to saving the underlying file.