vimdiff export to html

1,417 views
Skip to first unread message

Hari Krishna Dara

unread,
Sep 2, 2009, 10:00:22 PM9/2/09
to vim...@googlegroups.com
I couldn't determine if this was discussed before by searching. I want
to export the current vimdiff to html, but 2html.vim only exports on
window at a time. Is there a plugin or a trick to come up with both
the windows participating in the diff?

I was able to get a reasonable result by manually merging the body of
the two html files generated into an outer table, but I had an issue
the table wrapping some lines due to lack of width and take the files
out of sync. To workaround, I had to fix the table width's to be large
enough and avoid the wrap. I couldn't find a way to disable wrapping
all together or set automatically based on the longest lines, may be
this is one of those wacky javascript problems to solve. Here is the
template that I came up with (the background color here reflects my
current colorscheme).

<!--HTML template for side by side diff:-->

<html>
<head>
<title>diff</title>
<meta name="Generator" content="Vim/7.2">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#333333" text="#ffffff"><font face="monospace">
<table border="1" width="1600">
<tr>
<td width="700" valign="top">
<!-- First file goes here -->
</td>
<td valign="top">
<!-- Second file goes here -->
</td>
</tr>
</table>
</font>
</body>
</html>

<!--
vim: ft=html
-->

It would be nice to automate this merge. If I end up doing this over
and over, I might cook up a macro/plugin but would love to get ideas
from here.

PS: Make sure you set g:html_whole_filler before running 2html.vim,
otherwise the columns won't sync up.

--
HTH,
Hari

Ricky

unread,
Sep 3, 2009, 7:41:29 AM9/3/09
to vim...@googlegroups.com
> I couldn't determine if this was discussed before by searching. I want
> to export the current vimdiff to html, but 2html.vim only exports on
> window at a time. Is there a plugin or a trick to come up with both
> the windows participating in the diff?

I also expecting this function.
Then I can export html and share to other one see the different without vim.

Ben Fritz

unread,
Sep 3, 2009, 4:53:28 PM9/3/09
to vim_use


On Sep 2, 9:00 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> I couldn't determine if this was discussed before by searching. I want
> to export the current vimdiff to html, but 2html.vim only exports on
> window at a time. Is there a plugin or a trick to come up with both
> the windows participating in the diff?
>
> I was able to get a reasonable result by manually merging the body of
> the two html files generated into an outer table, but I had an issue
> the table wrapping some lines due to lack of width and take the files
> out of sync. To workaround, I had to fix the table width's to be large
> enough and avoid the wrap.

First, you look like you might also be interested in the patch I
submitted a while back to enable dynamic folding in the 2html output:

http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7e56e14d

Secondly, I was under the impression that wrapping didn't happen
inside <pre> sections, which 2html uses by default. If this is not the
case, try using the 'overflow' CSS property: http://www.w3.org/TR/CSS2/visufx.html#overflow

Hari Krishna Dara

unread,
Sep 3, 2009, 6:36:44 PM9/3/09
to vim...@googlegroups.com
On Thu, Sep 3, 2009 at 1:53 PM, Ben Fritz<fritzo...@gmail.com> wrote:
>
>
>
> On Sep 2, 9:00 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
>> I couldn't determine if this was discussed before by searching. I want
>> to export the current vimdiff to html, but 2html.vim only exports on
>> window at a time. Is there a plugin or a trick to come up with both
>> the windows participating in the diff?
>>
>> I was able to get a reasonable result by manually merging the body of
>> the two html files generated into an outer table, but I had an issue
>> the table wrapping some lines due to lack of width and take the files
>> out of sync. To workaround, I had to fix the table width's to be large
>> enough and avoid the wrap.
>
> First, you look like you might also be interested in the patch I
> submitted a while back to enable dynamic folding in the 2html output:
>
> http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7e56e14d

Dynamic folding is very nice, I will consider using it in the future.
Why not upload it as a plugin on to vim.org?

>
> Secondly, I was under the impression that wrapping didn't happen
> inside <pre> sections, which 2html uses by default. If this is not the
> case, try using the 'overflow' CSS property: http://www.w3.org/TR/CSS2/visufx.html#overflow

I didn't notice any <pre> tags in the generated html, but adding them
makes the rendering odd with too much spacing everywhere. I tried the
<div style="overflow: <value>"> inside <td> with all possible options
and none of them prevented the wrapping. In fact, with "scroll", I got
scrollbars added inside the columns, but the lines were wrapped
anyway.

