Re: Minor highlight problem with blockwise visual selection

2006-11-29 Thread Guopeng Wen
Bram Moolenaar wrote: Guopeng Wen wrote: I found that vim could highlight text incorrectly in blockwise visual selection when the selection in performed in reversed order. The problem can be replicated like this: 1. Start vim without loading anything (follows Gary's instruction): vim

Re: Why vta doesn't work when a is one character away?

2006-11-29 Thread Fan Decheng
A.J.Mechelynck wrote: Bill McCarthy wrote: On Mon 27-Nov-06 9:39pm -0600, A.J.Mechelynck wrote: [EMAIL PROTECTED] wrote: For example, the word Cat When the cursor is on C, and I press vta, the cursor doesn't move. However, if I press vtt, it moves two characters to the right. Is this an

RE: Debugging errorformat strings

2006-11-29 Thread Eggum, DavidX S
Hugh, Vim will use the first matching pattern in your efm, so put the more specific patterns at the beginning, the more general patterns at the end. So try putting the new lines at the front of the efm: \%E%f:%l:\ multiple\ definitions\ of\ %m, \%Z%*\\s:%f:%l:\ first\ defined\

RE: Debugging errorformat strings

2006-11-29 Thread Hugh Sasse
On Wed, 29 Nov 2006, Eggum, DavidX S wrote: Hugh, Vim will use the first matching pattern in your efm, so put the more specific patterns at the beginning, the more general patterns at the end. So try putting the new lines at the front of the efm: OK, so how does that interact with

Re: Calendar ?

2006-11-29 Thread Robert Hicks
Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? Robert

Re[2]: How to avoid highlighting identifiers as misspelt words?

2006-11-29 Thread Vadim Zeitlin
On Wed, 29 Nov 2006 09:07:40 +0800 [EMAIL PROTECTED] wrote: E.g. if I have // function foo() does whatever it does ~~~ void foo() { ... } Generally, it is not a good practice to use // or /* */ to comment out codes. (a better approach might be #if

Re: How can I disable variable show in taglist plugin ?

2006-11-29 Thread Yegappan Lakshmanan
Hi, On 11/29/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: Hi, When I code my php script I use Taglist plugin. Taglist is very useful but I want only see the functions. I don't want see the variables. Taglist has this feature ? If yes, how can I enable it ? Add the following line to your

Re: Disabling *system-wide* plugins

2006-11-29 Thread Gary Johnson
On 2006-11-29, DervishD [EMAIL PROTECTED] wrote: Hi all :) I want to be able to NOT load the plugins in my system-wide runtime directory, and instead loading my own set of plugins, and only those. So far, I know that set noloadplugins will do the job, partially. This won't load the

Re: Disabling *system-wide* plugins

2006-11-29 Thread A.J.Mechelynck
DervishD wrote: Hi all :) I want to be able to NOT load the plugins in my system-wide runtime directory, and instead loading my own set of plugins, and only those. So far, I know that set noloadplugins will do the job, partially. This won't load the default plugins in the

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? Robert If 'statusline' is nonempty, your custom status line will show on all status lines, for all

Re: How to avoid highlighting identifiers as misspelt words?

2006-11-29 Thread A.J.Mechelynck
Vadim Zeitlin wrote: On Wed, 29 Nov 2006 09:07:40 +0800 [EMAIL PROTECTED] wrote: E.g. if I have // function foo() does whatever it does ~~~ void foo() { ... } Generally, it is not a good practice to use // or /* */ to comment out codes. (a better approach

Re: Problem with VCSCommand

