Re: More request for 2html :)

2010-06-05 Fir de Conversatie Peter Odding
Hi all. Sorry to resurrect an old thread, however: Wu, Yue wrote: Ok, 2html now has supported folding, thanks for nice work, so fantasic! Now, new feature request comes :) If 2html supports translating the tags jumping to hypertext, it would be much more great. I wrote a plug-in that does

Re: easy way to purge 'persistence undo'?

2010-06-05 Fir de Conversatie Dominique Pellé
Ben Fritz wrote: I only recently started using undo branches, thanks to my discovery of the histwin plugin: http://www.vim.org/scripts/script.php?script_id=2932 With :earlier 1file being available, which would probably involve appropriate (parseable) markers, I imagine this plugin could

Re: [vim73] easy way to purge 'persistence undo'?

2010-06-05 Fir de Conversatie Christian Brabandt
Hi Ingo! On Fr, 04 Jun 2010, Ingo Karkat wrote: I like the idea of a command to purge the undo information, if only for security/privacy reasons. (Imagine you've accidentally pasted your credit card info into a Vim buffer; you don't want to have that persisted to disk.) How about

Re: Bug in Patch 7.2.201: Can no longer cutpaste plain text from gvim to OpenOffice

2010-06-05 Fir de Conversatie Bram Moolenaar
James Vega wrote: On Fri, Jun 4, 2010 at 2:27 PM, lack l...@gentoo.org wrote: The only thing I'm not sure about is how to get a callback all the way down into gui_gtk_x11.c when someone does either :set clipboard+=html or :set clipboard-=html Since in both cases I think the

Re: Bug in Patch 7.2.201: Can no longer cutpaste plain text from gvim to OpenOffice

2010-06-05 Fir de Conversatie Bram Moolenaar
Lack wrote: Somehow I didn't get the original message in this thread. On Jun 3, 9:15 pm, Tony Mechelynck antoine.mechely...@gmail.com wrote: IIUC, clipboard=html is meant to import raw HTML into Vim (with tags and all), adit it, and send it back. (Again, IIUC) it's the user's

Patch 7.2.442

2010-06-05 Fir de Conversatie Bram Moolenaar
Patch 7.2.442 (after 7.2.201) Problem:Copy/paste with OpenOffice doesn't work. Solution: Do not offer the HTML target when it is not supported. (James Vega) Files: src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro *** ../vim-7.2.441/src/gui_gtk_x11.c

Re: Bug in Patch 7.2.201: Can no longer cutpaste plain text from gvim to OpenOffice

2010-06-05 Fir de Conversatie Peter Odding
Bram Moolenaar wrote: James Vega wrote: The attached patch seems to work for me. Thanks. Looks good. We could argue that OpenOffice is doing this wrong, but since everybody has it we should add this workaround. Thanks everyone in this thread, patch 7.2.442 fixed the problem for me! Now I

Yet another requests for 2html

2010-06-05 Fir de Conversatie ZyX
There are some things that my 2html from stable vim (7.2.303, USE=acl bash- completion cscope nls perl python ruby vim-pager vim-with-x) does not support, so I ended in writing my own format.vim script: - 'list' and 'listchars' (lcs:tab, lcs:eol and lcs:trail) - Foreground colors for lines

Re: Patch 7.2.442

2010-06-05 Fir de Conversatie Patrick Texier
Le Sat, 05 Jun 2010 16:16:06 +0200, Bram Moolenaar a écrit dans le message 201006051416.o55eg6to002...@masaka.moolenaar.net : Patch 7.2.442 (after 7.2.201) Using Linux/GCC 3.2/GTK 1, I can't compile this patch. I think that gtk_selection_clear_targets is not available with GTK 1.

Re: Progress indicator for :TOhtml command

2010-06-05 Fir de Conversatie ZyX
Ответ на сообщение «Re: Progress indicator for :TOhtml command», присланное в 19:39:15 05 июня 2010, Суббота, отправитель Benjamin Fritz: Why do you need float math for progress bar? Integer division is enough unless you are going to show progress in %.1f or even more precious format. %3.d

[patch] fixed Floating point exception in Vim-7.3a

2010-06-05 Fir de Conversatie Dominique Pellé
Hi I can reproduce a crash Floating point exception in Vim-7.3a (2245:1bac28a53fae) as follows: $ cd /tmp $ echo set cryptmethod=1 undodir=/tmp undofile vimrc $ rm -f foo .foo* $ vim --noplugin -u vimrc -c 'call feedkeys(ifoo\esc:X\crfoo\crfoo\cr:wq\cr)' foo $ echo foo foo # Now file foo is

Re: Progress indicator for :TOhtml command

2010-06-05 Fir de Conversatie ZyX
Ответ на сообщение «Re: Progress indicator for :TOhtml command», присланное в 19:39:15 05 июня 2010, Суббота, отправитель Benjamin Fritz: A small benchmark for your and mine scripts: usersystem cpu total Relative mine, no progress 93,07

[patch] CTRL-L with incsearch, ignorecase and smartcase

2010-06-05 Fir de Conversatie Martin Toft
Hi, this patch addresses the following bug: When 'smartcase' is set and using CTRL-L to add to the search pattern it may result in no matches. Convert chars to lower case? (Erik Wognsen, 2009 Apr 16) The description is taken from

Re: Progress indicator for :TOhtml command

2010-06-05 Fir de Conversatie ZyX
Ответ на сообщение «Re: Progress indicator for :TOhtml command», присланное в 19:39:15 05 июня 2010, Суббота, отправитель Benjamin Fritz: It occures that the problem is not floating-point math: the attached patch removes this math but does not add any perfomance. It also removes recalculating

Re: Progress indicator for :TOhtml command

2010-06-05 Fir de Conversatie Ben Fritz
On Jun 5, 6:26 pm, ZyX zyx@gmail.com wrote: A small benchmark for your and mine scripts:                               user    system  cpu  total      Relative mine, no progress              93,07  10,82   99%  1:44,06    + 5% mine, only per cents and bar   95,77  10,92   99%  1:46,94