--
Hari
> >
>

Christian Brabandt

unread,
Sep 3, 2009, 6:59:21 PM9/3/09
to vim...@googlegroups.com
Hi Hari!

On Mi, 02 Sep 2009, Hari Krishna Dara wrote:

> I couldn't determine if this was discussed before by searching. I want
> to export the current vimdiff to html, but 2html.vim only exports on
> window at a time. Is there a plugin or a trick to come up with both
> the windows participating in the diff?

Interesting question. A made a simple hack, that will display all
diffed files in a frameset. See
http://www.256bit.org/~chrisbra/patches/Diff.html for the generated
html file
and
http://www.256bit.org/~chrisbra/patches/tohtml_diff.diff for the patch
to tohtml.vim

Frames have the advantaged of beeing relatively simply created, (I
made no changes to syntax/2html.vim) but the disadvantage of not being able
to get synchronized scrolled (except for javascript maybe?)

regards,
Christian
--
Beer & pretzels can't be served at the same time in any bar or restaurant.
[real standing law in North Dakota, United States of America]

Hari Krishna Dara

unread,
Sep 3, 2009, 7:12:03 PM9/3/09
to vim...@googlegroups.com
On Thu, Sep 3, 2009 at 3:59 PM, Christian Brabandt<cbl...@256bit.org> wrote:
>
> Hi Hari!
>
> On Mi, 02 Sep 2009, Hari Krishna Dara wrote:
>
>> I couldn't determine if this was discussed before by searching. I want
>> to export the current vimdiff to html, but 2html.vim only exports on
>> window at a time. Is there a plugin or a trick to come up with both
>> the windows participating in the diff?
>
> Interesting question. A made a simple hack, that will display all
> diffed files in a frameset. See
> http://www.256bit.org/~chrisbra/patches/Diff.html for the generated
> html file
> and
> http://www.256bit.org/~chrisbra/patches/tohtml_diff.diff for the patch
> to tohtml.vim
>
> Frames have the advantaged of beeing relatively simply created, (I
> made no changes to syntax/2html.vim) but the disadvantage of not being able
> to get synchronized scrolled (except for javascript maybe?)

Exactly... I first thought about frames, but didn't consider it for two reasons:
- synchronization is not possible or straight-forward (as you mentioned above).
- Copy pasting into a HTML/RTF email is not easy/possible.

For me, the main reason I thought about this was to be able to copy
paste into an email. Even if the diff is huge and need to attach
instead of sending inline, attaching a single file containing all the
diff is much better than attaching 3 or 4 (if there are 3 files in the
diff) and double clicking the main attachment might not even make it
work.

--
Hari

Christian Brabandt

unread,
Sep 4, 2009, 4:29:54 AM9/4/09
to vim...@googlegroups.com
Hi Hari!

On Do, 03 Sep 2009, Hari Krishna Dara wrote:

>
> On Thu, Sep 3, 2009 at 3:59 PM, Christian Brabandt<cbl...@256bit.org> wrote:
> >
> > Hi Hari!
> >
> > On Mi, 02 Sep 2009, Hari Krishna Dara wrote:
> >
> >> I couldn't determine if this was discussed before by searching. I want
> >> to export the current vimdiff to html, but 2html.vim only exports on
> >> window at a time. Is there a plugin or a trick to come up with both
> >> the windows participating in the diff?
> >
> > Interesting question. A made a simple hack, that will display all
> > diffed files in a frameset. See
> > http://www.256bit.org/~chrisbra/patches/Diff.html for the generated
> > html file
> > and
> > http://www.256bit.org/~chrisbra/patches/tohtml_diff.diff for the patch
> > to tohtml.vim
> >
> > Frames have the advantaged of beeing relatively simply created, (I
> > made no changes to syntax/2html.vim) but the disadvantage of not being able
> > to get synchronized scrolled (except for javascript maybe?)
>
> Exactly... I first thought about frames, but didn't consider it for two reasons:
> - synchronization is not possible or straight-forward (as you mentioned above).
> - Copy pasting into a HTML/RTF email is not easy/possible.

Try

http://www.256bit.org/~chrisbra/patches/tohtml_diff1.diff for the patch
and http://www.256bit.org/~chrisbra/patches/Diff2.html for the generated
html file


