Questions tagged [eww]

eww is a built-in package that provides a web browser into Emacs.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

EWW: how to stop loading a page

Suppose I have opened a new URL in EWW (Altx eww). The webpage is loading, but it is taking too long to load, so I want to stop the page from loading. How do I stop the loading of a webpage when using ...
0
votes
1answer
384 views

Batch convert local HTML webpages to plain text

Here is my zsh code function eweb() { emacsclient -t --eval "(eww-open-file \"$1\")" "(save-buffer \"$2\")" } There are two parameters, the first is the local webpage filename, for example, ./1....
2
votes
1answer
24 views

Disabling memory consuming gifs in eww mode

I am looking for a way to disable or remove aspects of a page which might too memory intensive. For instance this page when opened in eww readable mode has a gif which hogs a lot of the memory. Is ...
0
votes
1answer
172 views

eww browser is hanging at contacting duckduckgo

I’m trying out eww. I followed the instructions on this page, and there seems to be no mention of what might be going on. I’m not getting an error message. I’ve run eww RET <somekeyword> With a ...
0
votes
1answer
60 views

Is there a command in EWW for copying the URL of the current webpage?

In org capture, it's possible to capture the URL of a webpage in EWW, and then store the link in an .org file. My question is: Is there a general way to copy the URL of the current page into the ...
5
votes
2answers
136 views

How do I open a window that will behave like a *Help* window?

*Help* windows appear to have a special behavior. For example, if I open a help window using C-h f butterfly, the window will open in a separate half-page buffer. If I use the help feature again C-h f ...
0
votes
0answers
28 views

How to display text in colored overlay in an Emacs buffer

I made a link selector for Eww (working version here) that looks at all links in the visible part of the buffer, assigns hints to them and prompts the user to select one. I wanted to display the hints ...
0
votes
1answer
60 views

Creating a Bookmark Handler for eww

I'm attempting to create a bookmark handler for eww so I can use Emacs's built-in bookmarks to save and visit urls with eww. There's an equivenant setup for w3m here: https://github.com/TotalView/...
0
votes
1answer
66 views

What does "Making browse-url-browser-function local to *eww* while let-bound!" mean?

I am using SLIME (which includes hyperspec.el). I wanted to view the HyperSpec using Emacs' EWW instead of the desktop web browser (e.g. Firefox, Chromium, etc.). To do this, I added an advice to set ...
1
vote
0answers
230 views

EWW very slow opening of certain pages

This question was asked on stackoverflow. Just cross posting it here for better visibility. I am too facing the same issue. I'm using EWW Emacs browser for opening various remote pages(mostly ...
0
votes
1answer
217 views

Emacs failing to access HTTPS URL behind a proxy

I hoped that this problem's solution would solve it for me, but it didn't. I've got my proxy set up as follows (slightly redacted): (setq url-proxy-services '(("no_proxy" . "^\\(...
1
vote
0answers
101 views

EWW Stuck on Contacting Host!

I am trying to use the multiple websites search function in EWW. One example is the search box on wikipedia.org that you reach by pressing jump to search. When I confirm my search I get stuck on ...
0
votes
1answer
546 views

Launch emacs in eww mode, display local .html file at startup

I'm new to Emacs and I'm going about customizing my install on Mac OS Catalina. I have a twist on a common request. I had the idea to customize the emacs startup screen, but I see those options are ...
1
vote
0answers
231 views

CSS Stylesheets on EWW

Began here on using eww as web browser in Emacs, but felt that it misses CSS stylish, even loading simple HTML and CSS only. Already managed to repair libxml2 error before running it, but now would ...
1
vote
1answer
153 views

Enabling shr-external-rendering-functions Variable in EWW

Began using Emacs eww nowadays, but now seeking to adapt it better for Html websites. That way some user said to "buffer-locally setting the variable shr-external-rendering-functions", as of What EWW ...
1
vote
1answer
234 views

What EWW Emacs Web Brower Would Be Used For [closed]

Managed here to run eww, despite its requirements of libxml2-dev package BEFORE compiling and installing Emacs itself. Have already browsed some websites, including some simple ones, only with basic ...
1
vote
1answer
116 views

scale text in eww with proportional fonts enabled

when i use eww, which is v often, coz i love reading the web by just text in a format i choose, i can scale the text (with C-x +/-) until i enable "proportional fonts" with F. it changes my display ...
3
votes
3answers
1k views

How to open eww in readable mode?

I have added in my init something like: (defun today-CA () (interactive) (eww "https://www.google.com")) This opens eww through the today-CA function. I want to open it in readabe form, i.e. as ...
0
votes
1answer
41 views

Remove image & link related keybindings in eww

I'm using xah-fly-keys which provides a few custom keys for easy navigation. u = backward-word o = forward-word i = previous-line ... Unfortunately, my keybindings are overshadowed when point is on ...
12
votes
3answers
2k views

Can I configure eww to use pdf-view-mode (from pdf-tools) for PDFs instead of DocView?

I use pdf-tools to read PDFs inside of Emacs and greatly prefer it to DocView. I just noticed that when I try to open a URL thar points to a PDF in eww, it uses DocView instead of the pdf-view-mode ...
2
votes
0answers
70 views

Why is EWW unable to place images into tables

Web pages are rendered with the simple html renderer shr in the Emacs webbrowser EWW. Pitingly, images in tables are displayed below the tables. The source code of shr contains the following comment ...
7
votes
2answers
861 views

How do I auto-refresh eww pages?

If I load a local file, I'd like eww to refresh when the source is changed. This would be similar to auto-revert mode. Is there any way to do this? Right now I have to manually refresh by hitting g in ...
0
votes
1answer
88 views

Search in readable eww buffer [duplicate]

I would like to open url in eww in readable-mode and find str. Below is my code that doesn't work: (defun my-eww-searh-readable (str) "Once-off call to `my-eww-searh-readable' after EWW is done ...
11
votes
5answers
2k views

Simple method for creating multiple eww buffers

M-x eww prompts for url or keywords and opens a new *eww* buffer. In eww-mode, G is bound to eww, which replaces the content of the single eww buffer. To make multiple buffers for different webpages,...
4
votes
2answers
747 views

eww bookmark mangagement?

I've found myself using the eww web browser more and more for text-based sites (e.g., documentation, news, etc.) This is great because I don't have to load an external GUI browser and leave emacs. ...
5
votes
1answer
139 views

visual-line-mode adaptively wrapping when changing font size

visual-line-mode works fine for line wrapping in eww-mode. However, when I type C-x C-+ / C-x C-- to change the font size, the line wrapping does not adjust accordingly. Does anyone know how can ...
1
vote
1answer
108 views

How to use 'eww-view-source' in a function?

I need to kill and yank some portion of the source code of multiples websites for a database i'm making of news of certain web. But the problem is, whenever i call eww-view-source for viewing the ...
1
vote
1answer
295 views

Displaying LaTeX equations with EWW

I've been using EWW and I noticed that it displays inline LaTeX expressions ($ ... $) but it fails to display those that have their own line ($$ ... $$). I'm attaching a print below. Have a look the ...
2
votes
1answer
106 views

eww/w3m search based on underlying page source

Is there a robust/general way in eww browser (or alternatively w3m in emacs) by which I can get the character position in a rendered page from a known character position in the page source? I'd like ...
3
votes
1answer
738 views

Could not create connection to github.com:443

Trying to eww https://github.com on emacs -q with the following debug stacktrace: Debugger entered--Lisp error: (error "Could not create connection to github.com:443") signal(error ("Could not ...
5
votes
2answers
961 views

How to prevent eww from truncating lines?

On a Mac, I would like to use "text to speech" to read web content. I am using the eww browser. "Text to speech" treats line breaks as the end of the sentence so I would like eww to display long ...
4
votes
1answer
3k views

EWW cannot access HTTPS sites via proxy

Here's my proxy setup: (setq url-proxy-services '(("no_proxy" . "my-corp-proxy") ("http" . "my-corp-proxy:8080") ("https" . "my-port-proxy:8080")...
19
votes
2answers
4k views

How can I toggle displaying images in eww without a page refresh?

I use eww to browse the internet and more often than not I do not want images to load, there doesn't seem to be much in terms of customizations built in for eww and none dealing with images. ...
3
votes
0answers
67 views

Synchronised scrolling of HTML file and eww buffer

I am editing a HTML file. I have done C-x 3. Now, in the other split window, I want to open a browser, such as eww. And as I move in the HTML file, I want the browser window to show the ...
4
votes
0answers
919 views

orgmode open link in system browser or eww

I want orgmode web links to open in my system browser with C-o, and to open in eww with C-u C-o. This seems in line with the function description for org-open-at-point but it doesn't seem to be ...
3
votes
1answer
1k views

Back a page in eww browser?

Is there a key-binding to go back a page in the eww web browser? I can't find a page which lists all the key bindings.
9
votes
2answers
2k views

eww ---> libxml2 library not found

Windows 10 (64 bit), Emacs 25.1. I try to open in Emacs some web page. E.g. www.google.com. So M-x eww Enter URL: www.google.com But I get error: libxml2 library not found
3
votes
0answers
83 views

eww filter rules

emacs-w3m has very useful function: w3m-filter. Namely, one can change html before rendering it. Does eww have something similar? For example on some site i want to change: <span class="tag">...
3
votes
0answers
795 views

Google Login via eww

I am trying to login to my google account via eww, but eww just hangs with the following message: Loading https://accounts.google.com/signin/challenge/sl/password... I have multifactor ...
4
votes
2answers
2k views

Compiling Emacs from source on Ubuntu - problems with libxml2

I'm trying to install Emacs 25.1.rc1 on Ubuntu 15.10, and have pre-installed the usual dependencies i.e.: autoconf automake libtool texinfo build-essential xorg-dev libgtk2.0-dev libjpeg-dev ...
1
vote
1answer
471 views

eww cannot follow links displayed after keyword search

I have emacs 25.1.1 on Ubuntu 16.04 and have been trying to browse with its built in eww browser. I start with M-x eww. Then I type in my search keyword. DuckDuckgo displays a list of search ...
4
votes
0answers
909 views

Navigation in eww, following links, bookmarks

When the cursor in eww is over a link, how can I follow it? Right now I copy it with 'w', and run eww again, which is kind of cumbersome. In the same venue, if I access the bookmarks with 'B', how ...
0
votes
1answer
357 views

helm-dash on windows and viewing docs inside emacs

I am trying to get helm-dash to work on Windows and I want to view the docsets in emacs. Here is what I did so far: downloaded ZealPortable (I don't have admin rights) downloaded some docs pointed ...
1
vote
1answer
53 views

How do I make errors about url-domsuf-parse-file go away?

I am seeing it in connection with certain websites and eww.el. Is there quick hack I can do to make those sites load? The error I see is like the following: error in process filter: url-domsuf-...
8
votes
1answer
1k views

How to save images from buffer?

I use eww to open an image from wikipedia: https://upload.wikimedia.org/wikipedia/commons/6/6a/The_Burning_of_the_Houses_of_Parliament.jpg Now, I wanted to save it to my computer. How can I do that?...
1
vote
1answer
136 views

eww: error in process sentinel: url-cookie-generate-header-lines: Wrong type argument: listp, \.\.\

I'm doing M-x eww with Emacs-24.5 -Q on Debian 8, for example with the address "http://google.com" (or just "google.com"). And receive the error message in the subject line, in other words: I can't ...
1
vote
0answers
457 views

What variables are needed in init file in order to run eww in emacs 24.5.1 for windows?

I'm using emacs on windows, output of "emacs-version" outputs GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 I added the missing libxml2.dll, (downloaded from ezwinports) in the emacs ...
12
votes
2answers
5k views

How to make eww default browser in Emacs?

When I click on links in my org-mode buffer it opens up my external browser. How can I make Emacs default to eww (and let me open up an external browser from there if I wish)?
11
votes
2answers
687 views

How can I ask for a web server to serve their "mobile friendly" version of their web pages with eww?

I'm using eww lately for browsing the web looking for documentation and things like that. I dislike that eww receives the same web page as it were Firefox or Google Chrome, it cannot render web pages ...
4
votes
0answers
438 views

How to save an eww buffer as an html file with all formatting preserved?

I would like to save an eww buffer as an html buffer with text formatting, hyperlinks, etc preserved. If I do C-x C-w, it saves only the raw text visible in the buffer. Here is my use case: I use the ...