Thank you Mark, I think, this will do. Regards, Kashyap On Mon, Jun 25, 2012 at 3:44 AM, Mark Skilbeck wrote: > Adding to the previous answer, you might then be interested in the > YASnippet extension[1]. > > [1] https://github.com/capitaomorte/yasnippet#readme > > On Sun, Jun 24, 2012 at 01:27:28PM +0530, C K Kashyap wrote: > > Hi All, > > I've been defining functions to create shortcuts > > > > (defun (hw) (progn > > (delete-fun) ; This is another function that deletes the actual > > function name from the buffer > > (insert "Hello World")) > > > > I invoke it as follows - (hw)C-X-e, this removes (hw) and replaces it > with > > Hello World. > > > > the problem is that I have to type parenthesis. I explored abbreviations > > but they cannot seem to be parameterized. Can someone please suggest an > > alternative? > > > > Regards, > > Kashyap > > -- > - mgs. > > if all you young men / were fish in the water > how many young girls / would undress and dive after >