edit-server-mode not entered
When I click the "edit" button and an Emacs frame is launched, the buffer is not in edit-server mode. I can manually enable it using M-x edit-server-mode.
Output from Messages buffer when I click 'edit' in Chrome:
Ispell process killed
Starting new Ispell process [default] ...
Modification-flag cleared
Toggling edit-server-edit-mode off; better pass an explicit argument.
Hmmm this is odd. I suspect this might be a result of your version of emacs and having a weird (define-minor-mode) macro. What do you get when you do:
C-h f edit-server-edit-mode
Does it show the one parameter as optional?
Just noticed something new: I got the error "Toggling edit-server-edit-mode off; better pass an explicit argument."
C-h f edit-server-edit-mode does say that the one argument is optional.
The modes I see on the mode line are "Text Fly".
Hmm that is weird. I can't reproduce the problem on my setup. What version of emacs are you running an on what platform?
I'm on Ubuntu 11.10, running "GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) of 2011-08-14 on allspice, modified by Debian"
Looks like it's in edit-server-create-edit-buffer on the final call to edit-server-edit-mode. I changed that to (edit-server-edit-mode 1) and now I don't get that error, but the mode still isn't enabled.
I also just tried getting rid of the flyspell-mode hook for text-mode buffers and still get the same result.
I'll have another go at recreating this when I get one of my desktops to Ubutnu 11.10, hopefully next week.
If it's not easily reproducible for you, I'm definitely open to attempting some more debug. Just not sure where to start.
Sent from my BlackBerry®