Re: Feature request: change settings using ncurses menus (TUI)

2009-11-03 Fir de Conversatie Gary Johnson
On 2009-11-04, James Vega wrote: > On Tue, Nov 03, 2009 at 11:02:38PM -0800, Gary Johnson wrote: > > On 2009-11-04, Parker Jones wrote: > > > Recently, I wanted to change the syntax highlighting language, but even > > > after > > > spending 15 minutes reading the documentation I got fed up and ga

Re: Feature request: change settings using ncurses menus (TUI)

2009-11-03 Fir de Conversatie James Vega
On Tue, Nov 03, 2009 at 11:02:38PM -0800, Gary Johnson wrote: > On 2009-11-04, Parker Jones wrote: > > Recently, I wanted to change the syntax highlighting language, but even > > after > > spending 15 minutes reading the documentation I got fed up and gave up. It > > really shouldn't be that hard

Re: Feature request: change settings using ncurses menus (TUI)

2009-11-03 Fir de Conversatie Gary Johnson
On 2009-11-04, Parker Jones wrote: > Changing settings is something that I and perhaps many other users don't do > often, so it's less familiar than other parts of vim. It would be a great > development if it were easier to change settings by having a curses menu > driven > interface (obviously

Re: Patch 7.2.269

2009-11-03 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: > > > Patch 7.2.269 > > Problem:Many people struggle to find out why Vim startup is slow. > > Solution: Add the --startuptime command line flag. > > Files: runtime/doc/starting.txt, src/globals.h, src/feature.h, > >src/main.c, src/macros.h > > That

Re: Killing cscope (Was: omni for CTRL-])

2009-11-03 Fir de Conversatie Tony Mechelynck
On 04/11/09 02:06, Michael Wookey wrote: > > 2009/11/4 Tony Mechelynck: >> >> On 03/11/09 20:10, Gary Johnson wrote: >>> >>> On 2009-11-03, Tony Mechelynck wrote: >>> About using cscope (including 'cscopequickfix' and without any nonstandard plugin), I've put up yesterday a proposed Vim

Re: Killing cscope (Was: omni for CTRL-])

2009-11-03 Fir de Conversatie Gary Johnson
On 2009-11-04, Tony Mechelynck wrote: > On 03/11/09 20:10, Gary Johnson wrote: > > > > On 2009-11-03, Tony Mechelynck wrote: > > > >> About using cscope (including 'cscopequickfix' and without any > >> nonstandard plugin), I've put up yesterday a proposed Vim Tip based on > >> my own practice, and

Re: Killing cscope (Was: omni for CTRL-])

2009-11-03 Fir de Conversatie Tony Mechelynck
On 03/11/09 20:10, Gary Johnson wrote: > > On 2009-11-03, Tony Mechelynck wrote: > >> About using cscope (including 'cscopequickfix' and without any >> nonstandard plugin), I've put up yesterday a proposed Vim Tip based on >> my own practice, and covering mostly what I felt was missing in ":help >

Re: Killing cscope (Was: omni for CTRL-])

2009-11-03 Fir de Conversatie Michael Wookey
2009/11/4 Tony Mechelynck : > > On 03/11/09 20:10, Gary Johnson wrote: >> >> On 2009-11-03, Tony Mechelynck wrote: >> >>> About using cscope (including 'cscopequickfix' and without any >>> nonstandard plugin), I've put up yesterday a proposed Vim Tip based on >>> my own practice, and covering most

Re: Patch 7.2.268

2009-11-03 Fir de Conversatie winterTTr
On Tue, Nov 3, 2009 at 6:43 PM, Bram Moolenaar wrote: > > > Patch 7.2.268 > Problem:Crash when using Python to set cursor beyond end of line. >(winterTTr) > Solution: Check the column to be valid. > Files: src/if_python.c > > > *** ../vim-7.2.267/src/if_python.c 2009-07

Thanks! (was: Patch 7.2.277)

2009-11-03 Fir de Conversatie Lech Lorens
On 03-Nov-2009 Bram Moolenaar wrote: > [...] Thanks for this one, all the other patches and generally for your great work on Vim! -- Cheers, Lech --~--~-~--~~~---~--~~ You received this message from the "vim_dev" maillist. For more information, visit http://ww

Killing cscope (Was: omni for CTRL-])

2009-11-03 Fir de Conversatie Gary Johnson
On 2009-11-03, Tony Mechelynck wrote: > About using cscope (including 'cscopequickfix' and without any > nonstandard plugin), I've put up yesterday a proposed Vim Tip based on > my own practice, and covering mostly what I felt was missing in ":help > if_cscop.txt": http://vim.wikia.com/wiki/Cs

Patch 7.2.284

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.284 Problem:When editing the same buffer in two windows, one with folding, display may be wrong after changes. Solution: Call set_topline() to take care of side effects. (Lech Lorens) Files: src/misc1.c *** ../vim-7.2.283/src/misc1.c 2009-07-22 11:03:38.000

Re: Patch 7.2.269

