Function: eww-mode

eww-mode is an autoloaded and byte-compiled function defined in eww.el.gz.

Signature

(eww-mode)

Documentation

Mode for browsing the web.

& eww-browse-with-external-browser
<backtab> shr-previous-link
<delete> scroll-down-command
B eww-list-bookmarks
C url-cookie-list
C-M-i shr-previous-link
D eww-toggle-paragraph-direction
E eww-set-character-encoding
F eww-toggle-fonts
G eww
H eww-list-histories
M-C eww-toggle-colors
M-I eww-toggle-images
M-RET eww-open-in-new-buffer
M-n eww-next-bookmark
M-p eww-previous-bookmark
R eww-readable
S eww-list-buffers
TAB shr-next-link
b eww-add-bookmark
d eww-download
g eww-reload
l eww-back-url
n eww-next-url
p eww-previous-url
r eww-forward-url
s eww-switch-to-buffer
t eww-top-url
u eww-up-url
v eww-view-source
w eww-copy-page-url

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook eww-mode-hook, as the final or penultimate step during initialization.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
;; Autoload cookie needed by desktop.el.
;;;###autoload
(define-derived-mode eww-mode special-mode "eww"
  "Mode for browsing the web.

\\{eww-mode-map}"
  :interactive nil
  (setq-local eww-data (list :title ""))
  (setq-local browse-url-browser-function #'eww-browse-url)
  (add-hook 'after-change-functions #'eww-process-text-input nil t)
  (add-hook 'context-menu-functions 'eww-context-menu 5 t)
  (setq-local eww-history nil)
  (setq-local eww-history-position 0)
  (when (boundp 'tool-bar-map)
    (setq-local tool-bar-map eww-tool-bar-map))
  ;; desktop support
  (setq-local desktop-save-buffer #'eww-desktop-misc-data)
  (setq truncate-lines t)
  (setq-local thing-at-point-provider-alist
              (append thing-at-point-provider-alist
                      '((url . eww--url-at-point))))
  (setq-local bookmark-make-record-function #'eww-bookmark-make-record)
  (buffer-disable-undo)
  (setq buffer-read-only t))