regards,
Christian
--
It is illegal to take more than three sips of beer at a time while standing.
[real standing law in Texas, United States of America]

Ben Fritz

unread,
Sep 4, 2009, 12:33:16 PM9/4/09
to vim_use


On Sep 3, 5:36 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> On Thu, Sep 3, 2009 at 1:53 PM, Ben Fritz<fritzophre...@gmail.com> wrote:
> > First, you look like you might also be interested in the patch I
> > submitted a while back to enable dynamic folding in the 2html output:
>
> >http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7...
>
> Dynamic folding is very nice, I will consider using it in the future.
> Why not upload it as a plugin on to vim.org?
>

I've considered that. The only thing stopping me is that I'm kind of
hoping it will get into the official version.

I suppose it's been long enough I should just upload it to vim.org.
I'll supply both the patched file and the patch itself. Probably
sometime this weekend I'll get to that.

Hari Krishna Dara

unread,
Sep 4, 2009, 6:19:15 PM9/4/09
to vim...@googlegroups.com
I can't apply your previous or the new diff to 2html.vim that comes
with vim72. What is the base file for this diff? I don't have this
line at all in the 2html.vim that comes with 7.2GA.

- runtime syntax/2html.vim

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 9 2008 18:46:22)
MS-Windows 32-bit GUI version with OLE support
Compiled by Bram@KIBAALE


BTW, I looked at the diff attached. You still seem to lines that are
wrapped, and there is some out of sync towards the end of the file.
The line wrapping could lead to a lot more "out of sync", but I guess
it was just by chance they didn't deviate much in the case of the file
you attached.

Also, I would prefer that the script be standalone driving 2html.vim
(though it would then mean, the generated output is not consumable as
it is, as it is a standalone html document). That way, it is easier to
upgrade to newer versions of Vim when this file is changed.

--
Hari

Ben Fritz

unread,
Sep 4, 2009, 7:21:26 PM9/4/09
to vim_use


On Sep 4, 5:19 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug  9 2008 18:46:22)
> MS-Windows 32-bit GUI version with OLE support
> Compiled by Bram@KIBAALE

On http://vim.wikia.com/wiki/Download there is a link to get the
latest patched Vim for Windows. Vim is now at 7.2.245 and the runtime
files (also distributed in the linked installer) have been updated
just as much.

Hari Krishna Dara

unread,
Sep 4, 2009, 8:05:58 PM9/4/09
to vim...@googlegroups.com
I checked out the source for the current vim from svn, and the
2html.vim from there still doesn't have that line. My guess is that
you are taking diff against a custom 2html.vim (which you named as
tohtml.vim) that has more than what 2html.vim has.

--
Hari

> >
>

Christian Brabandt

unread,
Sep 5, 2009, 4:15:37 AM9/5/09
to vim...@googlegroups.com
On Sat, September 5, 2009 12:19 am, Hari Krishna Dara wrote:
> I can't apply your previous or the new diff to 2html.vim that comes
> with vim72. What is the base file for this diff? I don't have this
> line at all in the 2html.vim that comes with 7.2GA.
>
> - runtime syntax/2html.vim

I am talking about plugins/tohtml.vim which defines the TOhtml command.

regards,
Christian

Christian Brabandt

unread,
Sep 5, 2009, 4:17:33 AM9/5/09
to vim...@googlegroups.com
On Sat, September 5, 2009 12:19 am, Hari Krishna Dara wrote:
> BTW, I looked at the diff attached. You still seem to lines that are
> wrapped, and there is some out of sync towards the end of the file.
> The line wrapping could lead to a lot more "out of sync", but I guess
> it was just by chance they didn't deviate much in the case of the file
> you attached.

I believe the wrapping is a browser issue. Try a different one.


> Also, I would prefer that the script be standalone driving 2html.vim
> (though it would then mean, the generated output is not consumable as
> it is, as it is a standalone html document). That way, it is easier to
> upgrade to newer versions of Vim when this file is changed.

That's what it does.

regards,
Christian

Markus Heidelberg

unread,
Sep 5, 2009, 4:34:16 AM9/5/09
to vim...@googlegroups.com
Ben Fritz, 04.09.2009:

