Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Peter Slížik
Hi, in it's current implementation, 'hlsearch' works as following: * calling :set hlsearch for the first time after Vim has been launched: just expresses user's general preference of having their searches highlighted * searching a text: all occurences become highlighted * calling :set

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Ingo Karkat
On 13-Dec-2011 12:49, Peter Slížik wrote: [37 lines deleted] * to introduce two new commands, e.g. :clearhl and :restorehl, which would allow the user to turn the highlitghts off. Neither intuitive nor easy to find, but :nohlsearch already exists :-) -- regards, ingo -- You received this

Re: Bug since one of the later patches: :redraw during startup (e.g. from vimrc) causes gvim to redraw on the terminal

2011-12-13 Fir de Conversatie lith
Hi, The startup sequence for the GUI was indeed changed. Calling :redraw in the startup script is weird, you probably need to change that. If there really are redrawing problems use a VimEnter or GUIEnter autocommand. I now had time to investigate this a little bit further. First, the

Re: Bug since one of the later patches: :redraw during startup (e.g. from vimrc) causes gvim to redraw on the terminal

2011-12-13 Fir de Conversatie lith
First, the problem was introduced during the latest patches. This should read: the problem was *not* ... Regards, Tom -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie sc
On Tue, Dec 13, 2011 at 03:49:57AM -0800, Peter Slížik wrote: * On some Linux distributions, Vim highligts the old search, even if it is the first time I run it in the morning. In that case, it highlights the last search from the previous day. Quite annoying, too. I had never a chance to debug

RE: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of Peter Slížik * On some Linux distributions, Vim highligts the old search, even if it is the first time I run it in the morning. In that case, it highlights the last search from the previous day. Quite annoying, too. I had never a chance to debug this, but I suspect it has

Re: Bug since one of the later patches: :redraw during startup (e.g. from vimrc) causes gvim to redraw on the terminal

2011-12-13 Fir de Conversatie Christian Brabandt
Hi lith! On Di, 13 Dez 2011, lith wrote: First, the problem was introduced during the latest patches. This should read: the problem was *not* ... Can you provide a minimal example of the crash? regards, Christian -- Patriotismus ist die Tugend der Bosheit. -- Oscar

Re: License for SQLAnywhere syntax file

2011-12-13 Fir de Conversatie Bram Moolenaar
David Norton wrote: Problem: I'm trying to find the license info for the sqlanywhere.vim file, since I borrowed from it for a new syntax file. I need to know to whom and under what terms the new syntax file needs to be distributed under so I can act appropriately. Can anyone shed light on

Issue 35 in vim: C indenting: incorrect indentation of static enums

2011-12-13 Fir de Conversatie vim
Status: New Owner: lech.lor...@gmail.com Labels: Type-Defect Priority-Medium New issue 35 by lech.lor...@gmail.com: C indenting: incorrect indentation of static enums http://code.google.com/p/vim/issues/detail?id=35 In a static enum the second and following enums will be indented too much:

Issue 36 in vim: C indenting: function headers spanning multiple lines are indented incorrectly

2011-12-13 Fir de Conversatie vim
Status: New Owner: lech.lor...@gmail.com Labels: Type-Defect Priority-Medium New issue 36 by lech.lor...@gmail.com: C indenting: function headers spanning multiple lines are indented incorrectly http://code.google.com/p/vim/issues/detail?id=36 In the following examples the arguments

Issue 37 in vim: C indenting: label causes the action in if() construct to be indented too much

2011-12-13 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 37 by lech.lor...@gmail.com: C indenting: label causes the action in if() construct to be indented too much http://code.google.com/p/vim/issues/detail?id=37 In the following examples the calls to c() and d() are indented

Issue 38 in vim: C indenting: enclosing case values in switch construct causes wrong indentation

2011-12-13 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 38 by lech.lor...@gmail.com: C indenting: enclosing case values in switch construct causes wrong indentation http://code.google.com/p/vim/issues/detail?id=38 In the following example some lines are indented too little:

Issue 39 in vim: C indenting: opening brace after a closing brace confuses the indenter

2011-12-13 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 39 by lech.lor...@gmail.com: C indenting: opening brace after a closing brace confuses the indenter http://code.google.com/p/vim/issues/detail?id=39 In the following example the indentation incorrectly is constantly

Issue 40 in vim: C indenting: colon inside comment causes word to be treated like a label

2011-12-13 Fir de Conversatie vim
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 40 by lech.lor...@gmail.com: C indenting: colon inside comment causes word to be treated like a label http://code.google.com/p/vim/issues/detail?id=40 In the following code sample the second comment is indented

Issue 41 in vim: C indenting: incorrect indentation for continuation line after preprocessor statement

2011-12-13 Fir de Conversatie vim
Status: Accepted Owner: lech.lor...@gmail.com Labels: Type-Defect Priority-Medium New issue 41 by lech.lor...@gmail.com: C indenting: incorrect indentation for continuation line after preprocessor statement http://code.google.com/p/vim/issues/detail?id=41 Following the suggestion by Bram

Re: Issue 36 in vim: C indenting: function headers spanning multiple lines are indented incorrectly

2011-12-13 Fir de Conversatie vim
Comment #1 on issue 36 by lech.lor...@gmail.com: C indenting: function headers spanning multiple lines are indented incorrectly http://code.google.com/p/vim/issues/detail?id=36 The attached patch fixes the described problem. Attachments: c-indent-function-header-with-newlines.patch

Re: Issue 35 in vim: C indenting: incorrect indentation of static enums

2011-12-13 Fir de Conversatie vim
Comment #1 on issue 35 by lech.lor...@gmail.com: C indenting: incorrect indentation of static enums http://code.google.com/p/vim/issues/detail?id=35 The attached patch fixes the problem. Attachments: c-indent-static-enum.patch 937 bytes -- You received this message from the

Re: Feature request: fixing a quirk in 'hlsearch'

2011-12-13 Fir de Conversatie Tony Mechelynck
On 13/12/11 12:49, Peter Slížik wrote: Hi, in it's current implementation, 'hlsearch' works as following: * calling :set hlsearch for the first time after Vim has been launched: just expresses user's general preference of having their searches highlighted * searching a text: all occurences