Re: Documentaion bug: List of helpfiles

2006-06-16 Thread Bram Moolenaar
Tony Mechelynck wrote: Documentation bug: In *help.txt*For Vim version 7.0. Last change: 2006 May 07 Under standard plugins, at lines 191-196, pi_spec.txt and pi_vimball.txt are not mentioned. I haven't checked the helpfile names other than pi_*.txt pi_spec.txt is about a

Re: Minor bug: Crash of the win32 gui version under network start

2006-06-16 Thread Bram Moolenaar
Anatoli Sakhnik wrote: The gui-enabled win32 version of Vim-7.0 crashes when I try to launch it on a network drive. Actually, I have Vim-7.0 installed on my Windows XP host, and try to execute it without copying on Windows 2000 guest. On the guest I mapped a network path where the Vim was

Re: search count from visual mode

2006-06-16 Thread Mathias Michaelis
Hi Gerald For instance, with map F2 / hitting 3 + F2 will have the search do with a count of 3 (taken from v:count and v:count1). How would we have it so it takes from g:mycount instead? What about: :map expr F2 . g:mycount . / With best regards Mathias

Re: Makefile indentation with spaces for line continuation

2006-06-16 Thread Eric Arnold
If you want to flag errors, why not use highlighting? Actually, the makefile syntax I'm seeing already highlights correct backslashes. So, in general, you know there is an error if the code/text isn't colored right. I don't see a way to tell Vim to indent with tabs sometimes and not others.

Re: Newbie notation question: hotkeys

2006-06-16 Thread Yakov Lerner
On 6/16/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: ex: in describing hotkeys, they use: ... \cl Line End Comment \cf Frame Comment \cu Function Description \ch File Header (*.pl) I believe the backslash represents a backslash. Indeed. The rare

Re: Makefile indentation with spaces for line continuation

2006-06-16 Thread John Orr
Thanks Eric. I don't know that I explained myself that well - if the code is this: foo.o : foo.c tab the command to build foo.o starts here but \ spaces the command is long then vim's syntax highlighting will flag an error if the backslash is lost, because this is invalid: foo.o : foo.c tab

Re: CVS service resumed?

2006-06-16 Thread Bram Moolenaar
Chris Sutcliffe wrote: In terms of getting the latest and greatest source, is the Subversion repository generally the 'main' source with the cvs repository being updated from there? Or is it now that CVS is more or less in working order again at SF will it become the 'main' source? The CVS

Re: Can not run any command with ! in W2K

2006-06-16 Thread Bram Moolenaar
Mathias Michaelis wrote: If I do :!dir a console opens and says: C:\WINNT\system32\CMD.EXE /c dir shell returned -1 2) If 1) doesn't help, you may want to produce the phenomena outside of vim. Open a cmd-window and type something like path\to\vim\vimrun.exe

Re: Bug with gU and German sharp s?

2006-06-16 Thread Bram Moolenaar
Jürgen Krämer wrote: can anybody confirm this misbehaviour in VIM 7.0: Starting gvim -u NONE -U NONE and typing iStraßenesc0gUe results in STRASSEn (note the lower case 'n'). The same is true for iStraßenesc0veU It seems that after converting the sharp s to

Re: Can not run any command with ! in W2K

2006-06-16 Thread Mathias Michaelis
Bram I'm not sure perror() can be used in general after system(). Otherwise it makes sense. Thanks. Indeed I only checked the documentation of Visual Studio 2005 Visual Studio .NET Visual Studio 6.0 When making the patch. But by googling a little bit, I find firther indications that

RE: Inability to map C-N when completion popup is visible

2006-06-16 Thread David Fishburn
-Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 8:23 PM To: vim@vim.org Subject: Inability to map C-N when completion popup is visible I am trying to map C-N and C-P to behave differently when pumvisible() returns true, but

Re: VIM: map seq.s must be typed slowly

2006-06-16 Thread Thomas Mellman
I have discovered some interesting additional information about this problem: - The problem occurs with my mappings, e.g.: :map ]v * :map ]t ^t etc. - The problem does NOT occur with the following mappings: :map aa * :map )V * I can type this as fast as I want and it jumps to