>
> On Sep 3, 5:36 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> > On Thu, Sep 3, 2009 at 1:53 PM, Ben Fritz<fritzophre...@gmail.com> wrote:
> > > First, you look like you might also be interested in the patch I
> > > submitted a while back to enable dynamic folding in the 2html output:
> >
> > >http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7...
> >
> > Dynamic folding is very nice, I will consider using it in the future.
> > Why not upload it as a plugin on to vim.org?
> >
>
> I've considered that. The only thing stopping me is that I'm kind of
> hoping it will get into the official version.

It is since about the 26th of July.

Markus

Christian Brabandt

unread,
Sep 5, 2009, 9:05:51 AM9/5/09
to vim...@googlegroups.com
Hi vim_use!

BTW: New Version of Patch:
http://www.256bit.org/~chrisbra/patches/tohtml_diff2.diff
produced the following html:
http://www.256bit.org/~chrisbra/patches/Diff3.html

(this version shouldn't suffer from wrapping lines in the table
cells).

regards,
Christian
--
ARTHUR: You are indeed brave Sir knight, but the fight is mine.
BLACK KNIGHT: Had enough?
ARTHUR: You stupid bastard. You havn't got any arms left.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

Ben Fritz

unread,
Sep 5, 2009, 10:37:57 AM9/5/09
to vim_use, Bram Moolenaar


On Sep 5, 3:34 am, Markus Heidelberg <markus.heidelb...@web.de> wrote:
>
> > I've considered that. The only thing stopping me is that I'm kind of
> > hoping it will get into the official version.
>
> It is since about the 26th of July.
>

Hey, neat! I'll go update that file then...

Oddly enough, the latest from FTP has a date of July 14 and includes
the dynamic folding, whereas the version in the Cream installer has a
date of July 17 and does NOT include the folding. A simple oversight I
trust?

Ben Fritz

unread,
Sep 5, 2009, 10:41:38 AM9/5/09
to vim_use


On Sep 4, 7:05 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> I checked out the source for the current vim from svn, and the
> 2html.vim from there still doesn't have that line. My guess is that
> you are taking diff against a custom 2html.vim (which you named as
> tohtml.vim) that has more than what 2html.vim has.
>

Nope, I always used the latest version for FTP for the patches.

What version of the patch are you looking at? I can't find the word
"runtime" at all in the latest patch submitted on the thread.

But, apparently the latest version of the syntax/2html.vim already
contains the patch, so this is a moot point now.

Ben Fritz

unread,
Sep 5, 2009, 10:52:25 AM9/5/09
to vim_use


On Sep 3, 5:36 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
> > Secondly, I was under the impression that wrapping didn't happen
> > inside <pre> sections, which 2html uses by default. If this is not the
> > case, try using the 'overflow' CSS property:http://www.w3.org/TR/CSS2/visufx.html#overflow
>
> I didn't notice any <pre> tags in the generated html, but adding them
> makes the rendering odd with too much spacing everywhere.

If you don't enable css, the pre tags are turned off automatically
because <font> is not allowed inside <pre> sections. Otherwise, you
need to opt out of pre. Make sure you are not opting out with
g:html_no_pre, and that you DO have css enabled with g:html_use_css.

> I tried the
> <div style="overflow: <value>"> inside <td> with all possible options
> and none of them prevented the wrapping. In fact, with "scroll", I got
> scrollbars added inside the columns, but the lines were wrapped
> anyway.
>

Maybe in combination with a <pre> section this will work better.
There's also "whitespace: nowrap;" but I can't recall ever using that
so I don't know how well it will work, especially in old browsers
still in common use.

Christian Brabandt

unread,
Sep 6, 2009, 7:23:58 AM9/6/09
to vim...@googlegroups.com
Hi Ben!

On Sa, 05 Sep 2009, Ben Fritz wrote:

> What version of the patch are you looking at? I can't find the word
> "runtime" at all in the latest patch submitted on the thread.

