Wednesday, February 9, 2022

Emacs - How to open a web page URL from the command line

 Here's how to open a URL in Emacs text browser called EWW from the command line: 

runemacs --eval "(eww \"https://google.ca\")"

if not in path variable
C:\Program Files\Emacs\x86_64\bin\runemacs --eval "(eww \"https://google.ca\")"
or
C:\Program Files\Emacs\x86_64\bin\emacs-27.2 --eval "(eww \"https://google.ca\")"

Here's the result 




























Now available in 1-click in my Clipboard PowerTool, handles search terms and URLs to browse in text. 

No comments:

Post a Comment