Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding a print to echo area method of emacs-config.el #62

Open
zcaudate opened this issue Jul 17, 2021 · 8 comments
Open

adding a print to echo area method of emacs-config.el #62

zcaudate opened this issue Jul 17, 2021 · 8 comments

Comments

@zcaudate
Copy link

functions like notespace/init-with-browser and notespace/init
https://github.com/scicloj/notespace/blob/master/emacs-config.el#L32

could be better off with printing being in the echo area as opposed to at the cursor.

removing the callback will suffice.

(defun notespace/cider-interactive-eval (code)
  (interactive)
  (message code)
  (cider-interactive-eval
   code
   nil
   nil
   nil))
@daslu
Copy link
Member

daslu commented Jul 18, 2021

Hi, @zcaudate !

Many thanks, sounds good, I haven't known about these Emacs subtleties.

Would you look to submit a PR. I can also push this -- whichever you prefer.

@zcaudate
Copy link
Author

I haven't tried out all of notespace's features so it may be better that you tinker with the config to figure out which methods you may prefer to print at cursor and which you want to print on the echo area.

Watching how you use it on some of the videos, it feel more natural than a pure jupyter style notebook workflow as you're building the notebook as opposed to programming within it. It's really well done.

Are nested notespace supported? - ie, putting one notespace inside another one (like latex)

@zcaudate
Copy link
Author

is there a way to display animations like these?

https://nullprogram.com/blog/2020/04/30/

@daslu
Copy link
Member

daslu commented Jul 18, 2021

Thanks, @zcaudate. I'll do the changes as you suggested.

There is some experimental support for animations using Quil -- see the tutorial:
https://scicloj.github.io/notespace/doc/notespace/v3-experiment1-test/index.html

@daslu
Copy link
Member

daslu commented Jul 18, 2021

There isn't yet a notion of nested notespaces. :)

@zcaudate
Copy link
Author

sweet. it's very cool.

are all the js dependencies loaded at the very beginning or are they injected depending on the note that is sent?

@daslu
Copy link
Member

daslu commented Jul 20, 2021

Currently at Notespace, the client-side is one compiled bundle of dependencies.

Upcoming tools such as Goldly and Clerk are separating client-side dependencies into modules so that some of them can load lazily.

If Notespace continues to exist (which may not be necessary if Goldly or Clerk actually fulfills all its goals better), then it should adopt this approach.

@zcaudate
Copy link
Author

sweet. thanks for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants