Re: what "feature" is required to return to last editing position?

2007-05-09 Thread Micah Cowan
[EMAIL PROTECTED] wrote: > Vincent BEFFARA <[EMAIL PROTECTED]> 写于 2007-05-09 23:54:27: >> Hi, Recently I installed Ubuntu Feisty and the "feature" seems to have > gone (I installed vim-gnome version 7.0.135). Since I use the same .vimrc in > all platform, it is unlikely to be the fau

Re: automatically enter normal mode

2007-05-09 Thread A.J.Mechelynck
John Little wrote: Hi all No one has mentioned the feedkeys() work-around (ahem, swallow) for this, if you want periodic events. For example, function! Timer() echo strftime("%c") let K_IGNORE = "\x80\xFD\x35" " internal key code that is ignored call feedkeys(K_IGNORE

Re: Blocking of "save"

2007-05-09 Thread A.J.Mechelynck
A.J.Mechelynck wrote: [EMAIL PROTECTED] wrote: Hi, is there a way to disabling the saveing and writing of/to a file and leaving of vim until a certain condition of the contents of the file is not given (in this case certain characters are not allowed as contents of the file)? The whole thi

Re: automatically enter normal mode

2007-05-09 Thread John Little
Hi all No one has mentioned the feedkeys() work-around (ahem, swallow) for this, if you want periodic events. For example, function! Timer() echo strftime("%c") let K_IGNORE = "\x80\xFD\x35" " internal key code that is ignored call feedkeys(K_IGNORE) endfunction

Re: Blocking of "save"

2007-05-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, is there a way to disabling the saveing and writing of/to a file and leaving of vim until a certain condition of the contents of the file is not given (in this case certain characters are not allowed as contents of the file)? The whole thing should only be activ

Blocking of "save"

2007-05-09 Thread meino . cramer
Hi, is there a way to disabling the saveing and writing of/to a file and leaving of vim until a certain condition of the contents of the file is not given (in this case certain characters are not allowed as contents of the file)? The whole thing should only be active for a C-/C++-Files. Tha

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread panshizhu
Vincent BEFFARA <[EMAIL PROTECTED]> 写于 2007-05-09 23:54:27: > Hi, > > >Recently I installed Ubuntu Feisty and the "feature" seems to have gone (I > > >installed vim-gnome version 7.0.135). Since I use the same .vimrc in all > > >platform, it is unlikely to be the fault of my .vimrc script, the prob

Re: [Fwd: Re: $HOME inconsistent in Windows?]

2007-05-09 Thread A.J.Mechelynck
Chris Sutcliffe wrote: Forward to list Sorry, forgot to check the To field in the reply... Cheers! Chris Next time, use "Reply to All" (or Reply to List if your mailer offers it). Best regards, Tony. -- George Orwell 1984. Northwestern 0. -- Chicago Reader 10/15/82

Re: [Fwd: Re: $HOME inconsistent in Windows?]

2007-05-09 Thread Chris Sutcliffe
Forward to list Sorry, forgot to check the To field in the reply... Cheers! Chris -- Chris Sutcliffe http://ir0nh34d.googlepages.com http://ir0nh34d.blogspot.com http://emergedesktop.org

[Fwd: Re: $HOME inconsistent in Windows?]

2007-05-09 Thread A.J.Mechelynck
Forward to list Original Message Subject: Re: $HOME inconsistent in Windows? Date: Wed, 9 May 2007 20:22:53 -0400 From: Chris Sutcliffe <[EMAIL PROTECTED]> To: A.J.Mechelynck <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Maybe you set it to somethi

Re: Tab right-click menu hardcoded

2007-05-09 Thread Steve Hall
On Wed, 2007-05-09 at 20:04 +0200, A.J.Mechelynck wrote: > Steve Hall wrote: > > The current right-click menu on GUI tabs is hardcodedCould we > > at least change the menu item names to the exact command being > > executed barring the option to customize these? > > When using GUI-style tabs (in

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Mark Woodward
On Wed, 2007-05-09 at 13:06 -0500, Tom Purl wrote: > On Wed, May 9, 2007 11:37 am, Sebastian Menge wrote: > > First, im not sure about what you mean by a) "formatting standard" and > > b) a "script that supports the standard" > > > > is a) something like a template in mediawiki-speak? see: > >h

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Bram Moolenaar
Ian Tegebo wrote: > > > On 5/6/07, Sebastian Menge <[EMAIL PROTECTED]> wrote: > > > > Hi all > > > > > > > > Independent of the implementation used, I suggest to develop good > > > > guidelines. The Wiki should be really valuable and not redundant to > > > > vim-tips or mailing-lists. > > > > > >

