togetherly icon indicating copy to clipboard operation
togetherly copied to clipboard

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

Open shlomiv opened this issue 9 years ago • 7 comments

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?

shlomiv avatar Sep 13 '16 23:09 shlomiv

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.

zk-phi avatar Sep 14 '16 02:09 zk-phi

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?

shlomiv avatar Sep 14 '16 05:09 shlomiv

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 avatar Sep 14 '16 07:09 zk-phi

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

zk-phi avatar Dec 16 '16 06:12 zk-phi

I think that could be beneficial!

shlomiv avatar Dec 16 '16 06:12 shlomiv

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

shlomiv avatar Apr 11 '17 20:04 shlomiv

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

zk-phi avatar Apr 12 '17 01:04 zk-phi