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

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

Open
vslavkin opened this issue Sep 4, 2024 · 4 comments

Comments

@vslavkin
Copy link

vslavkin commented Sep 4, 2024

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
Copy link
Owner

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
Copy link
Author

vslavkin commented Sep 9, 2024

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

@KarimAziev
Copy link
Owner

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:

  • When user A is editing in Emacs, user B can see the changes and cursor position correctly in the browser.
  • When user A is editing directly in the browser, changes and cursor position sync correctly between the browser and Emacs.

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
Copy link
Author

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

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