Allows you to query Wolfram Alpha from within Emacs.
Install package wolfram
from MELPA or download wolfram.el
to a directory in your load-path
. Then add this to your init file:
(require 'wolfram)
Create an account at wolframalpha.com, then in your account select "My Apps (API)".
Create a new AppID. In Emacs set that AppID as the custom variable wolfram-alpha-app-id
.
Enable dark mode by setting wolfram-use-dark-version
to t
in your configuration file. Dark mode requires ImageMagick's convert
utility to invert images for a dark theme. Without ImageMagick installed, image inversion will not function, and a warning will be displayed if dark mode is enabled.
(setq wolfram-use-dark-version t)
Adjust the magnification factor for images in query results using the custom variable wolfram-alpha-magnification-factor
. A higher value results in larger images.
(setq wolfram-alpha-magnification-factor 1.5)
Set the factor according to your viewing preferences and display resolution.
To make a query, run M-x wolfram-alpha
then type your query. It will show the result in a buffer called *WolframAlpha*
.
Weather in Mombasa (dark-mode enabled)
How much does Lake Victoria weigh?
How many nukes does the United State have?