Re: BUG: wrong recognition of words in Vim7.1b on Windows
Dnia poniedziaĆek 21 maj 2007, Bram Moolenaar napisaĆ: > That "@" means that Vim uses the library function isalpha(). Apparently > your environment is not setup properly for isalpha() to work with your > encoding cp1250. Thus that is a problem with your > library/system/environment. Well, I installed Vim on three MS-Windows XP machines coming from different vendors and everywhere was that bug. Looks like classic example of: 1. MS-Windows is always right 2. If MS-Windows is wrong see 1. m. -- The world really isn't any worse. It's just that the news coverage is so much better.
Re: Wish: col("^")
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Nikolai Weibull schrieb: > On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: > > ... get position of first non-blank character in the line. > > If there is col("$"), there should also be col("^"). > > In some situations (e.g. :imap ) > >:normal ^ > > is not allowed. > Then shouldn't there also be a col("0") for symmetry? Of course! For symmetry, also col("|") should be added. ;-) nikolai
Re: Wish: col("^")
Nikolai Weibull schrieb: On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. Then shouldn't there also be a col("0") for symmetry? nikolai Of course! For symmetry, also col("|") should be added. -- Regards, Andy
Re: Wish: col("^")
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. Then shouldn't there also be a col("0") for symmetry? nikolai
Re: Wish: col("^")
Andy Wokula schrieb: Gary Johnson schrieb: On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. indent(".")? HTH, Gary Nice, just forgot about indent(). Probably col("^") would be exactly the same as indent(".")+1 and therefore redundant. Oops this was slightly wrong. Probably virtcol("^") would be exactly the same as indent(".")+1 (indent(".") counts virtual columns). col("^") could still have its uses. -- Regards, Andy
Re: Wish: col("^")
Gary Johnson schrieb: On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. indent(".")? HTH, Gary Nice, just forgot about indent(). Probably col("^") would be exactly the same as indent(".")+1 and therefore redundant. -- Regards, Andy
Re: Wish: col("^")
On 2007-05-21, Andy Wokula <[EMAIL PROTECTED]> wrote: > ... get position of first non-blank character in the line. > > If there is col("$"), there should also be col("^"). > In some situations (e.g. :imap ) >:normal ^ > is not allowed. indent(".")? HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Mobile Broadband Division | Spokane, Washington, USA
Re: Wish: col("^")
On 5/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: ... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. ... but you can call your function, remember position/columns, do ':normal ^', get column, restore position, return the columns of the ^ ? Yakov
Wish: col("^")
... get position of first non-blank character in the line. If there is col("$"), there should also be col("^"). In some situations (e.g. :imap ) :normal ^ is not allowed. -- Regards, Andy EOM
doc bug: 'browsedir'
In *options.txt* For Vim version 7.1. Last change: 2007 May 11 under 'browsedir', at line 1151, there is: {not in Vi} {only for Motif and Win32 GUI} Actually, this option is functional in my GTK2/Gnome GUI. Best regards, Tony. -- The day after tomorrow is the third day of the rest of your life.