2006-11-29 Thread A.J.Mechelynck
Joakim Olsson wrote: True. Sorry for being a bit brief. :-D None of the VCS-commands for CVS seems to work. The actual command I tried for the output below was from the VCSVimDiff-command which diffs the current buffer with the latest revision from the CVS-tree (or a specific revision that is

Re: Encryption issue with Gvim 7 on Windows XP!

2006-11-29 Thread Bram Moolenaar
Life Jazzer wrote: Regarding my question previously why Vim does not prompt for encryption when opening via `Edit with Vim` option available by right click on the file from Windows Explorer, I think I have found out why. In my _vimrc file, I put a line to remove the toolbar by running

Re: Calendar ?

2006-11-29 Thread Bill McCarthy
On Wed 29-Nov-06 11:40am -0600, Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? You can have a local status line for those windows. Perhaps something

Re: Calendar ?

2006-11-29 Thread Bill McCarthy
On Tue 28-Nov-06 10:58am -0600, Charles E Campbell Jr wrote: AsNeeded doesn't set up transparent map use; my reasoning is that one may wish to have several plugins which have conflicting maps. Often one only wants to run one such plugin at a time. In particular, the cvscommand plugin and

Re: Problem with VCSCommand

2006-11-29 Thread Joakim Olsson
Hmmm...True...But the strange thing is that it has been working for quite a while and suddenly it stopped working. I have probably changed something in my environment to cause this but I can't figure out what that something is. Hmmm...Now that I think about it I have actually upgraded Cygwin

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Bill McCarthy wrote: On Wed 29-Nov-06 11:40am -0600, Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? You can have a local status line for those windows.

Re: Calendar ?

2006-11-29 Thread Bill McCarthy
On Tue 28-Nov-06 11:13am -0600, Charles E Campbell Jr wrote: BTW, here's what I use in my .vimrc to allow cvscommand and Calendar to co-exist: cvscommand {{{2 nmap Leadercva PlugCVSAdd nmap Leadercvn PlugCVSAnnotate nmap Leadercvc PlugCVSCommit nmap Leadercvd PlugCVSDiff nmap Leadercve

Re: How can I disable variable show in taglist plugin ?

2006-11-29 Thread KLEIN Stéphane
2006/11/29, Yegappan Lakshmanan [EMAIL PROTECTED]: Hi, On 11/29/06, KLEIN Stéphane [EMAIL PROTECTED] wrote: Hi, When I code my php script I use Taglist plugin. Taglist is very useful but I want only see the functions. I don't want see the variables. Taglist has this feature ? If yes, how

Pasting blockwise selections

2006-11-29 Thread Chris Smith
Hi Everyone, I'm new on the mailing list so please let me know if there's conventions I should be following or something that I'm not doing when posting here. My question is in regards to pasting chunks of text that have been copied from blockwise selections in gvim. In gvim 6.x, when I paste a

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Bill McCarthy wrote: On Wed 29-Nov-06 3:19pm -0600, you wrote: Bill McCarthy wrote: On Wed 29-Nov-06 11:40am -0600, Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? I confirm this: :echo (\xe4

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
A.J.Mechelynck wrote: mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if \xe4==\xe4 fails. I test it using: if \xe4==\xe4 echo test endif but I got nothing output, why ? I confirm this:

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread mbbill
Hello A.J.Mechelynck, Thursday, November 30, 2006, 1:15:14 PM, you wrote: ?A.J.Mechelynck wrote: ?mbbill wrote: ?I met a very strange problem recently, that is ?when I set the following options: ?set encoding=utf-8 ?set ignorecase ?then the expression: if \xe4==\xe4 fails. ?I test it using: ?if

Tutorial on mapping keys in Vim

2006-11-29 Thread Yegappan Lakshmanan
Hi all, I have created a tutorial on mapping keys in Vim. http://www.geocities.com/yegappan/vim_maps_tutorial.txt This tutorial describes mode specific maps, key notations, tips about maps in various modes, etc. Let me know if you have any comments or suggestions on improving this tutorial.

Re: if \xe4==\xe4 failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: Hello A.J.Mechelynck, Thursday, November 30, 2006, 1:15:14 PM, you wrote: ?A.J.Mechelynck wrote: ?mbbill wrote: ?I met a very strange problem recently, that is ?when I set the following options: ?set encoding=utf-8 ?set ignorecase ?then the expression: if \xe4==\xe4 fails. ?I

Re: Problem with VCSCommand

2006-11-29 Thread Joakim Olsson
Hi again, I solved the problem by setting shell to cmd.exe in my .vimrc. The problem stems from the fact that I set the SHELL environment variable to /usr/bin/bash to make rxvt work for Cygwin. Vim sees that and set shell to the same value of course. Thanks again. /Joakim Hmmm...True...But

Re[2]: if \xe4==\xe4 failes,why?

2006-11-29 Thread mbbill
Hello A.J.Mechelynck, Thursday, November 30, 2006, 3:13:57 PM, you wrote: ?In all 8-bit encodings, \xe4 is (IIUC) whatever is represented in that ?encoding by the byte 0xe4, which is usually a valid character. In Unicode ?(always internally UTF-8 in Vim) 0xE4 is not a valid character, unless it