patch: automatically enter paste mode

2006-09-12 Thread Ian Kilgore
Pasting code into vim and forgetting to set paste can have annoying results. This patch detects the 'really fast typing' that happens when something is pasted in, and turns on paste mode. It provides an option 'autopaste' (default false) which controls the behavior. Patch is attached. Hope this

Bug or feature? CursorLine/CursorColumn hihlights vs. other highlights

2006-09-12 Thread A.J.Mechelynck
I have enabled CursorLine and CursorColumn highlights as follows: (~/.vimrc): [...] colorscheme almost-default [...] if exists("+cursorcolumn") set cuc cul endif [...] (~/.vim/colors/almost-default.vim): [...] if has("gui_running")

Re: Patch 7.0.096

2006-09-12 Thread Hari Krishna Dara
On Tue, 12 Sep 2006 at 1:56pm, A.J.Mechelynck wrote: > Hari Krishna Dara wrote: > [...] > > Yes, that is what I am doing. Is fnamemodify() an expensive operation > > involving OS calls? > > > > From the description of what it does, fnamemodify() _seems_ to involve > only string manipulation, pos

Patch 7.0.101

2006-09-12 Thread Bram Moolenaar
Patch 7.0.101 Problem:When the "~/.vim/spell" directory does not exist "zg" may create a wrong directory. "zw" doesn't work. Solution: Use the directory of the file name instead of NameBuff. For "zw" not only remove a good word but also add the word with "!". Files:

Re: Patch 7.0.096

2006-09-12 Thread Bram Moolenaar
Hari Krishna Dara wrote: > > > I could always explicitly do a fnamemodify() on each of the files, > > > so it is not a big deal, but I am wondering how efficient > > > fnamemodify() is, if it involves simple string manipulation or OS > > > calls. > > > > Normally relative file names work just fin

Re: Patch 7.0.094

2006-09-12 Thread Marvin Renich
* Bram Moolenaar <[EMAIL PROTECTED]> [060909 08:53]: > > Patch 7.0.094 > Problem:When a hidden buffer is made the current buffer and another file > edited later, the file message will still be given. Using > ":silent" also doesn't prevent the file message. (Marvin Renich)

Re: Possible addition to the c.vim and perl.vim syntax files

2006-09-12 Thread mwoehlke
Mike Williams wrote: mwoehlke did utter on 11/09/2006 18:37: Mike Williams wrote: mwoehlke did utter on 11/09/2006 17:44: Bram Moolenaar wrote: I don't know what the rules are in all kinds of C, but at least things like 0x0L, 0x0u, 0x0UL are valid. Using a match instead of region would be si

Re: Patch 7.0.096

2006-09-12 Thread A.J.Mechelynck
Hari Krishna Dara wrote: [...] Yes, that is what I am doing. Is fnamemodify() an expensive operation involving OS calls? From the description of what it does, fnamemodify() _seems_ to involve only string manipulation, possibly checking $HOME and/or the current window's current directory depe

Anim8or scripting language.

2006-09-12 Thread Hugh Sasse
There is a free, but not open source, 3d modelling package called Anim8or at http://www.anim8or.com/ which, in the new beta release has a scripting language. Anim8or also has modelling files, so there are really two different syntaxes associated with this. The modelling files are something I ha

Re: Binary, Octal, Decimal, Hex!

2006-09-12 Thread A.J.Mechelynck
Mark Manning wrote: Yakov Lerner wrote: On 9/11/06, Mark Manning <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 9/11/06, Mark Manning <[EMAIL PROTECTED]> wrote: > >> It is fairly easy to check for inconsistencies in Binary, Octal, and Hex > > > I'm afraid C does not notion of binary n

Re: Possible addition to the c.vim and perl.vim syntax files

2006-09-12 Thread Mike Williams
mwoehlke did utter on 11/09/2006 18:37: Mike Williams wrote: mwoehlke did utter on 11/09/2006 17:44: Bram Moolenaar wrote: I don't know what the rules are in all kinds of C, but at least things like 0x0L, 0x0u, 0x0UL are valid. Using a match instead of region would be simpler. If one takes