Comments (11)
Just checked again since upgrading to Chrome 6 with the unified menu, and Alt-E still brings up the Chrome menu rather than triggering the editor. Did this ever work?
from emacs_chrome.
My mistake, the current keycode is Alt-Enter. The options page has been modified to reflect this. It is still my desire to make this completely configurable.
from emacs_chrome.
Ahah, thanks!
from emacs_chrome.
I don't care what the default is, but I would like this to be configurable. As it is, it conflicts with a fairly important default keybinding in xmonad -- Alt+Enter swaps the currently in-focus window with master window. I can reconfigure xmonad to bind this behavior to some other key combination, leaving Alt+Enter for "Edit with Emacs", but I would rather not, as this bit of muscle memory is already burned in pretty hard.
from emacs_chrome.
I'm with @rnml. Even if Alt+Enter didn't interfere with xmonad, I would still want the keycode to be configurable. Love "Edit with Emacs", btw.
from emacs_chrome.
If anyone can point to some good example code for capturing a keystore in the options box I'm all ears.
from emacs_chrome.
a related question, so your idea is when you click onto a textfield, that you then press alt+enter or something to start the emacs input.
I am a Vimium user, there are functions like:
Open a link in the current tab (LinkHints.activateMode)
Which I can press in my case "t" and then the number of all clickable including text-fields. when I select a textfield, it goes into it, after that I could press alt+enter to get to emacs buffer.
But shouldnt it be easy to have a "LinksHints.activateWithEmacsMode"
then you could customize the key over vimium to open the emacs buffer. Even much more easy without using keychords that are bad for your fingers but by jest pressing a a key like "e" for emacs or "y" or something like that.
So can you access a function from one extention through another extension? And which function in emacs-chrome would that be?
from emacs_chrome.
OK
-
the function would be "editTextArea"
emacs_chrome/javascript/textareas.js
Line 297 in 5e45626
-
you can't directly call functions from another extension
So you would need to add a messagehandler I guess:
https://developer.chrome.com/extensions/messaging#external
Would that make sense and would that at least partially fix this bug? Or go beyond that?
Should not be that hard to do, would that go into upstream?
from emacs_chrome.
As long as it doesn't regress the current default behaviour I'll merge things to make it more configurable.
from emacs_chrome.
I give it maybe a try then at some point :D need to use your addon first... just installed it today... I might have already a bug, I think it does not load the input-method... but I should open a new bug for that...
I just have a few other things I want to address before that goes up my list :D
from emacs_chrome.
I think all the keyboard triggers are now the domain of the browser itself. I've tested this on both Chrome and Firefox.
from emacs_chrome.
Related Issues (20)
- Do not suggest adding ~/.emacs.d to load-path HOT 1
- Stopped working with Firefox/emacs HOT 3
- Can't use edit-server when using command+tab HOT 5
- edit-server is not in elpa, update README? HOT 5
- README didn't explain that one has to run edit-server-start HOT 1
- Firefox GMail stopped working HOT 19
- Don't close frame when done HOT 8
- How to use this package? HOT 1
- Firefox v1.16 release needs to be made HOT 3
- Frame does not close when leaving web page HOT 1
- No keybinding setting on Firefox? HOT 2
- 'edit-server-abort' should be called when close new frame by click 'X'
- feature request: use wasm instead of emacs editing server HOT 1
- Doesn't work on Brave: net::ERR_BLOCKED_BY_CLIENT HOT 6
- Skipped textareas can remain skipped even after they have been revealed
- Cursor moves to beginning of buffer on save HOT 2
- edit-server-start without browser open eats all keystrokes
- "Edit with Emacs" is slowing down Firefox HOT 10
- Chrome WebStore link is not working... HOT 5
- Manifest version 2 is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs_chrome.