[Ilugc] Customizing Emacs21
- From: mbchandar@xxxxxxxxx (balachandar muruganantham)
- Date: Tue Jul 18 21:27:44 2006
hi
On 7/18/06, Arun Velusamy <arunvelusamy@xxxxxxx> wrote:
Hi,
I am using emacs21 in my debian sarge machine. I want to set
syntax-highlighting(global-font-lock) on always. I searched for .emacs
file but i could only find ~/.emacs.d/ folder which doesnt have any
files (except for auto-save-list folder). I tried creating init.el
file, but emacs didnt respond.
Can anyone help me?
create .emacs in ur home directory
below are some of the basic settings which i use that u can put in ur .emacs
(require 'font-lock)
(global-font-lock-mode t)
for source code syntax highlighting
(setq make-backup-files nil)
no backup will be created
(setq inhibit-startup-message t)
no startup message
(transient-mark-mode t)
highlights when selecting(yanking)
(menu-bar-mode nil)
hide the top menu
(setq standard-indent 4)
indentation set for 4 space - set based upon u r programming language
(setq show-parens-mode t)
used for track starting and ending and highlighting braces in u r source code
(setq-default indent-tabs-mode nil)
indent based on tab
also u could add emacs to run on terminal using emacs -nw. for ease,
add in .bashrc
--
<name> balachandar muruganantham</name>
<Yahoo!> mbchandar</Yahoo!>
<Hotmail> mbchandar</Hotmail>
<blog>
http://www.balachandar.net/blog</blog>
<web>
http://www.balachandar.net</web>
<talk>
http://www.expertstalk.org</talk>
<shop>
http://www.chennaishopping.com</shop>
Other related posts: