stsquad/emacs_chrome — Issue #49: Edit with emacs & Facebook
Author: sdquinlan
Created: 2012-02-24 13:18:33+00:00
State: open

This issue posting is a direct copy / paste of an e-mail conversation with the extensions maintainer.

------------------

> Just a minor question / point to make regarding your chrome extension
> edit with emacs. (which is stellar BTW).

Many thanks.

> It seems to act strangely with Facebook of all things. I'll use the
> Status Update box for an example.
>
> Clicking the "edit" button bring us the editor and as noraml, etc...
> but when C-c C-c is used to end the editing, the text in a FB comment
> box or whathave you changes from:
>
> "What's on your mind" (for a status update) to the edited text. But,
> the text is the same faded gray as the "What's on your mind" v.s. the
> heavy black text you get withs regular edit of the status box. When
> you click post, nothing gets posted.

I suspect it's Facebook's auto-complete stuff being clever. Both
status and comment boxes are quite JavaScript heavy to deal with name
auto-completion. I suspect there needs to be some sort of poking of
the DOM by Edit with Emacs to cleanly let Facebook's javascript know
the text area has been updated.

I'm not sure if this can be done programatically - I suspect we'll
need some sort of site-specific workaround for these sites.

>
> This seemed (if I recall) to be the same issue with "It's all Text" in FireFox.
>
> Any work arounds for this?

Not that I'm aware of at the moment. I'm afraid my time is a little
limited at the moment so I can't promise to look at it anytime soon.
However if you could create an issue on the development page:

https://github.com/stsquad/emacs_chrome/issues

at least I won't forget. If your lucky someone else might even
propose a fix for it!
-------------------------------------------------------