Why does Press ENTER or type command to continue appear when 12 columns left?

2006-07-23 Thread Nikolai Weibull
When output from for example :echon comes within 12 columns of the right hand margin the Press ENTER or type command to continue prompt appears. Why is this so? Why can't the remaining 12 columns be used? It's not that I think that 12 colums will make all the difference in the world. It's

Re: 'set showcmd' + message longer than (co-12) + Press Enter - bug ?

2006-07-23 Thread Bram Moolenaar
Yakov Lerner wrote: I figured by experimentation that with ':set nochowcmd', 1-line message up to (co-1) length does not cause 'Press Enter'. With ':set showcmd', messages longer than (co-12) cause 'Press Enter'. When I I first figured it, I thought 'Ah, it makes sense. There is this

Patch 7.0.040

2006-07-23 Thread Bram Moolenaar
Patch 7.0.040 Problem:When 'cmdheight' is larger than 1 using inputlist() or selecting a spell suggestion with the mouse gets the wrong entry. Solution: Start listing the first alternative on the last line of the screen. Files: src/eval.c, src/spell.c ***

Patch 7.0.042

2006-07-23 Thread Bram Moolenaar
Patch 7.0.042 Problem:When pasting a block of text in Insert mode Vim hangs or crashes. (Noam Halevy) Solution: Avoid that the cursor is positioned past the NUL of a line. Files: src/ops.c *** ../vim-7.0.041/src/ops.cTue Jun 20 20:29:13 2006 --- src/ops.c Sun Jul 23

[ANN] Clewn and vimGdb 1.8.1

2006-07-23 Thread Xavier de Gaye
Hi all, Clewn and vimGdb 1.8.1 have been released. The clewn project implements full gdb support in the vim editor: breakpoints, watch variables, gdb command completion, assembly windows, etc. You can get clewn and vimGdb from http://clewn.sourceforge.net. Bug fixes: Fixed jumping back to

Typo in helpfile tips.txt

2006-07-23 Thread A.J.Mechelynck
*tips.txt* For Vim version 7.0. Last change: 2006 Apr 30 at line 152, there is: terminfo entry (retrieved with /usr/5bin/infocmp -C xterm). Both should 5bin is obviously a typo. One might think that sbin would be right. However, on my system (SuSE 9.3) infocmp resides in /usr/bin, not

using hidden unlisted buffer as transparently as possible

2006-07-23 Thread Marvin Renich
I am enhancing my cyclecolor script and would like to use another buffer, but would like to do it as transparently as possible. I use bufnr(filename, 1) to create a new buffer, then save the current buffer number, switch to the new buffer, do some things, and switch back. Later in the script, I

Re: using hidden unlisted buffer as transparently as possible

2006-07-23 Thread A.J.Mechelynck
Marvin Renich wrote: I am enhancing my cyclecolor script and would like to use another buffer, but would like to do it as transparently as possible. I use bufnr(filename, 1) to create a new buffer, then save the current buffer number, switch to the new buffer, do some things, and switch back.

Re: using hidden unlisted buffer as transparently as possible

2006-07-23 Thread Bill McCarthy
On Sun 23-Jul-06 7:09pm -0600, Marvin Renich wrote: At this point, I see the output from exec b curbuf but using :messages I can see that the echomsg did indeed display (before the output from :b). I also tried redraw between the :b and the :echomsg. I don't have an answer for you but I