Solved

Hightlights Syntax in emacs 20.3

Posted on 1998-09-15
1
333 Views
Last Modified: 2010-04-20
In emacs 20.3, there is a option under the menu item help, named hightlights-syntax.  How can I put it as an default option on in .emacs file ?
0
Comment
Question by:andrewma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
JYoungman earned 50 total points
ID: 1638040
;; Put this in the .emacs file
(require 'font-lock)
(add-hook 'find-file-hooks 'turn-on-font-lock)

;; I also use this:-
(defun setup-jay-c-mode ()
  (interactive)
  (setq font-lock-maximum-decoration 't)
  (turn-on-line-number-mode)
  (turn-on-font-lock)
  (c-toggle-auto-state 1)
  (setq c-hanging-braces-alist '()))

(add-hook 'c-mode-common-hook 'setup-jay-c-mode)

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question