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

Library to maybe rebuild on top of #52

Open
alphapapa opened this issue Jan 18, 2019 · 2 comments
Open

Library to maybe rebuild on top of #52

alphapapa opened this issue Jan 18, 2019 · 2 comments

Comments

@alphapapa
Copy link
Owner

alphapapa commented Jan 18, 2019

@thblt @yuhan0

Please take a look at this: c8c117c

I think it might be a feasible way to rewrite some of the functionality of outshine and outorg in a simpler way. As it is, I don't have a good grasp of all the functionality provided by outshine and outorg (I only use a small fraction of it normally), or how it works, and I feel like there should be a library that provides the basic functionality of executing commands as if the buffer (or part of it) were in Org mode, that uses as much built-in code from Emacs and Org as possible.

This is a very basic prototype, but it seems to work fine for e.g. M-up and S-up. C-c C-t doesn't work with org-store-log-note, but that and similar issues can probably be resolved.

Please let me know what you think. Thanks.

@yuhan0
Copy link

yuhan0 commented Jan 18, 2019

I'm in the same situation of only using a tiny fraction of Outshine's functionality, and nearly none of it's Org-dispatching commands found in outshine-call-org.el. But from the code, not-org looks like a partial re-implementation of outorg - which I believe is the current approach of converting commented regions to Org buffers and running Org commands on them.

Is your idea to simply provide a sort of "prefix keymap" to call the user's regular Org keybindings, instead of wrapping each command individually in its own Outshine template?

@alphapapa
Copy link
Owner Author

Is your idea to simply provide a sort of "prefix keymap" to call the user's regular Org keybindings, instead of wrapping each command individually in its own Outshine template?

Yes, where possible, that would make the code much simpler.

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