jed-users mailing list

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

Re: No line wrap for special html mode




Paul Boekholt wrote:


But when I edit .zpt files I don't want word wrapping. I don't mind if the lines get stupidly long.


You could try:

define zpt_mode()
{
  html_mode();
  set_mode("zpt", 4);
}


Or

define html_mode_hook()
{
   if (path_extname(buffer_filename())==".zpt")
     set_mode("html", 4);
}


That works perfectly. Thank you.


or you could get Klaus Schmid's htmlmode from
http://home.wtal.de/klaus/jedks/htmlksi.htm
It does not set the wrap flag.

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

.


--
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]