[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind different extensions other than html to html mode
On Sun, Jan 25, 2004 at 04:19:43PM +0000, Peter Bengtsson wrote:
> When I'm editing a HTML file (eg. index.html) it goes into html mode.
> What if I want the same behavious for ZPT files (eg. index.zpt). How do
> I hook that up in my .jedrc?
In .jedrc, add:
Mode_List_Exts += ",zpt";
Mode_List_Modes += ",html";
Another example, which adds several extensions at once:
Mode_List_Exts += ",ptl,rtl";
Mode_List_Modes += ",python,python";
>
> Also, when in html mode and I press M-x text_mode RET it changes to text
> mode, but how do I from there select html mode again?
M-x text-mode RET
M-x html-mode RET
This is too obvious. Doesn't it work?
Dave
--
Dave Kuhlman
dkuhlman@xxxxxxxx
http://www.rexx.com/~dkuhlman
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.