emacs_chrome icon indicating copy to clipboard operation
emacs_chrome copied to clipboard

Stopped working with Firefox/emacs

Open erwdavid opened this issue 5 years ago • 3 comments

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

erwdavid avatar May 25 '20 11:05 erwdavid

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

rprimus avatar May 26 '20 10:05 rprimus

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.

dakra avatar May 26 '20 13:05 dakra

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

erwdavid avatar May 28 '20 16:05 erwdavid