Re: problem in understading 0tag usage

2006-06-28 Thread Yegappan Lakshmanan
Hello, On 6/27/06, SHANKAR R-R66203 [EMAIL PROTECTED] wrote: Hi All, I am using tags heavily. 0tags command seems to not work properly. Let me explain the problem: When I type tags, the following is printed by VIM. # TO tag FROM line in file/text 1 1 mcu_mac7201 1

Re: problem in understading 0tag usage

2006-06-28 Thread Yegappan Lakshmanan
Hi, On 6/27/06, SHANKAR R-R66203 [EMAIL PROTECTED] wrote: If I type :tag I get the following Error Message. E562: usage: cstag ident It looks like you are using cscope and not a tags file for doing the tag jumps. Some of the tags commands doesn't work properly with the cscope interface.

Re: foldmethod=marker confusing brace matching syntax highlighting?

2006-06-28 Thread Kamil Kisiel
On 6/27/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Kamil Kisiel wrote: I've started using foldmethod=marker for folding in my C++ source files. Usually it works okay, but I find that several times a day the syntax highlighting seems to get confused and start highlighting braces after a

:sh doesn't open shell window

2006-06-28 Thread stri ker
I am using version 7 on Mac OS X. When I open a shell with :sh, Vim only runs a single command line at the bottom of the screen. In previous versions and on my Windows box the :sh command opens a new shell window. In addition, the 'clear' command doesn't clear and redraw the screen.

Re: :sh doesn't open shell window

2006-06-28 Thread A.J.Mechelynck
stri ker wrote: I am using version 7 on Mac OS X. When I open a shell with :sh, Vim only runs a single command line at the bottom of the screen. In previous versions and on my Windows box the :sh command opens a new shell window. In addition, the 'clear' command doesn't clear and redraw the

current command in the status line

2006-06-28 Thread Zbigniew Kowalski
Dear vimmers, By default a current command (the one that is being typed in) is displayed in the status line and it disappears as soon as the last character is typed. So if you do: k4yy you'll see k4y, since the last y executes the command. Is it possible to make the _whole_ command stay for

RE: problem in understading 0tag usage

2006-06-28 Thread SHANKAR R-R66203
Hi Thanks for your input. I am not using ctags for sure. Somewhere I have set cscopetags option. When set nocst, then :tag Works properly. I have to find out in which file, this option is set. I tried using :verbose set cst But,this returned nothing. I

Re: problem in understading 0tag usage

2006-06-28 Thread Jürgen Krämer
Hi, SHANKAR R-R66203 wrote: I am not using ctags for sure. Somewhere I have set cscopetags option. When set nocst, then :tag Works properly. I have to find out in which file, this option is set. I tried using :verbose set cst But,this returned

Re: problem in understading 0tag usage

2006-06-28 Thread A.J.Mechelynck
SHANKAR R-R66203 wrote: Hi Thanks for your input. I am not using ctags for sure. Somewhere I have set cscopetags option. When set nocst, then :tag Works properly. I have to find out in which file, this option is set. I tried using :verbose set cst

Re: :sh doesn't open shell window

2006-06-28 Thread A.J.Mechelynck
Chris Sutcliffe wrote: It isn't possible to run a shell inside a Vim window, and it never was, see :help shell-window. I think what Kevin was referring to was that :sh used to spawn a separate shell window for him, such as vim on Windows spawning cmd.exe. I believe this is controlled by the

Authors

2006-06-28 Thread Seweryn Habdank-Wojewódzki
Hi I'am making investigations how many people are working in different Open Source projects. I will be greatful if I can know how many people have made a code of vim (in the past and now). I have found 23 names of persons in files, but I suppose that there is more. Regards. -- |\/\/|

Re: :mkspell failed ?

2006-06-28 Thread Bram Moolenaar
Mark Chantreux wrote: After reading the doc, i tried to generate my own .spl for french lang. so i typed : :mkspell ~/.vim/spell/fr /usr/share/myspell/dicts/fr.aff vim answer me : Reading word file /usr/share/myspell/dicts/fr.aff ... Compressing word tree... Compressed 10897 of

Re: paste formatting

