... How about using SIGALRM when search is progressing, every second ? SIGALRM handler would store time() into global var (and reload alarm(1)). The search...
46692
Bram Moolenaar
Bram@...
May 1, 2007 9:44 am
[This is development, removed the Vim maillist] ... It will help for differences in speed for various patterns, but it won't help for lines differing in...
46693
Ernie Rael
err@...
May 1, 2007 9:53 am
... Up to now jVi does exactly as you say. But now I want to get hold of the "structure" of a VIsual area, so a block paste can be implemented. In os_win32.c...
46694
Bram Moolenaar
Bram@...
May 1, 2007 9:54 am
... This is not true. It just reduces the chance of a mistake being made by an unknown factor. It's still possible to allow an option to be set, thinking...
46695
A.J.Mechelynck
antoine.mechelynck@...
May 1, 2007 10:34 am
Bram Moolenaar wrote: [...] ... [...] Are you sure? In a terminal logged-in as root, using vim 7.0.235: vim -u NONE -N ... modeline modelines=5 Modelines...
46696
Bram Moolenaar
Bram@...
May 1, 2007 11:30 am
... Sorry, my mistake. There is a recommendation that when working as root you switch 'modeline39; off, but it's not done automatically. I do think that it's a...
46697
John Beckett
winterwaffle@...
May 1, 2007 2:02 pm
... I am not claiming that sanity-checking a modeline before execution would make it 100% safe. But there have been many examples in other software where minor...
46698
scott
toothpik@...
May 1, 2007 4:15 pm
i had to 'rm src/auto/config.cache before i could build with this one sc...
46699
Bram Moolenaar
Bram@...
May 1, 2007 4:47 pm
Patch 7.0.236 Problem: Linux 2.4 uses sysinfo() with a mem_unit field, which is not backwards compatible. Solution: Add an autoconf check for...
46700
Bram Moolenaar
Bram@...
May 1, 2007 5:05 pm
Patch 7.0.237 Problem: For root it is recommended to not use 'modeline39;, but in not-compatible mode the default is on. Solution: Let 'modeline39; default to...
46701
A.J.Mechelynck
antoine.mechelynck@...
May 1, 2007 5:20 pm
... Yes, this is normal for a patch affecting the configure files: src/auto/configure src/configure.in src/config.h.in Me too: the first make ended in an...
46702
A.J.Mechelynck
antoine.mechelynck@...
May 1, 2007 5:57 pm
... or ... still sets 'modeline39; on, even when logged-in as root. Best regards, Tony. -- If you want to understand your government, don't begin by reading the ...
46703
Bram Moolenaar
Bram@...
May 1, 2007 8:06 pm
Patch 7.0.238 Problem: Crash when ":match" pattern runs into 'maxmempattern'. (Yakov Lerner) Solution: Don't free the regexp program of match_hl. Files:...
46704
James Longstreet
jlongstreet@...
May 1, 2007 11:16 pm
Hello, I'm wondering if any of the Summer of Code winners are tackling the regex performance thing suggested here: http://www.vim.org/soc/ideas.php If anyone...
46705
Asiri Rathnayake
asiri.rathnayake@...
May 2, 2007 6:07 am
... Bram said two students are working on this, but you are welcome to help them (i think). Nikolai too would help anyone with this. ... - Asiri...
46706
Bram Moolenaar
Bram@...
May 2, 2007 3:59 pm
Patch 7.0.239 Problem: When using local directories and tab pages ":mksession" uses a short file name when it shouldn't. Window-local options from a ...
46707
Andy Wokula
anwoku@...
May 2, 2007 5:52 pm
GVim runs into an endless loop if I do the following: " clean startup ... Error detected while processing : E605: Exception not caught: foo E605: Exception not...
46708
Bram Moolenaar
Bram@...
May 2, 2007 8:10 pm
James - ... Yes, two students were selected to work on this. Russ Cox volunteered to mentor them. - Bram -- Bumper sticker: Honk if you love peace and quiet. ...
46709
Bram Moolenaar
Bram@...
May 2, 2007 8:10 pm
Patch 7.0.240 Problem: Crash when splitting a window in the GUI. (opposite of 7.0.227) Solution: Don't call out_flush() from win_alloc(). Also avoid this...
46710
Bram Moolenaar
Bram@...
May 2, 2007 8:29 pm
... See patch below. ... Solved with the same patch. Please verify. ... *************** ... if (!win_valid(wp)) break; win_goto(wp); + if (curwin != wp) +...
46711
Tomas Golembiovsky
nyoxi@...
May 2, 2007 10:21 pm
There seems to be a bug in java indentation. The maintainer (Cc'ed) is said to be resigned, so I'm writing here. It is sort of special situation. Take a look...
46712
Andy Wokula
anwoku@...
May 3, 2007 12:04 am
... Great, the patch works (examples tested). -- Thanks, Andy EOM...
46713
Matthew Winn
vim@...
May 3, 2007 9:28 am
On Tue, 1 May 2007 19:42:02 +1000, "John Beckett" ... What constitutes a "reasonable length"? Vim has to load the entire document including its modeline into...
46714
Yakov Lerner
iler.ml@...
May 3, 2007 2:45 pm
The patch adds flag to search() flag to not use smartcase. '*' and '#' do not use smartcase, but search() always uses smartcase (cannot be turned off). When we...
46715
Bram Moolenaar
Bram@...
May 3, 2007 3:23 pm
... Looks a bit inconsistent. Why not also add a flag to ignore 'ignorecase39; and 'magic39;? -- Everybody lies, but it doesn't matter since nobody listens. --...
46716
Yakov Lerner
iler.ml@...
May 3, 2007 8:20 pm
... Yes. After I sent out a patch, I realized I can fix my problem by saving,clearing, and restoring the 'smartcase39; option. Sorry. Yakov...
... [...] ... I don't know about Bram, but how portable is SIGALRM? Can you use it on non-Unix-like systems such as Windows? Wouldn't counting lines be both...
46719
John Beckett
winterwaffle@...
May 4, 2007 4:23 am
... We've probably slugged this out enough, but I'm glad to have another opportunity to promote the "safe modelines" message. Bram has made the point that...
46720
Ciaran McCreesh
ciaranm@...
May 4, 2007 2:38 pm
On Fri, 4 May 2007 14:20:22 +1000 ... Most previous exploits have been exploitable with far below the line length that is reasonably used by sensible people. ...