Pages

Sunday, August 11, 2024

How to open a URL with emacs from the Windows command line

Here's how start emacs with a URL from the Windows command line so you can surf a website, using emacs built-in and very fast and stable text browser. EWW stands for GNU Emacs Web Wowser.

cd C:\Program Files\Emacs\emacs-28.2\bin
emacs --eval "(eww \"https://google.com\")"

emacs -f eww-browse https://google.com

Result





























This will open emacs, but the command window will still wait until the emacs client in closed. 

To get around this and this long command line, use my Clipboard Plaintext PowerTool to copy URL and launch Emacs text browser in 1-click! :) 





No comments:

Post a Comment