FG
💻 Software

How do I add color syntax highlighting to GNU emacs?

Fresh5 days ago
Mar 15, 20268482 views
Confidence Score0%
0%

Problem

I have two versions of available to me on a locked workstation: In both cases, my terminal type is when I run either version of . When I run the v21 version of , I get syntax coloring for Perl, HTML, and other modes. When I run the v22 version, I do not get syntax coloring. I would like to migrate …

Error Output

$ /usr/local/bin/emacs --version
GNU Emacs 22.3.1

$ /usr/bin/emacs --version
GNU Emacs 21.4.1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I add color syntax highlighting to GNU emacs?

Low Risk

Add this line to your .emacs file.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment