RE: [patch] add sortuniq() function

2014-03-24 Fir de Conversatie Craig Barkhouse
Bram said: > Thanks. I'll add it in the todo list. Although we may add uniq() instead. > Consistancy with Unix is useful. I just wanted to weigh in on the idea of adding uniq() instead of sortuniq(). The modularity of Unix commands is great and all, but when working with big data sets you wa

Re: [patch] add sortuniq() function

2014-03-24 Fir de Conversatie LCD 47
On 25 March 2014, LCD 47 wrote: [...] > I'm attaching bellow my attempt to a fix. I also merged f_sort() > and f_uniq() in a single function, and made some minor optimisations. [...] > +static int (*item_compare_func_ptr)__ARGS((const void *, const void > *s2)); [...]

Re: [patch] add sortuniq() function

2014-03-24 Fir de Conversatie LCD 47
On 21 March 2014, Cade Forester wrote: > > How about separating it from sort()? That is, an uniq() > > function that would remove duplicates from an already sorted list > > (results would be undefined if the input list is not sorted). That > > would be consistent with how uniq(1) works on UN

Re: [PATCH] v:hlsearch variable

2014-03-24 Fir de Conversatie Kassio Borges
Thanks ZyX and Bram for this. I'm helping to maintain the ack.vim, a plugin to use ack as grepprg. One option on the plugin is highlight the results after the search, to do that I am using something like that: if g:ackhighlight setlocal hlsearch let @/ = searched_term let v:hlsearch = &hl

Patch 7.4.214

2014-03-24 Fir de Conversatie Bram Moolenaar
Patch 7.4.214 Problem:Compilation problems on HP_nonStop (Tandem). Solution: Add #defines. (Joachim Schmitz) Files: src/vim.h *** ../vim-7.4.213/src/vim.h2014-02-23 22:52:33.352764716 +0100 --- src/vim.h 2014-03-24 17:25:40.328710672 +0100 *** *** 77,82 --- 77,8