Skip to content
Matthew edited this page Jan 14, 2020 · 26 revisions

There are certain variables will be shared across Emacs Lisp and Python. You can easily configure then with the function eaf-setq.

Check the full list of configurable variables with C-h v eaf-var-list

EAF Browser

Make EAF the Default Browser in Emacs

You are welcomed to make EAF Browser your default browser within Emacs.

(setq browse-url-browser-function 'eaf-open-browser)
(defalias 'browse-web #'eaf-open-browser)

Disable Saving Browsing History

The browsing history is automatically saved, by default. It is helpful for users to find a previous opened page using M-x eaf-open-browser-with-history. You can turn that off by

(eaf-setq eaf-browser-remember-history "false")

Default Search Engine

You can search for any string using M-x eaf-open-browser, M-x eaf-open-browser-with-history or M-x eaf-search-it. The default search engine used by EAF Browser is Google, as specified in the eaf-browser-default-search-engine variable. You can change it by

(setq eaf-browser-default-search-engine 'duckduckgo)

Default “Blank” Page

The default blank page is https://www.google.com, it is opened by (eaf-proxy-new_blank_page) by default.

You can configure it by

(eaf-setq eaf-browse-blank-page-url "https://duckduckgo.com")

Default Zoom

Default zoom of EAF Browser is 1.0, you can set the default zoom by

(eaf-setq eaf-browse-default-zoom "1.25")

Disable JavaScript

For reasons, some people may prefer to disable JavaScript for the EAF Browser. The option has been provided.

(eaf-setq eaf-browser-enable-plugin "false")
(eaf-setq eaf-browser-enable-javascript "false")

We don’t recommend it, you will lose a lot of features that EAF Browser provided.

EAF Camera

The default directory to store images taken by EAF Camera is ~/Downloads. You can change it like this.

(eaf-setq eaf-camera-save-path "new/path/")
Clone this wiki locally