Personalizing Emacs: Color schemes and more

One of the first things most users do is to customize the look & feel of Emacs.

When you start Emacs for the first time you are most likely to see a black text against a white background.  If you  find these colors unsatisfactory, you can switch to a different set of colors by choosing a  Custom Theme of your liking.   For example, when you configure your Emacs to use the wombat theme, you get a white text on a black background.

Once you switch to a different theme, using the steps outlined below, Emacs would have generated the following customization in your .emacs.

(custom-set-variables
 '(custom-enabled-themes (quote (wombat))))

Custom Themes are widely used for settings the colors used by Emacs.  However, they have a much broader application.  For example, when you are new to Emacs, and wouldn’t bother with customizing all the bells and whistles, you can borrow a theme from your friend and use it immediately.

A program file in stock Emacs

Screenshot from 2018-05-22 17-16-18

The same program file as seen on a Emacs using wombat theme

Screenshot from 2018-05-22 17-19-46

Step 1: Launch the Custom Themes Menu

Screenshot from 2018-05-22 17-09-55

Step 2: Choose a theme, say wombat

When you choose a theme, you aren’t limited to just a single theme.  You can choose as many themes as you wish.  When multiple themes are active, preferences in later themes take precedence over the earlier ones.  If you are still unhappy with the custom themes, you can modify them further by adding your own customizations.

Screenshot from 2018-05-22 17-19-11

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close