Try something plausible for completion using notebook.

This is not perfect, but it’s an improvement over the current behavior.