Re: Makefile indentation with spaces for line continuation

2006-06-16 Thread Russell Bateman
I was unable to figure out how to do that. As the last line of my Makefile.am I always put: # vim: set tabstop=4 shiftwidth=4 noexpandtab: since, by default, these guys around me (I'm the new guy) like expandtab which, as you know, is problematic for makefiles. Best, Russ John Orr wrote:

Re: Bug with gU and German sharp s?

2006-06-16 Thread martin kraegeloh
hmm, well ... this is as buggy as the java String.toUpperCase() method ;-) oracle for example does it right and leaves the sharp s as it is - because there is no upper case variant of it. SQL select upper('straße') from dual; UPPER(' --- STRAßE my 2 cents, martin Bram Moolenaar wrote:

Re: ***SPAM*** Problem with regexp in macro

2006-06-16 Thread Charles E Campbell Jr
Gerald Lai wrote: On Thu, 15 Jun 2006, Sylvain wrote: [snip] I'm using setline() function to replace the line..so I will delete it before I add mine, it's not very elegant so if anyone has a better way, I will take it also :-) [snip] I modified Vimtip#329 some time ago to be able to swap

Re: Bug with gU and German sharp s?

2006-06-16 Thread Bram Moolenaar
Martin Kraegeloh wrote: hmm, well ... this is as buggy as the java String.toUpperCase() method ;-) oracle for example does it right and leaves the sharp s as it is - because there is no upper case variant of it. I'll leave it up to language specialists to decide whether making straße

Re: Bug with gU and German sharp s?

2006-06-16 Thread Christian Ebert
* Bram Moolenaar on Friday, June 16, 2006 at 17:24:20 +0200: I'll leave it up to language specialists to decide whether making straße uppercase should result in STRAßE or STRASSE. I thought it was STRASSE. Historic: STRASZE Now: STRASSE See: http://de.wikipedia.org/wiki/Versal-Eszett

Re: Indentations - possible Vim7 bug [PATCH]

2006-06-16 Thread Bram Moolenaar
Benji Fisher wrote: On Thu, May 18, 2006 at 10:20:38AM +, Dan Clarke wrote: Hi. I've just installed Vim 7. l use MS Windows. I've found a problems with the indentations. You can replicate it by doing the following ... - Copy a whole word into the clipboard. - In a C/C++

RE: Inability to map C-N when completion popup is visible

2006-06-16 Thread Hari Krishna Dara
On Fri, 16 Jun 2006 at 8:25am, David Fishburn wrote: -Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 8:23 PM To: vim@vim.org Subject: Inability to map C-N when completion popup is visible I am trying to map C-N and C-P

Making Omni Complete suggest but not complete

2006-06-16 Thread Jared Parsons
Is there any way to make omni complete popup a list of suggestions but not immediately add one of them to the buffer?  I find omni complete very useful but it's incredibly annoying that it auto-chooses one of the entries.  I'd prefer it popup the list of suggestions but not modify the buffer.  --

Re: Can not run any command with ! in W2K

2006-06-16 Thread Bram Moolenaar
Juan Lanus wrote: On 6/16/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Mathias Michaelis wrote: If I do :!dir a console opens and says: C:\WINNT\system32\CMD.EXE /c dir shell returned -1 2) If 1) doesn't help, you may want to produce the phenomena outside

RE: Inability to map C-N when completion popup is visible

2006-06-16 Thread Hari Krishna Dara
On Fri, 16 Jun 2006 at 11:25am, Max Dyckhoff wrote: I give up. The procedure you came up with works for other keys but not for C-N (and possibly C-P as well). The function doesn't even get called when completion popup is visible. Even for other keys where the function gets called, I made

Re: Making Omni Complete suggest but not complete

2006-06-16 Thread Hari Krishna Dara
On Fri, 16 Jun 2006 at 11:46am, Jared Parsons wrote: Is there any way to make omni complete popup a list of suggestions but not immediately add one of them to the buffer?  I find omni complete very useful but it's incredibly annoying that it auto-chooses one of the entries.  I'd prefer it