2009-11-03 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Patch 7.2.269 > Problem:    Many people struggle to find out why Vim startup is slow. > Solution:   Add the --startuptime command line flag. > Files:      runtime/doc/starting.txt, src/globals.h, src/feature.h, >            src/main.c, src/macros.h That's useful. Shouldn'

Patch 7.2.283

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.283 Problem:Changing font while the window is maximized doesn't keep the window maximized. Solution: Recompute number of lines and columns after changing font. (James Vega) Files: src/gui_gtk_x11.c *** ../vim-7.2.282/src/gui_gtk_x11.c2009-09-23 1

Re: Space in option isfname is incompatible with spaces in makeprg option of compiler file

2009-11-03 Fir de Conversatie Bram Moolenaar
Hans Günter wrote: > I found an inconsistency between the makeprg option in compiler files and > the isfname option when the latter has a space (32) as element. > > To reproduce the problem perform the following steps: > > 1) start vim via: > vim -u NONE -U NONE --noplugin >

Patch 7.2.282

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.282 Problem:A fold can't be closed. Solution: Initialize fd_small to MAYBE. (Lech Lorens) Files: src/fold.c *** ../vim-7.2.281/src/fold.c 2009-11-03 16:29:48.0 +0100 --- src/fold.c 2009-11-03 17:41:50.0 +0100 *** *** 2851,2856 --- 2851,28

Re: Patch 7.2.280

2009-11-03 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: > Bram Moolenaar wrote: > > Patch 7.2.280 > > Problem:A redraw in a custom statusline with %! may cause a crash. > > (Yukihiro Nakadaira) > > Solution: Make a copy of 'statusline'. Also fix typo in function name > > redraw_custum_statusline.

Re: Patch 7.2.280

2009-11-03 Fir de Conversatie Charles Campbell
Bram Moolenaar wrote: > Patch 7.2.280 > Problem:A redraw in a custom statusline with %! may cause a crash. > (Yukihiro Nakadaira) > Solution: Make a copy of 'statusline'. Also fix typo in function name > redraw_custum_statusline. (party by Dominique Pelle) > Files:

Patch 7.2.281

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.281 Problem:'cursorcolumn' highlighting is wrong in diff mode. Solution: Adjust the column computation. (Lech Lorens) Files: src/screen.c *** ../vim-7.2.280/src/screen.c 2009-11-03 17:20:18.0 +0100 --- src/screen.c2009-11-03 17:13:16.0 +0100

Patch 7.2.280

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.280 Problem:A redraw in a custom statusline with %! may cause a crash. (Yukihiro Nakadaira) Solution: Make a copy of 'statusline'. Also fix typo in function name redraw_custum_statusline. (party by Dominique Pelle) Files: src/screen.c *** ../vim-7.2

Patch 7.2.279

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.279 Problem:Invalid memory read with visual mode "r". (Dominique Pelle) Solution: Make sure the cursor position is valid. Don't check the cursor position but the position being used. And make sure we get the right line. Files: src/misc2.c, src/ops.c

Patch 7.2.278

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.278 Problem:Using magic number in the folding code. Solution: Use the defined MAX_LEVEL. Files: src/fold.c *** ../vim-7.2.277/src/fold.c 2009-11-03 14:46:35.0 +0100 --- src/fold.c 2009-11-03 12:36:37.0 +0100 *** *** 1932,1938 #ifdef FEA

Patch 7.2.277

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.277 Problem:CTRL-Y in a diff'ed window may move the cursor outside of the window. (Lech Lorens) Solution: Limit the number of filler lines to the height of the window. Don't reset filler lines to zero for an empty buffer. Files: src/move.c *** ../vim

Space in option isfname is incompatible with spaces in makeprg option of compiler file

2009-11-03 Fir de Conversatie Johann-Guenter . Simon
I found an inconsistency between the makeprg option in compiler files and the isfname option when the latter has a space (32) as element. To reproduce the problem perform the following steps: 1) start vim via: vim -u NONE -U NONE --noplugin 2) Add space to the isfname op

RE: Feature request: change settings using ncurses menus (TUI)

2009-11-03 Fir de Conversatie Parker Jones
Hmm. Perhaps this was the wrong mailing list. I'll repost on vim users mailing list. Changing settings is something that I and perhaps many other users don't do often, so it's less familiar than other parts of vim. It would be a great development if it were easier to change setting

Patch 7.2.276

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.276 Problem:Crash when setting 'isprint' to a small bullet. (Raul Coronado) Solution: Check for the character to be < 256. Also make it possible to specify a range of multi-byte characters. (Lech Lorens) Files: src/charset.c *** ../vim-7.2.275/src/charset.c

Patch 7.2.275

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.275 Problem:Warning for unused argument and comparing signed and unsigned. Solution: Add type cast. Files: src/memline.c *** ../vim-7.2.274/src/memline.c2009-11-03 13:06:03.0 +0100 --- src/memline.c 2009-10-29 20:55:08.0 +0100 *** *

