girzel / gnorb

Glue code between the Org, Gnus, and BBDB packages for Emacs.
32 stars 4 forks source link

Find a way to autoload gnus-user-format-function-%s #24

Closed girzel closed 7 years ago

girzel commented 7 years ago

When Gnorb is installed as a package, only autoloads are set up. If the first "hit" Gnorb gets is the user opening a Gnus summary buffer when the gnus-summary-line-format contains the Gnorb-specific formatting code, Gnus will try to call gnus-user-format-function-%s (usually "g"), and this will fail as gnorb-gnus has not been loaded, and that function hasn't been dynamically defined.

Find a way to make sure that gnorb-gnus is loaded when or before that happens.