Re: Makefile indentation with spaces for line continuation

2006-06-16 Thread Gerald Lai
On Fri, 16 Jun 2006, John Orr wrote: [snip] Another alternative might be to enable expandtab (to get the spaces) and enter the tab characters explicitly - is there any easy way of inserting a tab character when expandtab is enabled? Yes. In Insert mode, you could either (a) hit Ctrl-v

Re: Bug with gU and German sharp s?

2006-06-16 Thread A.J.Mechelynck
Christian Ebert wrote: * Bram Moolenaar on Friday, June 16, 2006 at 17:24:20 +0200: I'll leave it up to language specialists to decide whether making straße uppercase should result in STRAßE or STRASSE. I thought it was STRASSE. Historic: STRASZE Now: STRASSE See:

Re: Bug with gU and German sharp s?

2006-06-16 Thread Mikolaj Machowski
Dnia piątek, 16 czerwca 2006 16:47, martin kraegeloh napisał: hmm, well ... this is as buggy as the java String.toUpperCase() method ;-) oracle for example does it right and leaves the sharp s as it is - because there is no upper case variant of it. I was thought that capital version of ß

Re: Bug with gU and German sharp s?

2006-06-16 Thread Mikolaj Machowski
Dnia piątek, 16 czerwca 2006 13:34, Bram Moolenaar napisał: I see the problem. I'll put it in the todo list. Sub-problem with ß. In latin2 'encoding' (where ß also exists) it isn't changed to SS. I think behaviour should be the same for all encodings. m.

Re: Vim7 : tags and tabpage

2006-06-16 Thread A.J.Mechelynck
SHANKAR R-R66203 wrote: Hi All, I am using tags very heavily. I am used to open the files in the same window or split window using tags. How to open a file for a tag under the cursor in a new tabpage. Regards, shankar :tab wincmd ] see :help :tab :help

Re: Vim7 : tags and tabpage

2006-06-16 Thread Yegappan Lakshmanan
Hi, On 6/16/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: SHANKAR R-R66203 wrote: Hi All, I am using tags very heavily. I am used to open the files in the same window or split window using tags. How to open a file for a tag under the cursor in a new tabpage. :tab wincmd ]

RE: Making Omni Complete suggest but not complete

2006-06-16 Thread Jared Parsons
I'm both working on a new plugin (C#) and using a couple of existing ones. I tried the hack of returning the original text as well. It works if you are using omni complete on demand. However I would like to add automatic omni complete after certain characters such as '.'. In that case you can't

RE: Making Omni Complete suggest but not complete

2006-06-16 Thread Hari Krishna Dara
On Fri, 16 Jun 2006 at 2:23pm, Jared Parsons wrote: I'm both working on a new plugin (C#) and using a couple of existing ones. I tried the hack of returning the original text as well. It works if you are using omni complete on demand. However I would like to add automatic omni complete

Re: Bug with gU and German sharp s?

2006-06-16 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia piątek, 16 czerwca 2006 13:34, Bram Moolenaar napisał: I see the problem. I'll put it in the todo list. Sub-problem with ß. In latin2 'encoding' (where ß also exists) it isn't changed to SS. I think behaviour should be the same for all encodings. m. In

RE: Making Omni Complete suggest but not complete

2006-06-16 Thread Jared Parsons
-Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 2:54 PM To: Jared Parsons Cc: vim@vim.org Subject: RE: Making Omni Complete suggest but not complete On Fri, 16 Jun 2006 at 2:23pm, Jared Parsons wrote: I'm both working on a

RE: Making Omni Complete suggest but not complete

2006-06-16 Thread Hari Krishna Dara
On Fri, 16 Jun 2006 at 3:04pm, Jared Parsons wrote: -Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 2:54 PM To: Jared Parsons Cc: vim@vim.org Subject: RE: Making Omni Complete suggest but not complete On Fri, 16 Jun