KarimAziev / chrome-emacs

Chrome and Firefox extension designed for bi-directional editing from Emacs, providing cursor and scroll synchronization, auto-major mode detection, and support for most online editors.
https://chromewebstore.google.com/detail/chrome-emacs/dabdpcafiblbndpoadckibiaojbdnpjg
MIT License
90 stars 1 forks source link

Feature request: Is there any way to get overleaf (or collaborative editors) to work with chrome-emacs? #9

Open vslavkin opened 2 months ago

vslavkin commented 2 months ago

Hi, the last few days I've been using your fork, and while it's great, and certainly an update compared to the original, I think that overleaf support would be terrific. Cursor is synced, but when writing something, the other person's cursors are moved to the top. While writing this using the plugin, I tried switching from Emacs to the editor, and the same happens in Emacs; the cursor is moved to the top. So, is this a limitation on the method you're using to read/write?


Thanks

KarimAziev commented 2 months ago

Hi, which browser are you using? I tested LaTeX editing on Overleaf with Chrome, and it worked fine for me.

The issue with collaborative editing could be due to how Overleaf's CodeMirror 6 handles it.

I haven't done collaboration on Overleaf myself, so I'll need to look into this further and find someone who will collaborate with me to reproduce the issue and get more info.

vslavkin commented 2 months ago

It works fine on firefox, I was only asking if this was possible. Thanks

KarimAziev commented 2 months ago

So, if you mentioned it works fine in Firefox, is there still an issue you're experiencing? Or was your request more about potential enhancements for collaborative editing?

Here's the current collaboration behavior:

However, changes made by user B are not yet reflected in Emacs for user A. I'm exploring potential enhancements for this scenario. Due to site limitations (I don't have access to the module that can track remote changes), I can't make any promises at this moment.

vslavkin commented 2 months ago

Ah, sorry, I dindt understand. Yes, now that Im clear that it wastt a problem with my setup, it's more of a feature request. If you want, Ill close the issue