zachcurry / emacs-anywhere

Configurable automation + hooks called with application information
MIT License
1.08k stars 49 forks source link

Does not work with the freecodecamp editor #61

Open alienbogart opened 5 years ago

alienbogart commented 5 years ago

Runtime Environment

Issue

Emacs Anywhere works very well in all kinds of text fields, except for the https://learn.freecodecamp.org/ the editor. I tested on Google Chrome using both atomic-chrome and ghost-text. The extensions are able to connect with Emacs, but only part of the text in the field becomes available and my edits are not reflected on Emacs are not reflected in the browser.

zachcurry commented 5 years ago

Hi, @mrbig033,

The method by which this tool achieves it's purpose is simple and this is the reason why it works with all applications, but perhaps you have found an exception. What this tool does is simply copy the text from your Emacs buffer to your clipboard, switch focus back to the application you were using, and paste. It's a pretty fool proof method. If it works for you everywhere with the exception of this one webpage, I suspect there are some 'focus' or 'onChange' events in the javascript that is in someway preventing this otherwise fool-proof method from working. As far as the Chrome extensions you have mentioned are concerned, I'm afraid I haven't the slightest clue what they are. You might try disabling these extensions and see if it works in that case; this sort of investigative troubleshooting is the sort of thing you'll have to do if we are going find what is the matter. Good luck and let me know what you find out.

Go with Emacs, Z

alienbogart commented 5 years ago

I seem to have made a mistake. I started trying to use Emacs Anywhere but ended up using these similar extensions instead - ~/.emacs_anywhere/bin/run doesn't run if I bind it through i3wm. They're not at all affiliated with this project. Regardless, I binded ~/.emacs_anywhere/bin/run using xbindkeys, and it worked fine on text fields, except on Free Code Camp.