Re: New feature: cursor at the beginning of tab character in normal mode

2008-10-06 Fir de Conversatie Vladimir A . Pavlov

On Sat, 4 Oct 2008 at 02:37 Richard Hartmann wrote:

 I would suggest adapting the helpfiles to reflect the above, though.

I found the section called VIEWING TABS in the chapter 05.7 of the
standard vim manual. It contains the following:

 :set listchars=tab:-,trail:-

with the explanation what the setting does. However there is no
word concerning cursor position there. That chapter seems to be the
best place to write how to emulate the standard cursor behaviour
in vim. But:
1. it would be difficult for a novice who came from another editor
   to find that place and he/she won't probably find the solution of
   the problem. Are there better places?
2. is the solution in question correct on all platforms/terminals so
   that we are allowed to add such a comment to the help file? It
   works on x86 and x86_64 in xterm and linux terminals but what
   about others?

 Vladimir, I suspect Bram would accept a patch against the help.

Bram, would you?

--
Vladimir

--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: New feature: cursor at the beginning of tab character in normal mode

2008-10-06 Fir de Conversatie Richard Hartmann

2008/10/6 Vladimir A. Pavlov [EMAIL PROTECTED]:

 1. it would be difficult for a novice who came from another editor
   to find that place and he/she won't probably find the solution of
   the problem. Are there better places?

Agreed. But havin it _somewhere_ is better than nowhere.


 2. is the solution in question correct on all platforms/terminals so
   that we are allowed to add such a comment to the help file? It
   works on x86 and x86_64 in xterm and linux terminals but what
   about others?

As this is a UI thing and quite basic, I am willing to bet that it will
work everywhere.


 Bram, would you?

He is on holidays, don't expect a quick answer.
Richard

--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



hilinks and potentially other script bugs

2008-10-06 Fir de Conversatie Ben Schmidt

Hi, Chip and other script developers,

I have an old Vim 6 lying around I use in 'emergencies' and discovered that it 
chokes on the hilinks plugin and others. The problem seems to be the :for 
command. 
Vim 6, it seems, is unable to even skip over it when it's in an if version=700 
or 
such conditional, but throws up errors such as 'return not in function' or 
'endif 
without if'. Perhaps it sees the :endfor as ending some other block since it 
doesn't know about :for. Why it would do this, I don't know, but it seems to do 
something like that.

I don't know if there's a workaround, i.e. a way you can rewrite the plugin to 
still work on Vim 6 minus a few features. It would be nice if there were. But 
in 
lieu of that, I think scripts that use :for will need to :finish prematurely 
for 
Vim  7, as simply putting the :for in a conditional on the version doesn't 
work.

Ben.




--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---