Re: [Announcement] Subversion repository location changed

2007-05-09 Thread Micah Cowan
Yakov Lerner wrote: > On 5/9/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: >> If you had checked out a copy of the sources before, please run this >> command in your source root directory to switch into the current >> branch: >> >> svn switch https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7

Re: [Announcement] Subversion repository location changed

2007-05-09 Thread Yakov Lerner
On 5/9/07, Edward L. Fox <[EMAIL PROTECTED]> wrote: If you had checked out a copy of the sources before, please run this command in your source root directory to switch into the current branch: svn switch https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.1 This switch command gives me

RE: VimWiki - again - but with a brand new option

2007-05-09 Thread Gene Kwiecinski
>>"Yeah, it's a good idea, but there are more important things I have for >>you to do..."), >Wow, you had one of those guys too? We just barely got rid of ours a few >weeks ago. He moved on to greater opportunities. Bright guy, but to >follow his lead, you'd just never get to do anything! Thankfu

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread russ
> Original Message > Subject: RE: VimWiki - again - but with a brand new option > From: "Gene Kwiecinski" <[EMAIL PROTECTED]> > Date: Wed, May 09, 2007 1:35 pm > To: "Tom Purl" <[EMAIL PROTECTED]>, "Vim Mailing List" > > [snip] > "Yeah, it's a good idea, but there are more imp

Re: is there a list-administrator ?

2007-05-09 Thread Micah Cowan
A.J.Mechelynck wrote: > AFAIK, there is no list-admin; just the mail robot. Or if there is one, > he only reads the list when the moon is blue on the 4th Thursday of a > week, and I don't know his phone number (if any). The Vim mailing list page (http://www.vim.org/maillist.php) mentions [EMAIL PR

Re: is there a list-administrator ?

2007-05-09 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Toon Knapen wrote: Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. Somewhat modified version of what Tony M sent awhile

Re: is there a list-administrator ?

2007-05-09 Thread A.J.Mechelynck
Toon Knapen wrote: Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. thanks toon AFAIK, there is no list-admin; just the mail robot. Or if there is o

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Sebastian Menge
Am Mittwoch, den 09.05.2007, 13:06 -0500 schrieb Tom Purl: > We do have a Wikia site available if we want it > (http://vim.wikia.com/wiki/Main_Page). I agree with you; it has a lot > of nice features, and may give us a bit more flexibility than the > wikibooks option. I think we should revisit th

Re: is there a list-administrator ?

2007-05-09 Thread Charles E Campbell Jr
Toon Knapen wrote: Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. Somewhat modified version of what Tony M sent awhile ago... Unsubscribing from the

RE: VimWiki - again - but with a brand new option

2007-05-09 Thread Gene Kwiecinski
>We do have a Wikia site available if we want it >(http://vim.wikia.com/wiki/Main_Page). I agree with you; it has a lot >of nice features, and may give us a bit more flexibility than the >wikibooks option. I think we should revisit this topic once we're ready >to start the "real" conversion. No

Re: is there a list-administrator ?

2007-05-09 Thread Tim Chase
I'm not a list-admin, but did you try sending a message to [EMAIL PROTECTED] From the account with which you subscribed? (just to make sure) It should be the same one with which you posted to the list, as the list shouldn't let you post if you're not subscribed. -tim

RE: is there a list-administrator ?

2007-05-09 Thread Mike Hansen
> -Original Message- > From: Toon Knapen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 1:11 PM > To: vim@vim.org > Subject: is there a list-administrator ? > > Is there a list-administrator also listening in ? > > I have tried to unsubscribe a zillion times now and I'

Re: Could you please give me the most bleeding-edge sources?

2007-05-09 Thread Bram Moolenaar
Edward L Fox wrote: > I noticed that you also maintained another CVS repository besides the > sf.net's CVS repository. And many changes to that internal CVS won't > be applied to the sf.net's CVS repository unless a large release is to > be made. > > In my opinion, as the SVN repository is now s

is there a list-administrator ?

2007-05-09 Thread Toon Knapen
Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. thanks toon

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Tom Purl
On Wed, May 9, 2007 11:37 am, Sebastian Menge wrote: > First, im not sure about what you mean by a) "formatting standard" and > b) a "script that supports the standard" > > is a) something like a template in mediawiki-speak? see: >http://home.comcast.net/~gerisch/MediaWikiTemplates.html >ht

