notebook-mode icon indicating copy to clipboard operation
notebook-mode copied to clipboard

Configuration Instructions

Open jgarte opened this issue 2 years ago • 6 comments

Hi,

How does one configure notebook-mode with use-package or just vanilla emacs?

@rougier

What settings do you enable/use in your config?

jgarte avatar May 19 '22 05:05 jgarte

You can propably use straight.el for installation. Other option is to first load he notebook.el file into emacs and evaluate the buffer to test first before install.

rougier avatar May 23 '22 19:05 rougier

Thanks,

I ended up packaging notebook-mode for Guix but had no luck running it. Is it possible that the package does not run/picked up because it is currently missing the autoload cookie?

https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/emacs.scm#L1794

I also package your org-imenu:

https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/emacs.scm#L1830

jgarte avatar May 23 '22 20:05 jgarte

I always forgot the autoload... I'll add it (to both packages)

rougier avatar May 24 '22 07:05 rougier

What functions are officially considered to be part of the public API currently for notebook-mode? I'd be happy to submit a PR

jgarte avatar May 24 '22 21:05 jgarte

I would say notebook-mode only. And a PR would be welcome!

rougier avatar May 25 '22 09:05 rougier

@jgarte the last accepted PRs introduce documented options through the customize backend, with the notebook group. I suggest you to update and take a look. use-package is indeed usable for those as described in the use-package manual.

amartos avatar Jul 19 '23 11:07 amartos