Re: wish: allow a: in the function def

2007-04-24 Thread Andy Wokula
Thomas schrieb: Yakov Lerner schrieb: wish: allow a: in the function definition line: function foo(a:line1, a:line2) yeah, occasionally I do :setl isk+=: to get completion of variable names in vim scripts. I'd like to have this for function arguments, too. Counterwish: implement be

Re: wish: allow a: in the function def

2007-04-24 Thread Andy Wokula
Nikolai Weibull schrieb: On 4/24/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Thomas schrieb: > So maybe one could make vimscript search a variable foo as l:foo, a:foo, > (maybe also: w:foo, b:foo), s:foo, g:foo, and then throw an undefined > variable name error if non

Bug: windo and exceptions

2007-05-02 Thread Andy Wokula
GVim runs into an endless loop if I do the following: " clean startup :new " at least two windows :windo throw "foo" Error detected while processing : E605: Exception not caught: foo E605: Exception not caught: foo E605: Exception not caught: foo E605: Exc

Re: Bug: windo and exceptions

2007-05-02 Thread Andy Wokula
Bram Moolenaar schrieb: Andy Wokula wrote: GVim runs into an endless loop if I do the following: " clean startup :new " at least two windows :windo throw "foo" Error detected while processing : E605: Exception not caught: foo E605:

Wish: col("^")

2007-05-21 Thread Andy Wokula
... 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

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
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(&qu

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
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 ^

Re: Wish: col("^")

2007-05-21 Thread Andy Wokula
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 should

Re: Wish: filetype .txx files as cpp

2007-05-22 Thread Andy Wokula
Tomáš Kazmar schrieb: Hi, i am knew to this list so i apologise if this kind of suggestion is not welcome. Is it possible to have files with .txx extension included in the list of cpp files in filetype.vim like this: " C++ if has("fname_case") au BufNewFile,BufRead *.cxx,*.c++,*.C,*.H,*

Re: Wish: filetype .txx files as cpp

2007-05-22 Thread Andy Wokula
Tomáš Kazmar schrieb: # Users can define there own filetype.vim to detect additional filetypes. # Other places in the runtimepath are suited as well. Thanks for your answer but I am aware of this and have .vim/filetype.vim properly edited, just thought it would not break anything if vim worked

Crash with strftime()

2007-05-23 Thread Andy Wokula
Not nice: :echo strftime("%e") " %e - some undefined code I used by accident makes Vim crash. (GVim 7.0.235, Win32) -- Regards, Andy

Re: Wish: filetype .txx files as cpp

2007-05-23 Thread Andy Wokula
Tomáš Kazmar schrieb: # > # Users can define there own filetype.vim to detect additional filetypes. # > # Other places in the runtimepath are suited as well. # > # > Thanks for your answer but I am aware of this and have .vim/filetype.vim # > properly edited, just thought it would not break any

Re: Crash with strftime()

2007-05-23 Thread Andy Wokula
resting to have look at the crash from a debugger. -- Anatoli Sakhnik. On 23/05/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Not nice: :echo strftime("%e") " %e - some undefined code I used by accident makes Vim crash. (GVim 7.0.235, Win32) -- Regards, Andy Also no c

Re: Defining new visual-mode motions?

2007-06-01 Thread Andy Wokula
Joseph Barker schrieb: Hello, all. I was recently helping someone out with a vim script (camelcasemotion.vim) which adds additional motion commands (they treat camel-cased words (WordsLikeThis) as separate words, rather than as a single word). This is easy enough to do in normal and operator-

Re: Defining new visual-mode motions?

2007-06-02 Thread Andy Wokula
Joseph Barker schrieb: On Friday 01 June 2007 13:11:50 you wrote: Joseph Barker schrieb: Hello, all. I was recently helping someone out with a vim script (camelcasemotion.vim) which adds additional motion commands (they treat camel-cased words (WordsLikeThis) as separate words, rather than as

Re: Defining new visual-mode motions?

2007-06-02 Thread Andy Wokula
Yegappan Lakshmanan schrieb: Hi, On 6/2/07, Andy Wokula <[EMAIL PROTECTED]> wrote: Within a function (or script or Ex-mode), the visual area is not turned off between ex commands, because there is no actual mode switching ... IMHO. I don't know if this is mentioned