Re: More insert-mode woes

2006-05-07 Thread Bram Moolenaar
Robert Webb wrote: During insert-mode completion, there's no visual feedback when hitting backspace. Just now I typed some characters and hit ^P. It went searching through header files so I realised I'd made a typo, since the match should have come from the current file. I had typed

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread James Harvey
On Sat, May 06, 2006 at 10:23:50PM +0100, James Harvey wrote: On Sat, May 06, 2006 at 10:13:36PM +0200, Bram Moolenaar wrote: James Harvey wrote: [snip description of multi-monitor resize window bug] Your code fails when using one monitor and the taskbar is at the left or the top of

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread Bram Moolenaar
James Harvey wrote: On Sat, May 06, 2006 at 10:23:50PM +0100, James Harvey wrote: On Sat, May 06, 2006 at 10:13:36PM +0200, Bram Moolenaar wrote: James Harvey wrote: [snip description of multi-monitor resize window bug] Your code fails when using one monitor and the taskbar is

Re: 7.0e: Problem with vertical splits on windows xp

2006-05-07 Thread Bram Moolenaar
James Harvey wrote: (following up to myself, first sign of madness) On Sun, May 07, 2006 at 11:58:12AM +0100, James Harvey wrote: Adding debug to the code tells me that the SetWindowPos is doing the right thing, because a GetWindowRect immediately afterwards is returning the -ve

Re: Where to submit a patch/modification for consideration?

2006-05-07 Thread Eric Arnold
On 5/6/06, Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia sobota, 6 maja 2006 00:01, Eric Arnold napisał: On 5/5/06, Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia piątek, 5 maja 2006 14:35, Eric Arnold napisał: I think vim-dev@vim.org is probably a place to start... I've been

Re: Where to submit a patch/modification for consideration?

2006-05-07 Thread Yakov Lerner
On 5/7/06, Eric Arnold [EMAIL PROTECTED] wrote: On 5/7/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/7/06, Eric Arnold [EMAIL PROTECTED] wrote: Can you clarify coulpe of points. 1. a) Is this event fired when getchar() or vim extract event from typeahead buffer for processing ?, or

Re: Where to submit a patch/modification for consideration?

2006-05-07 Thread Eric Arnold
On 5/7/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/7/06, Eric Arnold [EMAIL PROTECTED] wrote: On 5/7/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/7/06, Eric Arnold [EMAIL PROTECTED] wrote: Can you clarify coulpe of points. 1. a) Is this event fired when getchar() or vim extract

Re: Where to submit a patch/modification for consideration?

2006-05-07 Thread Eric Arnold
Can I assign to v:getchar a string like \F1 ? Yes Assuming it is translated to a 3 byte func key string in the context you use it,

Vim 7 pre-announcement

2006-05-07 Thread Bram Moolenaar
Vim 7 is out! Before announcing it everywhere I'll wait until the Subversion repository has it. And I need to update the website. Since version 7.0g BETA quite a few things changed. Too many perhaps, but I can't postpone the release any longer. Hopefully the last-minute changes don't cause

Re: QuickFixCmdPost

2006-05-07 Thread Eric Van Dewoestine
On 4/24/06, Eric Van Dewoestine [EMAIL PROTECTED] wrote: I'll move it then. Please try it out with the next snapshot. Appears to be working as expected. Actually, I've found one small issue with this... If the executed make command results in one or more errors added to the quickfix, and

Change wildmode w/ 'longest' to be behave like completeopt w/ 'longest'

2006-05-07 Thread Eric Van Dewoestine
When starting vim as follows vim -u NONE -c set nocompatible | set wildmenu | set wildmode=longest:full,full if you perform :eTab you get a list of commands starting with 'e' and the command line is unchanged (still only contains 'e'). The only issue, is that the first entry in the list is

Re: QuickFixCmdPost

2006-05-07 Thread Eric Van Dewoestine
Do you mean that the autocommand removes all matches? Well, somehow I think it's good to give the message then. But perhaps it's just another execuse to give this deep error message :-). Yes, the autocommand may remove all entries from the quickfix list. My underlying issue is that I run

Re: Vim 7 pre-announcement