Why are you looking for the word runtime? I have been talking about
patching tohtml.vim (which you'll also find in the patch). This file
exists in your VIMRUNTIME/plugin directory. But even if you do not
know where it is, you can always do:

#v+
$ find $VIMRUNTIME -type f -name "tohtml.vim"
/home/chrisbra/local/share/vim/vim72/plugin/tohtml.vim
#v-

So for me, I need to patch that particular file. So I do:

#v+
$ cd /home/chrisbra/local/share/vim/vim72/plugin
$ wget http://www.256bit.org/~chrisbra/patches/tohtml_diff2.diff
$ cat tohtml.vim
" Vim plugin for converting a syntax highlighted file to HTML.
" Maintainer: Bram Moolenaar <Br...@vim.org>
" Last Change: 2003 Apr 06

" Don't do this when:
" - when 'compatible' is set
" - this plugin was already loaded
" - user commands are not available.
if !&cp && !exists(":TOhtml") && has("user_commands")
command -range=% TOhtml :call Convert2HTML(<line1>, <line2>)

func Convert2HTML(line1, line2)
if a:line2 >= a:line1
let g:html_start_line = a:line1
let g:html_end_line = a:line2
else
let g:html_start_line = a:line2
let g:html_end_line = a:line1
endif

runtime syntax/2html.vim

unlet g:html_start_line
unlet g:html_end_line
endfunc

endif
$ patch < tohtml_diff2.diff
patching file tohtml.vim
$ cat tohtml.diff
" Vim plugin for converting a syntax highlighted file to HTML.
" Maintainer: Bram Moolenaar <Br...@vim.org>
" Last Change: 2003 Apr 06

" Don't do this when:
" - when 'compatible' is set
" - this plugin was already loaded
" - user commands are not available.
if !&cp && !exists(":TOhtml") && has("user_commands")
command -range=% TOhtml :call Convert2HTML(<line1>, <line2>)

func Convert2HTML(line1, line2)
if a:line2 >= a:line1
let g:html_start_line = a:line1
let g:html_end_line = a:line2
else
let g:html_start_line = a:line2
let g:html_end_line = a:line1
endif

if !&diff
runtime syntax/2html.vim
else
let winnr = []
windo | if (&diff) | call add(winnr, winbufnr(0)) | endif
for window in winnr
exe ":" . bufwinnr(window) . "wincmd w"
let g:html_start_line = 1
let g:html_end_line = line('$')
runtime syntax/2html.vim
endfor
call Diff2HTML(winnr)
endif

unlet g:html_start_line
unlet g:html_end_line
endfunc

func Diff2HTML(vars)
let bufnr = []
for wind in a:vars
let name=bufname(wind) . '.html'
if name == '.html'
let name='Untitled.html'
endif
call add(bufnr, bufnr(name))
endfor
let html = []
call add(html, '<html>')
call add(html, '<head>')
call add(html, '<title>diff</title>')
call add(html, '<meta name="Generator" content="Vim/7.2">')
call add(html, '<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">')
call add(html, '</head>')
call add(html, '<body bgcolor="#333333" text="#ffffff"><font face="monospace">')
call add(html, '<table border="1" width="100%">')
call add(html, '<tr>')
for buf in a:vars
call add(html, '<th>'.bufname(buf).'</th>')
endfor
call add(html, '</tr><tr>')

for buf in bufnr
let temp=[]
exe ":" . bufwinnr(buf) . 'wincmd w'
1,/<body/d_
$
?</body>?,$d_
let temp=getline(1,'$')
call add(html, '<td nowrap valign="top">')
let html+=temp
call add(html, '</td>')
endfor

call add(html, '</tr>')
call add(html, '</table>')
call add(html, '</font>')
call add(html, '</body>')
call add(html, '</html>')

let i=1
let name="Diff" . ".html"
while filereadable(name)
let name = substitute(name, '\d*\.html$', '', '') . i . ".html"
let i+=1
endw
exe ":new " . name
set modifiable
call append(0,html)
endfunc

endif
#v-

That's it. Now If you are running the :TOhtml command inside a diffed
window, it will automatically create a third buffer with the name
Diff<X>.html (where <X> is any number) and saving that file displays
your diff of all diffed files inside a html table.

It is really simple.

Of course, if you are syncing your $VIMRUNTIME directory, these
changes will get lost and you need to reapply the patch.


regards,
Christian
--
ARTHUR: What are you going to do. bleed on me?

Steve Hall

unread,
Sep 6, 2009, 7:54:46 AM9/6/09
to vim...@googlegroups.com, Bram Moolenaar

This seems to pop up for time to time, a patch will fix a runtime, but
then the FTP site is not updated. For the Cream build, we always run
the patches, but then copy the FTP runtimes over any in the build
directory.

--
Steve Hall [ digitect dancingpaper com ]


Ben Fritz

unread,
Sep 6, 2009, 10:29:22 AM9/6/09
to vim_use


On Sep 6, 6:23 am, Christian Brabandt <cbli...@256bit.org> wrote:
> Why are you looking for the word runtime? I have been talking about
> patching tohtml.vim (which you'll also find in the patch). This file
> exists in your VIMRUNTIME/plugin directory. But even if you do not
> know where it is, you can always do:
>

I thought he was referring to the patch I created when he said:

> I don't have this
> line at all in the 2html.vim that comes with 7.2GA.
>
> - runtime syntax/2html.vim

I was confused because we have two patches mentioned in this thread.

Ricky

unread,
Sep 7, 2009, 7:26:31 AM9/7/09
to vim...@googlegroups.com
> That's it. Now If you are running the :TOhtml command inside a diffed
> window, it will automatically create a third buffer with the name
> Diff<X>.html (where <X> is any number) and saving that file displays
> your diff of all diffed files inside a html table.
>
> It is really simple.
>
> Of course, if you are syncing your $VIMRUNTIME directory, these
> changes will get lost and you need to reapply the patch.
>
>
> regards,
> Christian
Hi, Christian

That's very useful and great plugin.
Can we use TOhtml(prams) to do this: chose which file will be generated,
all, both, or only the diff[X].html
If the differed files have a little more lines, it will take long time to
generate.
I don't know wheatear only my slow system have this problem.
Thank you!

Christian Brabandt

unread,
Sep 7, 2009, 11:38:07 AM9/7/09
to vim...@googlegroups.com
Hi Ricky!

On Mo, 07 Sep 2009, Ricky wrote:

> That's very useful and great plugin.
> Can we use TOhtml(prams) to do this: chose which file will be generated,
> all, both, or only the diff[X].html

That does not make much sense, because generating the diff.html file
depends on generating the other html files. Well currently, the other
html files are not valid anymore, cause I remove the top and body part
in order to put the remaining stuff into a table. I should undo this
operation after copying.

> If the differed files have a little more lines, it will take long time to
> generate. I don't know wheatear only my slow system have this
> problem.

That's true, but I don't know a way around this.

regards,
Christian

Christian Brabandt

unread,
Sep 7, 2009, 3:37:22 PM9/7/09
to vim...@googlegroups.com
Hi

Version 4 of the patch is available. Changelog:
- Added DTD Definition
- small html changes
- Added small Changelog on top
- Undos the stripping of top and body parts of
each diffed buffer, so they can be saved separately
as html files.

See http://www.256bit.org/~chrisbra/patches/Diff4.html for the result
of diffing tohtml.vim with the current version and

http://www.256bit.org/~chrisbra/patches/Diff4_3parts.html
for the result of diffing 3 Versions (original of tohtml.vim, Version
3 of the patch tohtml.vim.patched2, and the last version of th patch)
I am not sure, how useful this is, but it works ;)

Should I upload it to vim.org or send it for inclusion to Bram? Or do
you think, this isn't actually useful?

regards,
Christian

Hari Krishna Dara

unread,
Sep 9, 2009, 12:50:36 AM9/9/09
to vim...@googlegroups.com
Sorry, I didn't know about this file, I always directly do :runtime on
the 2html.vim (which I thought is how it was meant to be used
initially). I should now be able to apply patch, thanks for being
patient.

--
Hari
>
> regards,
> Christian
>
>
> >
>

Tony Mechelynck

unread,
Sep 20, 2009, 11:19:14 PM9/20/09
to Steve Hall, vim...@googlegroups.com

I notice that at the moment the "Release notes" icon at right of the
gvim-7.2.259.exe line at http://sourceforge.net/projects/cream/files/
links to a .txt file which is served with the MIME type in its
Content-Type header set to "application/octet-stream" instead of the
expected "text/plain". The result is that neither SeaMonkey 2.0pre nor
Konqueror 3.5.10 is willing to display the file. (I don't know what IE
would do, and I expect that Firefox would, like SeaMonkey, propose to
download the file rather than be willing to display it.)

Steve, I don't know if the problem is on your side or on SourceForge's
but if it is theirs, I think you might want to contact them. As a last
resort if they don't fix it and you can't, you might want to copy the
text to a <pre> section in an HTML page or some such.


Best regards,
Tony.
--
"The voters have spoken, the bastards ..."

Reply all
Reply to author
Forward
0 new messages