Patch 7.2.275

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.275 Problem:Warning for unused argument and comparing signed and unsigned. Solution: Add type cast. Files: src/memline.c *** ../vim-7.2.274/src/memline.c2009-11-03 13:06:03.0 +0100 --- src/memline.c 2009-10-29 20:55:08.0 +0100 *** *

Re: %! item in 'statusline' option causes an error.

2009-11-03 Fir de Conversatie Yukihiro Nakadaira
> set statusline=%!MyStatusLine() > set laststatus=2 > function MyStatusLine() > return "" > endfunction Actually this script cannot reproduce an error. More lines are required. set statusline=%!MyStatusLine() set laststatus=2 function MyStatusLine() return "" endfunction

Re: %! item in 'statusline' option causes an error.

2009-11-03 Fir de Conversatie Yukihiro Nakadaira
Dominique Pellé wrote: > I can reproduce the crash too with the redraw! inside the > MyStatusLine() function as you describe. > > The attached patch fixes it for me but please verify it and review it. > Patch prevents recursive call of redraw_custum_statusline(). Thank you. I cannot see error w

Patch 7.2.274

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.274 Problem:Syntax folding doesn't work properly when adding a comment. Solution: Fix it and add a test. (Lech Lorens) Files: src/fold.c, src/testdir/test45.in, src/testdir/test45.ok *** ../vim-7.2.273/src/fold.c 2009-09-18 15:16:37.0 +0200 --- src/fold.c 2009-11

Patch 7.2.273

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.273 Problem:Crash with redir to unknown array. (Christian Brabandt) Solution: Don't assign the redir result when there was an error. Files: src/eval.c *** ../vim-7.2.272/src/eval.c 2009-09-30 15:15:33.0 +0200 --- src/eval.c 2009-11-03 12:05:07.0 +0100 ***

Feature request: change settings using ncurses menus (TUI)

2009-11-03 Fir de Conversatie Parker Jones
Changing settings is something that I and perhaps many other users don't do often, so it's less familiar than other parts of vim. It would be a great development if it were easier to change settings by having a curses menu driven interface (obviously without replacing the existing command line

set path, length

2009-11-03 Fir de Conversatie mobi phil
Hello, I added recently some additional directories to the search path. However headers were not found.. I looked at the set path, and see that it is truncated. Then I went to the help it says: "The maximum length is limited. How much depends on the system, mostly it is something like

Re: Patch 7.2.269

2009-11-03 Fir de Conversatie François Ingelrest
On Tue, Nov 3, 2009 at 12:10, Bram Moolenaar wrote: > Patch 7.2.269 > Problem:    Many people struggle to find out why Vim startup is slow. > Solution:   Add the --startuptime command line flag. > Files:      runtime/doc/starting.txt, src/globals.h, src/feature.h, >            src/main.c, src/mac

Patch 7.2.272

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.272 Problem:"_.svz" is not recognized as a swap file. (David M. Besonen) Solution: Accept .s[uvw][a-z] as a swap file name extension. Files: src/memline.c *** ../vim-7.2.271/src/memline.c2009-04-22 15:56:27.0 +0200 --- src/memline.c 2009-10-29 20:55:08

Patch 7.2.271

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.271 Problem:Using freed memory in Motif GUI version when making a choice. Solution: Free memory only after using it. (Dominique Pelle) Files: src/gui_xmdlg.c *** ../vim-7.2.270/src/gui_xmdlg.c 2009-05-21 23:25:38.0 +0200 --- src/gui_xmdlg.c 2009-10-28 21:56

Patch 7.2.270

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.270 Problem:Using ":@c" when the c register contains a CR causes the rest to be executed later. (Dexter Douglas) Solution: Don't check for typeahead to start with ':', keep executing commands until all added typeahead has been used. Files: src/ex_docmd

Patch 7.2.269

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.269 Problem:Many people struggle to find out why Vim startup is slow. Solution: Add the --startuptime command line flag. Files: runtime/doc/starting.txt, src/globals.h, src/feature.h, src/main.c, src/macros.h *** ../vim-7.2.268/runtime/doc/starting.txt 2008-

Patch 7.2.268

2009-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.2.268 Problem:Crash when using Python to set cursor beyond end of line. (winterTTr) Solution: Check the column to be valid. Files: src/if_python.c *** ../vim-7.2.267/src/if_python.c 2009-07-09 20:06:30.0 +0200 --- src/if_python.c 2009-10-10 14:49:

Re: Submatch newline bug?

2009-11-03 Fir de Conversatie Bram Moolenaar
Clockwork Jam wrote: > I'm seeing some odd behaviour when passing a submatch to substitute() > when evaluating a regexp in GVim 7.2. Say I have the following two- > line file: > > the second line > appears below > > If I place the cursor at the start of the file and execute the > following sub

Re: help.txt: ft_sql.txt missing

2009-11-03 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: > On 05/10/09 20:18, Bram Moolenaar wrote: > > > > Florian Rehnisch wrote: > > > >> Hi Bram, folks. > >> > >> I wonder if noone noticed yet that ft_sql.txt is missing > >> from the overview list in help.txt. Could be after ft_ada.txt. > > > > You must be using a slightly