jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Bind different extensions other than html to html mode




Joerg Sommer wrote:

begin  Peter Bengtsson <mail@xxxxxxxxxxx> 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?


add_mode_for_extension ("html", "zpt");

Beautiful!


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 html_mode Return

Here's why it didn't work.
I pressed:
M-x html TAB

I.e. I was expecting tab completion of the mode, but nothing happened. Writing it in full worked.

Thank you!


Jörg.
end.

--
Peter Bengtsson, http://www.peterbe.com

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]