2006-06-28 Thread Yakov Lerner
On 6/28/06, Bill Pursell [EMAIL PROTECTED] wrote: Yesterday, a bizarre thing happened that I have not been able to replicate, and I'm hoping someone can tell me a) exactly what I might have done, and b) how to avoid it in the future. I had a mostly empty function definition: void foo(void) {

Re: Quickfix/errorformat setting

2006-06-28 Thread Howard Jess
A.J.Mechelynck wrote: Howard Jess wrote: A.J.Mechelynck wrote: What about :set errorformat=%m[%f:%l:%v]%r Sorry; I'm using Vim 6.3; it says: E373: Unexpected %r in format string Perhaps this is a new feature in 7.0?? I dunno. I've junked 6.3 when 6.4 came around, and

PHP fold html

2006-06-28 Thread Silent1
i added this to the default php syntax file so i can create folds with //{{{ //}}} anywhere in my php. syn region phpParent matchgroup=Delimiter start=//{{{ end=//}}} contained [EMAIL PROTECTED],phpFoldHtmlInside transparent fold It works great but i would like to fold html sections

Re: problems with containedin=

2006-06-28 Thread Yakov Lerner
On 6/28/06, Mojca Miklavec [EMAIL PROTECTED] wrote: \startpublication \author % highlited differently ... \stoppublication \author % highlited just as every other command. syn match contextBibField '\\\(artauthor\|author\|editor\)\' display containedin=contextBib syn region

Re: problems with containedin=

2006-06-28 Thread Mojca Miklavec
On 6/29/06, Yakov Lerner wrote: On 6/28/06, Mojca Miklavec wrote: \startpublication \author % highlited differently ... \stoppublication \author % highlited just as every other command. syn match contextBibField '\\\(artauthor\|author\|editor\)\' display containedin=contextBib

Re: PHP fold html

2006-06-28 Thread Peter Hodge
Hi, You can achieve this by setting setting foldmethod=marker, which automatically creates folds at all {{{ and }}} pairs. See :help fold-marker for more information. Adding to the syntax file should not be necessary. regards, Peter --- Silent1 [EMAIL PROTECTED] wrote: i added this to

Re: couple of debug mode issues

2006-06-28 Thread Yegappan Lakshmanan
Hi Hari, On 6/28/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I am seeing a couple of issues with debug mode. - In debug mode, the getcmdtype() is supposed to return '', but it returns empty string. This is not a big issue, in case it works as expected in all other modes, as I can treat

Matchparen highlight bug?

2006-06-28 Thread Mikolaj Machowski
Hello, Create empty file, enter {}, :new, cursor is in new window but parens are still highlighted. This example isn't extreme but when returning to previous window in many colorschemes it makes hard to notice where cursor is. This chunk fixes that: function RmMH() if

Re: Matchparen highlight bug?

2006-06-28 Thread Bram Moolenaar
Mikolaj Machowski wrote: Create empty file, enter {}, :new, cursor is in new window but parens are still highlighted. Every window has a cursor position, even though only one is really active. Thus the highlighting isn't wrong. This example isn't extreme but when returning to previous

Re: vim7 repeats ';' and ',' not working for till 't' and 'T'

2006-06-28 Thread Benji Fisher
On Tue, Jun 27, 2006 at 04:23:36PM -0700, Mike Li wrote: in normal mode, ';' and ',' are not working to repeat the last till commands (i.e. 't' and 'T'), though they do seem to work for find commands (i.e. 'f' and 'F'). i see this for both the win32 vim7 binaries and FC5 builds from vim7 svn

Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Mikolaj Machowski
Dnia środa, 28 czerwca 2006 22:07, Jochen Baier napisał: i think a command like cbefore or croot could be usefull. using this command after a quickfix trip (vimgrep, Doesn't c-o fulfill your request? m.

Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Nikolai Weibull
On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote: On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote: Dnia ?roda, 28 czerwca 2006 22:07, Jochen Baier napisa?: i think a command like cbefore or croot could be usefull. using this command after a quickfix trip (vimgrep,

Re: Proposal: New command/feature for quickfix

2006-06-28 Thread Yegappan Lakshmanan
Hi, On 6/28/06, Nikolai Weibull [EMAIL PROTECTED] wrote: On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote: On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote: Dnia ?roda, 28 czerwca 2006 22:07, Jochen Baier napisa?: i think a command like cbefore or croot could be