You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can easily get the corresponding native c function when we can evaluate the js function:
global.display.focus_window.change_workspace
//: function change_workspace(workspace) {
//: /* proxy for native symbol meta_window_change_workspace(); */
//: }
Doesn't seem to be a global (all gnome packages) index unfortunately. It's not possible in general to extract the package name from the method name. (Some packages have multiple words). We can of course hard code such mappings.
Look up the symbol at point using the developer.gnome.org web resources.
- Async lookup
- No error handling of the http result (url.el sucks..)
- Firefox is not made urgent, but this is most likely DE/system dependent? (same
call have worked in notion at least)
Other possible improvements:
If the function is in scope we can use `toString()` to get the bound c symbol
and look it up directly.
Ref: #7
Ideally we want this inline in emacs. Maybe use https://github.com/jinzhu/zeal-at-point .
Preliminary research:
We can easily get the corresponding native c function when we can evaluate the js function:
Doesn't seem to be a global (all gnome packages) index unfortunately. It's not possible in general to extract the package name from the method name. (Some packages have multiple words). We can of course hard code such mappings.
To control which browser window to open a link in: simply focus it before opening the link.
The text was updated successfully, but these errors were encountered: