Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [eww]

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

4
votes
1answer
60 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
27 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
66 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
64 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 ...
0
votes
1answer
131 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
279 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 ...
3
votes
0answers
32 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
2answers
426 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 ...
2
votes
0answers
490 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
2answers
333 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. ...
1
vote
1answer
344 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
1k 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
68 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">...
2
votes
0answers
601 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 ...
3
votes
2answers
405 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 ...
2
votes
1answer
268 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 ...
0
votes
1answer
288 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 ...
2
votes
2answers
759 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 ...
11
votes
5answers
947 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,...
3
votes
1answer
2k 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")...
1
vote
1answer
51 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-...
4
votes
0answers
632 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 ...
6
votes
1answer
700 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
116 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
415 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 ...
4
votes
0answers
283 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 ...
3
votes
0answers
326 views

How to apply `load-theme-buffer-local` with “default” theme?

I used this answer to try to get eww to use more readable colours for me in my configuration, which uses the monokai theme: https://emacs.stackexchange.com/a/3523/5495 That answer uses load-theme-...
8
votes
2answers
3k 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)?
3
votes
1answer
2k views

How can I install eww or shr in Emacs 23?

I am beginner using Emacs 23.4, and I wanted to try a web browser package. From Emacs wiki, I found eww. But when Emacs starts I get from *Warnings*: File error: Cannot open load file, shr I get the ...
11
votes
2answers
514 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 ...
11
votes
2answers
1k 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 ...
3
votes
2answers
232 views

How can I refer to an already open eww buffer without knowing its current name?

Say I open a new buffer by eww-browse-url "emacs.stackexchange.com". Then, I navigate for a while, so the eww-se buffer updates its name to the current url. Same history for another buffer eww-ew, ...
7
votes
2answers
1k views

Use a different color theme for eww buffers

I saw this question: How to customize background color for some web pages opened with eww? but this won't work for me. I'm trying to read Wikipedia pages and in many places Wikipedia uses images to ...
8
votes
1answer
343 views

How to prevent shr from making network connections

Recent versions of Emacs have a really good renderer for HTML written entirely in Elisp. This renderer (shr) can be used for displaying HTML emails, documentation, etc. However, it seems that shr ...
20
votes
1answer
2k views

How can I use eww as a renderer for mu4e?

Emacs 24.4 came with native eww browser. What is the proper way to use eww as a renderer for mu4e messages?
21
votes
1answer
1k views

How to customize background color for some web pages opened with eww?

I just installed emacs 24.4 and I've started using eww. But one annoying thing is that when I visit google.com I get a grey background which makes text really hard to read for my theme. This is how ...
5
votes
1answer
542 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 ...
17
votes
2answers
2k 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. ...