xwidgete icon indicating copy to clipboard operation
xwidgete copied to clipboard

How is this to be installed/configured?

Open stefanhusmann opened this issue 9 years ago • 10 comments

Can you please write some lines how to install or configure this? What needs to be loaded/started?

stefanhusmann avatar Oct 29 '16 18:10 stefanhusmann

@stefanhusmann You need a Emacs 25 with Xwidget enabled. You can see this guide on how to setup one. After that, installing this package should just work.

tuhdo avatar Oct 29 '16 18:10 tuhdo

An emacs 26.0.50 buid from git will not work?

stefanhusmann avatar Oct 29 '16 19:10 stefanhusmann

It should work but did you enable Xwidget webkit support? Does the command xwidget-webkit-browse-url work?

tuhdo avatar Oct 29 '16 20:10 tuhdo

xwidgets configure option was set at compile time, yes.

stefanhusmann avatar Oct 30 '16 03:10 stefanhusmann

@stefanhusmann Once you installed it from MELPA, just do (require 'xwidgete) and it should work. The way to test it is to visit a website like Google, move the cursor on the search box and type something or try some Emacs movement commands. If characters appear, then it works. With stock Xwidget browser, you cannot type characters into text box.

tuhdo avatar Oct 31 '16 10:10 tuhdo

I did so. it didi not work, and there is a message in minibuffer: xwidgete-find-active-element: Symbol’s function definition is void: xwidget-webkit-execute-script-rv

stefanhusmann avatar Nov 02 '16 06:11 stefanhusmann

Hmm the function is supposed to be in xwidget.el. Could you try (require 'xwidget) then try it again? If it still does not work, probably something is changed in Emacs 26.

tuhdo avatar Nov 02 '16 07:11 tuhdo

emacs recently introduced a new dependency to webkit2gtk a.k.a webkitgtk+, maybe that is the culprit.

stefanhusmann avatar Nov 02 '16 19:11 stefanhusmann

Text entry directly in webpage also does not work for me in Emacs 26

pdblood avatar Apr 13 '19 15:04 pdblood

xwidget-webkit-execute-script-rv was removed from emacs in 67e03311a0b9091fe98a2cca86c6a6a933fc6e05.

hexmode avatar Jul 02 '23 17:07 hexmode