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

Stopped working with Firefox/emacs #167

Open
erwdavid opened this issue May 25, 2020 · 3 comments
Open

Stopped working with Firefox/emacs #167

erwdavid opened this issue May 25, 2020 · 3 comments

Comments

@erwdavid
Copy link

Using latest firefox and latest emacs edit-server from elpa (20181016.1125) (emacs is in daemon mode) I get following behaviour :
When launching the edition, a buffer is created in emacs with the aklready present text, but the window does not appear in existing frales, nor is a new frame created.
When trying to save modified buffer, emacs asks for a file name : the buffer os not associated with any file, thus there is no way to send back the modified content

@rprimus
Copy link

rprimus commented May 26, 2020

Tue May 26 11:41:59 BST 2020

When in evil mode, saving (:w) produces: user-error: Please specify a file name for the buffer.
Switching to emacs-mode (C-z) and saving (C-x C-s) causes the text to be written to Firefox.

HTH

@dakra
Copy link
Contributor

dakra commented May 26, 2020

It looks like you haven't activated edit-server-edit-mode (which should happen automatically in the edit-server buffer).

The edit-server buffer is not backed by a file, that's why you're offered to save it in some file after invoking "normal" C-x C-s.

If you want to sync the content to the textfield call edit-server-save (normally bound to C-x C-s)
or to save and quit the buffer call edit-server-done (bound to C-c C-c in edit-server-edit-mode)

Not sure why the initial buffer is hidden or the minor-mode is not activated.
But maybe this helps to debug.

@erwdavid
Copy link
Author

I understand, maybe it stopped loading the server at one point and did not define everything. I'll check.

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

4 participants