Re: Tab right-click menu hardcoded

2007-05-09 Thread A.J.Mechelynck
Setting followups to vim-dev Steve Hall wrote: The current right-click menu on GUI tabs is hardcoded and presents a whole host of issues for anyone who uses code to manage buffers, tabs, or windows. It pretends to be a sophisticated menu but it really executes a basic Vim command which may or ma

Re: $HOME inconsistent in Windows?

2007-05-09 Thread A.J.Mechelynck
Chris Sutcliffe wrote: Hey All, I've defined a HOME environment variable as %HOMEDRIVE%%HOMEPATH%. In a command prompt, if get the following: echo %HOME% C:\Documents and Settings\ In gvim, I get the following: :e $HOME\ which expands to :e c:\Documents\ and\ Settings\\Application\ Data\

Re: ^M displayed in vi but not in vim

2007-05-09 Thread Yeti
On Wed, May 09, 2007 at 12:39:45PM -0400, Dan Fabrizio wrote: > Does anyone know why vim don't show the ^M characters in a file but vi does? Vim understands all EOL types. All types included in 'fileformats' are equal, whatever characters they are physically represented with. > :set list > >

Re: ^M displayed in vi but not in vim

2007-05-09 Thread A.J.Mechelynck
Dan Fabrizio wrote: Hi all, Does anyone know why vim don't show the ^M characters in a file but vi does? :set list in vim shows $ at the end of the lines but no ^M characters? :set ff=unix :w This removed the ^M characters but I had to use vi to verify. Is there some setting I'm missin

Re: replace number with zero-packed number

2007-05-09 Thread Tim Chase
> I've never used \=, but I see it only works at the > beginning of the substitute string and makes the entire > replacement an expression. Is there a way to put it in the > middle. > > For example, I was thinking if the CSV file had other > numbers, and only one field should be 0 padded, ex: > >

RE: replace number with zero-packed number

2007-05-09 Thread Timothy Adams
Could I ask a follow-up question along these lines? I've never used \=, but I see it only works at the beginning of the substitute string and makes the entire replacement an expression. Is there a way to put it in the middle. For example, I was thinking if the CSV file had other numbers, and on

$HOME inconsistent in Windows?

2007-05-09 Thread Chris Sutcliffe
Hey All, I've defined a HOME environment variable as %HOMEDRIVE%%HOMEPATH%. In a command prompt, if get the following: echo %HOME% C:\Documents and Settings\ In gvim, I get the following: :e $HOME\ which expands to :e c:\Documents\ and\ Settings\\Application\ Data\ Is there some reason why

^M displayed in vi but not in vim

2007-05-09 Thread Dan Fabrizio
Hi all, Does anyone know why vim don't show the ^M characters in a file but vi does? :set list in vim shows $ at the end of the lines but no ^M characters? :set ff=unix :w This removed the ^M characters but I had to use vi to verify. Is there some setting I'm missing that needed to show t

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Sebastian Menge
Am Mittwoch, den 09.05.2007, 10:33 -0500 schrieb Tom Purl: > I wasn't aware of this, and it's definitely a problem. Here's what I > propose we do: First, im not sure about what you mean by a) "formatting standard" and b) a "script that supports the standard" is a) something like a template in me

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread Charles E Campbell Jr
[EMAIL PROTECTED] wrote: When opening a file in vim, the cursor will move to the last position when the file was saved. The "feature" is enabled by some autocommands in vimrc_example.vim, I copied the code into my .vimrc and use it in all platform. It really does work in my WindowsXP gvim, cyg

