[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT? Change skeleton in emacs html-helper-mode



On Mon, Sep 30, 2002 at 05:08:57PM -0400, Matt Price wrote:
> Hi everyone,
> 
> can anyone tell me how to customize the default "skeleton" (what I
> think of as a template) for emacs html-helper-mode?  I have three or
> four web projects with different looks& feels; I'd like to arrange to
> have a different template come up for each of them (or in any case,
> I'd like to be able to choose which template I want, without, say,
> opening up the file and having to "save as" --- since I'm likely to
> forget to tdo that and mess up my template.  

To customize it, I edited the html-helper-mode.el file.  The
'html-helper-new-buffer-template' string holds the actual HTML code.
Then restart Emacs.  Also, see the file
'/usr/share/doc/html-helper-mode/configuring.html.'

However, I only use one customized skeleton.  In order to use many
skeletons (and be prompted for a choice), you're probably going to
have to do some LISP programming.

Regards,

Larry

-- 
Larry Holish
<ljholish@speakeasy.net>



Reply to: