GithubHelp home page GithubHelp logo

Comments (11)

aspiers avatar aspiers commented on August 18, 2024

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.

stsquad avatar stsquad commented on August 18, 2024

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.

aspiers avatar aspiers commented on August 18, 2024

Ahah, thanks!

from emacs_chrome.

rnml avatar rnml commented on August 18, 2024

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.

rubic avatar rubic commented on August 18, 2024

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.

stsquad avatar stsquad commented on August 18, 2024

If anyone can point to some good example code for capturing a keystore in the options box I'm all ears.

from emacs_chrome.

spiderbit avatar spiderbit commented on August 18, 2024

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.

spiderbit avatar spiderbit commented on August 18, 2024

OK

  1. the function would be "editTextArea"

    function editTextArea(event) {

  2. 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.

stsquad avatar stsquad commented on August 18, 2024

As long as it doesn't regress the current default behaviour I'll merge things to make it more configurable.

from emacs_chrome.

spiderbit avatar spiderbit commented on August 18, 2024

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.

stsquad avatar stsquad commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.