jed-users mailing list

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

Re: [jed-users] Re: hiding/not displaying the menu bar?


Hello Morten,
Thank you for this link, I have just installed htmlks.

The syntax highlighting works great, switching from HTML to JS just
perfectly.

If there is anyone on the list using this mode, I have two quick questions:

1) How can I have it properly indent </div>? Currently, entering <div> on a
line followed by hitting Enter leads the next line to be (more) indented,
just as I would expect. However, when I close the div with </div> on a
later line (and then hit Enter) the </div> is not properly indented
(meaning: I would expect the </div> to be aligned with the matching <div>).
As an example, look at the result of entering the following snippet (only
hitting Enter, no other formatting/spacing applied):

<html>
<body>
  <div>
     This line is auto-indented, yay!
      </div>
Now auto-indent places me back here!
</body>
</html>

2) The docs (http://home.wtal.de/klaus/jedks/htmlksi.htm) mention a
function called indent_region, how can I run in on some HTML or JS? If I
hit Control-space and then highlight some part of a file, when I bring up
the console in the mini-buffer by pressing Alt-x and type "indent" followed
by a tab for autocompletion, the only option displayed is "indent_line"

Thank you for any hints

On Sun, Feb 26, 2017 at 4:21 AM, Morten Bo Johansen <mbj@xxxxxxxxxxx> wrote:

> On 2017-02-25 uiewoi 83920 wrote:
>
> > Searching in the mailing list archives, I found some references (roughly
> 10
> > years ago)
> >
> > http://lists.jedsoft.org/lists/jed-users/2004/0000142.html
> >
> > to "Klaus Schmidt's html+js mode", but the link (
> > http://home.wtal.de/klaus/htmlks.zip) is dead and I couldn't find it in
> the
> > modes repository.
>
>    http://home.wtal.de/klaus/jedks/
>
>  Morten
>
> _______________________________________________
> For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
>
>

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