[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to make a mode dependent operation ?
From: |
Fren Zeee |
Subject: |
How to make a mode dependent operation ? |
Date: |
Sat, 4 Dec 2010 11:50:58 -0800 |
Here is a simple newbie problem :
In c-mode, I want to insert a skeleton of function as
() {
}
and In lisp-mode, I want
( defun ()
""
)
and similarly in scheme, java, python, haskell, pascal ...
What is the quick but maybe not the dirty way to do it ?
What is the PRO way to do it ? I have heard a little about the hooking
hooks :)
What is a hook and what is proper place of use ? Is it appropriate for
this kind of private customization ?
Franz
- How to make a mode dependent operation ?,
Fren Zeee <=