2006-05-07 Thread Bill McCarthy
On Sun 7-May-06 10:58am -0600, Bram Moolenaar wrote: Vim 7 is out! Congratulations! I looked at the release area and noticed that the vim70 tree for Windows is still different from what is available by CVS or SVN. This remains a minor inconvenience for Windows users - either we use CVS (or

Re: Vim 7 pre-announcement

2006-05-07 Thread Bram Moolenaar
Bill McCarthy wrote: I looked at the release area and noticed that the vim70 tree for Windows is still different from what is available by CVS or SVN. This remains a minor inconvenience for Windows users - either we use CVS (or SVN with its unix text files) and copy over to a separate

Re: Behavior of synIDattr() varies

2006-05-07 Thread Yakov Lerner
`On 5/8/06, Thomas Haselwanter [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 5/6/06, Thomas Haselwanter [EMAIL PROTECTED] wrote: Hi, Vims excellent script support just asks to be exploited, and I am in the process of putting 2html.vim to use. I have been getting different results from

Re: Vim 7 pre-announcement

2006-05-07 Thread Gautam Iyer
On Sun, May 07, 2006 at 05:58:08PM +0200, Bram Moolenaar wrote: Before announcing it everywhere I'll wait until the Subversion repository has it. And I need to update the website. Ooh. Subversion repository! Thanks using the SourceForge subversion facilities. The CVS is *still* broken, and

Re: Vim 7 pre-announcement

2006-05-07 Thread Linsong
Bram Moolenaar wrote: Vim 7 is out! Thanks for you guys's excellent work! Vim has saved me a lot and now vim7 is even better! I wish vim becoming better and better! Thanks again! :) Best regards, Vincent

Newbie problem: Beginners script pitfall

2006-05-07 Thread Meino Christian Cramer
Hi, WARNING ! VAST DANGER ! NEWBIE QUESTION AHEAD ! :) I got stuck! I read several times user_40.txt and user_41.txt but can't figure out, why my very very basic script simply does nothing. It is a very very verbose implemention of the NOOP-command, I fear. It even does not display an

Re: lines folding by pattern ; was Re: hiding lines

2006-05-07 Thread Yakov Lerner
On 5/7/06, Bill Pursell [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 5/6/06, Bill Pursell [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 5/4/06, Jack Donohue [EMAIL PROTECTED] wrote: :v (and :g) made my day..! Yes, I use this a lot if I just want to filter out a set of lines,

The :hi MatchParen situation

2006-05-07 Thread Yakov Lerner
# This mail has correct subject. Please ignore my other email # with weird subject. It was some cutpaste error. I am changing and trying different of colors for 'hi MatchParen' , and inevitably I get into this problem: I get into situation when the paren is *already* that color!!! and thus

Re: Enhanced inputdialog() as for input mechanisms of i_CTRL-N, z= etc.

2006-05-07 Thread Eric Arnold
I'm not sure I understand. Have you looked at writing you own [omni]completion function? On 5/7/06, Suresh Govindachar [EMAIL PROTECTED] wrote: On May 06, 2006, I asked: ... how to access the user-input mechanisms used by i_CTRL-N, z=, i_CTRL-X_CTRL-S etc. from within VimL? I

RE: Enhanced inputdialog() as for input mechanisms of i_CTRL-N, z= etc.

2006-05-07 Thread Suresh Govindachar
Starting with :help omni-completion showed me what I was looking for. Thanks, --Suresh -Original Message- From: Eric Arnold [mailto:[EMAIL PROTECTED] Sent: Sunday, May 07, 2006 8:24 AM To: Suresh Govindachar Cc: vim@vim.org Subject: Re: Enhanced inputdialog() as for input

Re: Bugs with set += and with set -= for spellsuggest.

2006-05-07 Thread Bram Moolenaar
Suresh Govindachar wrote: Bugs with set += and with set -= for spellsuggest. 1) When :set spellsuggest? showed best, the following generates E474 error :set spellsuggest+=10 :set spellsuggest=best,10 was accepted and did work (tested with z=). 2)

Re: How to reject all spell suggestions?

2006-05-07 Thread Bram Moolenaar
Suresh Govindachar wrote: After doing i_CTRL-X_CTRL-S, how can one reject all the suggestions? The only way I know is to accept some suggestion and then to do an undo. CTRL-E Is there an option to have the existing word be the first word in the list of suggestions?

RE: How to reject all spell suggestions?

2006-05-07 Thread Suresh Govindachar
Bram Moolenaar wrote: Suresh Govindachar wrote: After doing i_CTRL-X_CTRL-S, how can one reject all the suggestions? The only way I know is to accept some suggestion and then to do an undo. CTRL-E Doesn't work (version 7.0g04) -- does the same thing

RE: Commenting out a block of text

2006-05-07 Thread Gerald Lai
On Sun, 7 May 2006, Peter Slizik wrote: Use \t for a normal tag wrap. Use \T for a markup tag wrap of the form a../a. Dear Gerald, seems that \t and \T do the same thing. After a quick look at the source, I think you intended to support /* */ and HTML tags differently. For me, both

Re: Newbie problem: Beginners script pitfall

2006-05-07 Thread Gerald Lai
On Sun, 7 May 2006, Meino Christian Cramer wrote: Hi, [snip] OK, if you're just starting out, before writing scripts, you would need to jump through a few hoops first. Please pardon me if you are already familiar with what I'm about to write. I'm just taking it from the top. First, get

Re: Squelching DOS Window Swap File on SCP Transfer

2006-05-07 Thread Yakov Lerner
On 5/7/06, Max Cantor [EMAIL PROTECTED] wrote: Hi all, I'm sure this has been brought up before because I remember reading it, but I don't remember the solution (if there was one). I'm successfully editing my remote files locally using the SCP net plugin, but whenever I write a file, I have two

Re: Newbie problem: Beginners script pitfall

2006-05-07 Thread Eric Arnold
On 5/7/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: Gerald Lai [EMAIL PROTECTED] Subject: Re: Newbie problem: Beginners script pitfall Date: Sun, 7 May 2006 12:08:46 -0700 (PDT) Hi, thanks a lot for the help! I got the script running...nearly. In my opinion the help system of

Re: Retain display after :%g

2006-05-07 Thread Eric Arnold
On 5/7/06, Suresh Govindachar [EMAIL PROTECTED] wrote: Hello, After the following command, :let i=0 | %g/^/let i+=1 :let i=0 | %g/^/let i+=1 | '' or :let i=0 | %g/^/let i+=1 | '` which jumps to the last position mark. the display changes to show the very last

Re: Newbie problem: Beginners script pitfall

2006-05-07 Thread Eric Arnold
I got an ezmlm warning, so I'm resending. -- Forwarded message -- From: Eric Arnold [EMAIL PROTECTED] Date: May 7, 2006 10:21 PM Subject: Re: Newbie problem: Beginners script pitfall To: Meino Christian Cramer [EMAIL PROTECTED] Cc: vim@vim.org On 5/7/06, Meino Christian Cramer

Re: Retain display after :%g

2006-05-07 Thread Eric Arnold
Hmm, what is up with the vim.org mailer daemon? I can't see anything wrong with this message. Hello, After the following command, :let i=0 | %g/^/let i+=1 :let i=0 | %g/^/let i+=1 | '' or :let i=0 | %g/^/let i+=1 | '` which jumps to the last position mark. the