Tab right-click menu hardcoded

2007-05-09 Thread Steve Hall
The current right-click menu on GUI tabs is hardcoded and presents a whole host of issues for anyone who uses code to manage buffers, tabs, or windows. It pretends to be a sophisticated menu but it really executes a basic Vim command which may or may not be what the user expects. Could we at least

Re: omni-completion

2007-05-09 Thread Jean-Rene David
* Normandie Azucena [2007.05.09 09:30]: > this will seem to be a dumb question. > what is omni-completion? > How can I use it in vim? > How can I create my own? Have you given :h omni-completion a try? -- JR

Re: VimWiki - again - but with a brand new option

2007-05-09 Thread Tom Purl
On Tue, May 8, 2007 3:32 pm, Bram Moolenaar wrote: > > The main goal now is to get the Vim tips collection back to live. It > has been dead for three months now! I wasn't aware of this, and it's definitely a problem. Here's what I propose we do: 1. Finalize a tip formatting standard. 2. Use the

Re: omni-completion

2007-05-09 Thread Gary Johnson
On 2007-05-09, Normandie Azucena <[EMAIL PROTECTED]> wrote: > hi all! > this will seem to be a dumb question. > what is omni-completion? > How can I use it in vim? > How can I create my own? :help compl-omni :help 24.3 HTH, Gary -- Gary Johnson | Agilent Technologies [EMAI

omni-completion

2007-05-09 Thread Normandie Azucena
hi all! this will seem to be a dumb question. what is omni-completion? How can I use it in vim? How can I create my own? tnx in advance!

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread A.J.Mechelynck
François Ingelrest wrote: Hello, I'm also using vim with an Ubuntu Feisty. Here is what I have in my .vimrc: " Try to restore cursor position when reading a buffer au BufReadPost * if line("'\"") | exe "normal '\"" | endif It works quite well. Yeah, that is almost the same as the code in the

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread François Ingelrest
Hello, I'm also using vim with an Ubuntu Feisty. Here is what I have in my .vimrc: " Try to restore cursor position when reading a buffer au BufReadPost * if line("'\"") | exe "normal '\"" | endif It works quite well. On 5/9/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrot

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: When opening a file in vim, the cursor will move to the last position when the file was saved. The "feature" is enabled by some autocommands in vimrc_example.vim, I copied the code into my .vimrc and use it in all platform. It really does work in my WindowsXP gvim, cyg

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread Micah Cowan
Yakov Lerner wrote: > On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> When opening a file in vim, the cursor will move to the last position >> when >> the file was saved. >> > The simplest way to fix this is to add this line to your .vimrc: > > $VIMRUNTIME/vimrc_example.vim

Re: what "feature" is required to return to last editing position?

2007-05-09 Thread Yakov Lerner
On 5/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: When opening a file in vim, the cursor will move to the last position when the file was saved. The "feature" is enabled by some autocommands in vimrc_example.vim, I copied the code into my .vimrc and use it in all platform. It really doe

what "feature" is required to return to last editing position?

2007-05-09 Thread panshizhu
When opening a file in vim, the cursor will move to the last position when the file was saved. The "feature" is enabled by some autocommands in vimrc_example.vim, I copied the code into my .vimrc and use it in all platform. It really does work in my WindowsXP gvim, cygwin vim, MacOSX vim, and U

Re: replace number with zero-packed number

2007-05-09 Thread A.J.Mechelynck
Luke Vanderfluit wrote: Hi. I have a csv file that contains a field with a number, say 98. I need to zerofill the fields to be 6 digits. So any field that is say 98, should become 98. Is there an easy way to do this with search and replace? Thanks. Kind regards. There are several ways to

Odp: replace number with zero-packed number

2007-05-09 Thread Mikołaj Machowski
Dnia 9-05-2007 o godz. 7:19 Luke Vanderfluit napisał(a): > Hi. I have a csv file that contains a field with a number, say 98. > I need to zerofill the fields to be 6 digits. > So any field that is say 98, should become 98. > > Is there an easy way to do this with search and replace? Assuming