Bug in VIM 7.3.46

2011-02-03 Fir de Conversatie Simon Rushton
Hope this is the best place for bug reports. Environment I'm using VIM 7.3.46 on Windows XP. I'm writing sql and pkb files, so PL/SQL highlighting is being used, and I have the following bespoke lines in my vimrc file: :colorscheme murphy set ts=2 set autoindent set expandtab Bug When

Useless error check

2011-02-03 Fir de Conversatie Ben Schmidt
Hi, Bram, It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is running at initialisation time, and since this happens in

[Patch] Fix drawing of cursorline on line with concealed chars and 'list' set

2011-02-03 Fir de Conversatie Christian Brabandt
Hi Bram, here is a patch, that fixes this item from the todo list: , | 'cursorline' is displayed too short when there are concealed characters | and 'list' is set, 'listchars' at default value. (Dennis Preiser, 2010 | Aug 15) ` BTW: Is it supposed to be that concealed lines, wrap earlier

Re: Fedora 13 Gvim popup pops down unless you hold right mouse down?

2011-02-03 Fir de Conversatie Bram Moolenaar
Hong Xu wrote: I think I have fixed this problem. The attachment is the patch. The reason is that when gtk_menu_popup is called, its last parameter is not passed in the correct time stamp but GDK_CURRENT_TIME. I fixed this by adding a global varible, which is ugly, I think. Is there a

Re: Bug in VIM 7.3.46

2011-02-03 Fir de Conversatie Ben Fritz
On Feb 3, 7:18 am, Simon Rushton simonrush...@gmail.com wrote: Hope this is the best place for bug reports. Environment I'm using VIM 7.3.46 on Windows XP. I'm writing sql and pkb files, so PL/SQL highlighting is being used, and I have the following bespoke lines in my vimrc file:

Re: Useless error check

2011-02-03 Fir de Conversatie Bram Moolenaar
Ben Schmidt wrote: It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is running at initialisation time, and since

Re: [Patch] Fix drawing of cursorline on line with concealed chars and 'list' set

2011-02-03 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: here is a patch, that fixes this item from the todo list: , | 'cursorline' is displayed too short when there are concealed characters | and 'list' is set, 'listchars' at default value. (Dennis Preiser, 2010 | Aug 15) ` Thanks! BTW: Is it supposed to

Re: vim crash

2011-02-03 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: On Di, 01 Feb 2011, Bram Moolenaar wrote: Looking through the code I found one situation where it would read uninitialized memory: :set stl=%!'asdf%' However, the valgrind log looks different from what you show. I suspect there is another problem.

Re: Unexpected behavior loading cp1252 file as latin1

2011-02-03 Fir de Conversatie Benjamin Fritz
On Wed, Feb 2, 2011 at 9:59 AM, Benjamin Fritz fritzophre...@gmail.com wrote: On Tue, Feb 1, 2011 at 7:11 PM, Rhialto rhia...@falu.nl wrote: On Tue 01 Feb 2011 at 09:30:48 -0800, Ben Fritz wrote: Converting from cp1252 to latin1 should fail depending on the characters in the file, but latin1

Re: Useless error check

2011-02-03 Fir de Conversatie Ben Schmidt
On 4/02/11 8:03 AM, Bram Moolenaar wrote: Ben Schmidt wrote: It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is

Re: Unexpected behavior loading cp1252 file as latin1

2011-02-03 Fir de Conversatie Vlad Irnov
On Feb 3, 5:03 pm, Benjamin Fritz fritzophre...@gmail.com wrote: On Wed, Feb 2, 2011 at 9:59 AM, Benjamin Fritz fritzophre...@gmail.com wrote: On Tue, Feb 1, 2011 at 7:11 PM, Rhialto rhia...@falu.nl wrote: On Tue 01 Feb 2011 at 09:30:48 -0800, Ben Fritz wrote: Converting from cp1252 to