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

when sharing org files, collapse/expand heading does not get duplicated #2

Open
shlomiv opened this issue Sep 13, 2016 · 7 comments
Open

Comments

@shlomiv
Copy link

shlomiv commented Sep 13, 2016

Hey,
This is a very cool and simple package, thanks!

I am trying to share my org file to go over tasks etc, however hitting tab on a heading does not open/close it on the other side (does not matter if the client or server pressed tab).

WDYT?

@zk-phi
Copy link
Owner

zk-phi commented Sep 14, 2016

Hi, @vadali

Since it's hard to share and sync everything, togetherly currently only shares the buffer text, but does not share how the content is displayed (syntax highlight, folding, etc).
So the behavior is normal.

@shlomiv
Copy link
Author

shlomiv commented Sep 14, 2016

Hey, that makes sense..

I thought perhaps there was a way to send specific keystrokes as well, for instance if sharing a buffer with org-mode as its major mode, send tab key stroke as well. Does this make sense with the current design?

@zk-phi
Copy link
Owner

zk-phi commented Sep 14, 2016

togetherly syncs buffer content not by sending keystrokes but by sending (modified parts of) buffer text when the buffer content is changed.
It's possible to add some commands to the current protocol, but I'm not willing to add mode-specific commands to keep this plugin simple.

@zk-phi
Copy link
Owner

zk-phi commented Dec 16, 2016

a thought: It seems reasonable two implement an interface to define new command easily, so that one can build a library like togetherly-org.

@shlomiv
Copy link
Author

shlomiv commented Dec 16, 2016

I think that could be beneficial!

@shlomiv
Copy link
Author

shlomiv commented Apr 11, 2017

Hi there,
Did you ever get the "new command" idea started?

@zk-phi
Copy link
Owner

zk-phi commented Apr 12, 2017

it's not a high-priority feature for me and not yet started. (contributions are welcome anyway!)

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

No branches or pull requests

2 participants