Re: ff fenc bin in modeline

2006-08-24 Thread A.J.Mechelynck
Bram Moolenaar wrote: Yasuhiro Matsumoto wrote: vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support.

Re: ff fenc bin in modeline

2006-08-24 Thread Bram Moolenaar
Yasuhiro Matsumoto wrote: vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support. Please check and

Re: ff fenc bin in modeline

2006-08-24 Thread Yasuhiro Matsumoto
Bram - vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support. Please check and include. #This patch include

folding error for C files

2006-08-24 Thread Gautam Iyer
Hi Bram, I noticed the following problem when typing C files: If you enter a { on the last line of a file, and press enter, then the last two lines become a closed fold *CONTAINING* the cursor. You can not see the cursor, or the { in the previous line, until you type some text. At that point the

Re: How to trigger a screen update from RealWaitForChar

2006-08-24 Thread Brad Beveridge
I have gathered together the network_io patch as best I can. The author is Jim Bailey, not me - however Jim is currently roaming about in the world and was unable to respond to my requests for permission to distribute this code. Jim did include the standard Vim license comments in his files,

backspace and enter indents

2006-08-24 Thread Luis Pedro
Hi, I'm using different versions 6.x of Vim in my computers and I have this problem when editing python and html files. This is in Linux. Many times when I want to correct something I'm typing I use the backspace key. That line is indented after pressing that key, which annoys me a lot. This

Re: Open each file in newtab (without using -p)

2006-08-24 Thread Groleo Marius
On 8/23/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Groleo Marius wrote: On 8/23/06, David Fishburn [EMAIL PROTECTED] wrote: :tab new c:\temp\whatever.txt :) that is mentioned in :help, and i dont see how it solves the :e or ctrl-] problem Also , :tab sball is not a solution. I wonder if

Re: locked indents like emacs

2006-08-24 Thread A.J.Mechelynck
Kim Schulz wrote: Hi is there a way to make indentation in Vim lock like in emacs so that if I press tab in the beginning of a line, then it indents the line to the correct place. Pressing tab multiple times does not change the indentation any further - it is locked. 'autoindent' will indent

ezmlm errors

2006-08-24 Thread Ujjal Bose
Why am I getting errors like : -- Hi. This is the qmail-send program at foobar.math.fu-berlin.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't

Re: locked indents like emacs

2006-08-24 Thread Kim Schulz
On Thu, 24 Aug 2006 10:46:26 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: Kim Schulz wrote: Hi is there a way to make indentation in Vim lock like in emacs so that if I press tab in the beginning of a line, then it indents the line to the correct place. Pressing tab multiple times does

VIM gui mode menus

2006-08-24 Thread Ujjal Bose
Ok, looks like my mails are atlast going thru :) Here's my questions : I have two questions regarding working with the menu pane in vim GUI mode (gvim). I use a tags enabled design environment in which lots of files (buffers) are simultaneously opened. I like to use a single window without

Re: Disable bold font in gvim on Windows

2006-08-24 Thread Pádraig Brady
Chris Sutcliffe wrote: Is there a quick way to disable the bold font in gvim on Windows (i.e. use non-bold font for all highlight items)? http://marc.theaimsgroup.com/?l=vimm=115329964331365w=2 Pádraig.

Re: locked indents like emacs

2006-08-24 Thread A.J.Mechelynck
Kim Schulz wrote: On Thu, 24 Aug 2006 10:46:26 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: Kim Schulz wrote: Hi is there a way to make indentation in Vim lock like in emacs so that if I press tab in the beginning of a line, then it indents the line to the correct place. Pressing tab

Re: Open each file in newtab (without using -p)

2006-08-24 Thread A.J.Mechelynck
Groleo Marius wrote: [...] Thing is, the vim's tabpage mechanism is just not the way all tabbed apps work. I've spent a whole day searching for a solution with no luck though. I guess I'm searching in the wrong place, but how hard it is to implement and option that let you choose for a single

ksh93s and vim

2006-08-24 Thread John Little
Hi all The wikipedia entry for the Korn shell http://en.wikipedia.org/wiki/Korn_shell has a tantalizing parenthetical note: ksh93s will add a 4th vim mode Googling for ksh93s + vim only finds the wikipedia article, or copies of it, and ksh93 + vim mode the same, and ksh93 + vim nothing I

Re: ezmlm errors

2006-08-24 Thread A.J.Mechelynck
Ujjal Bose wrote: Why am I getting errors like : -- Hi. This is the qmail-send program at foobar.math.fu-berlin.de. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given

Re: ksh93s and vim

2006-08-24 Thread A.J.Mechelynck
John Little wrote: Hi all The wikipedia entry for the Korn shell http://en.wikipedia.org/wiki/Korn_shell has a tantalizing parenthetical note: ksh93s will add a 4th vim mode Googling for ksh93s + vim only finds the wikipedia article, or copies of it, and ksh93 + vim mode the same, and

Re: locked indents like emacs

2006-08-24 Thread Kim Schulz
On Thu, 24 Aug 2006 11:32:55 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote: Kim Schulz wrote: That is filetype-dependent indent, since how to indent will be determined by the syntax of the language of the file being edited: :filetype indent on or (usually better)

vim modes switching problem

2006-08-24 Thread Radoslaw Garbacz
Hello, I have a problem with switching from the command-line mode to the normal one and back to the command-line. The command I would like to do is (just an example): command-line:call search(class,) | normal j]} :s/}$/};/g | update or maybe:

Question about client-server in combination with ssh and netrw

2006-08-24 Thread Peter Palm
Hi all, I've got a few questions about client-server. I want to ssh to another machine, and then tell my local (desktop) vim to open a file on the remote machine. Using vim --remote scp://$HOST/$PWD/.vimrc results in E344: Cannot find directory /extra1/home/peterp in cdpath Which leads me

Re: Fwd: syntax and filetype.vim patch for 'initng' config files

2006-08-24 Thread Yakov Lerner
On 8/23/06, Elan Ruusamäe [EMAIL PROTECTED] wrote: oh and please note that #!/bin/itype is not neccessary, and in fact the initng distributed files don't have it. But then the question of how do we distinguish initng's *.i from other *.i becomes open again ( the genenric filetype.vim patch )

Re: locked indents like emacs

2006-08-24 Thread Greg Dunn
Hi is there a way to make indentation in Vim lock like in emacs so that if I press tab in the beginning of a line, then it indents the line to the correct place. Pressing tab multiple times does not change the indentation any further - it is locked. How about :nmap tab == This will allow

Re: locked indents like emacs

2006-08-24 Thread Kim Schulz
On Thu, 24 Aug 2006 08:45:49 -0500, Greg Dunn [EMAIL PROTECTED] wrote: How about :nmap tab == This will allow you to insert tabs while in insert mode, but when in normal mode it indents the line according to the current indent rules. -- Greg great idea. I will test that. --

Re: Odd tab behaviour in Windows - SOLVED

2006-08-24 Thread William O'Higgins Witteman
On Wed, Aug 23, 2006 at 04:49:46PM -0500, Lloyd Sartor wrote: William O'Higgins Witteman [EMAIL PROTECTED] wrote on 08/23/2006 12:49:02 PM: On Wed, Aug 23, 2006 at 06:58:47PM +0200, A.J.Mechelynck wrote: William O'Higgins Witteman wrote: When coding in Python, I have a little mapping which

Re: ezmlm errors

2006-08-24 Thread A.J.Mechelynck
Russell Bateman wrote: I find that I must send in Plain Text Only (I'm in Thunderbird) or my reply/question/rant/etc. does not make it through into the Vim list. Russ I'm on Thunderbird too. Since I use only plaintext, under Account Settings (which is a submenu of Edit under Linux, of Tools

RE: Python Script Execution Support in ViM

2006-08-24 Thread Chuck Mason
Try this the function below. I'm a very novice vim programmer so forgive me if there's an easier way to do this. However, what's below seemed to work for me. Chuck function! ExecuteCurBufAsPython() let buffer = getline(1, line($)) let newbuf = let index = 0

Re: Python Script Execution Support in ViM

2006-08-24 Thread A.J.Mechelynck
Chuck Mason wrote: Try this the function below. I'm a very novice vim programmer so forgive me if there's an easier way to do this. However, what's below seemed to work for me. Chuck function! ExecuteCurBufAsPython() let buffer = getline(1, line($)) let newbuf =

Open multiple files (when there are spaces in the pathname)

2006-08-24 Thread Bulgrien, Kevin
At various times it is useful to launch vim with a file list that has been generated by a command so that buffers and macros written on the fly are able to be used on a number of files. A trivial, though questionably useful, example that normally works might be: $ vim $(find . -iname

Re: Open multiple files (when there are spaces in the pathname)

2006-08-24 Thread Yakov Lerner
On 8/24/06, Bulgrien, Kevin [EMAIL PROTECTED] wrote: At various times it is useful to launch vim with a file list that has been generated by a command so that buffers and macros written on the fly are able to be used on a number of files. A trivial, though questionably useful, example that

Re: Open each file in newtab (without using -p)

2006-08-24 Thread Robert Hicks
A.J.Mechelynck wrote: Groleo Marius wrote: [...] Thing is, the vim's tabpage mechanism is just not the way all tabbed apps work. I've spent a whole day searching for a solution with no luck though. I guess I'm searching in the wrong place, but how hard it is to implement and option that let

Re: Search all text files in a directory for text

2006-08-24 Thread Charles E Campbell Jr
Gary Johnson wrote: On 2006-08-18, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Gary Johnson wrote: Thanks. That removes the error and gives me a list of files, but included in that list are non-*.c names such as INSTALL Makefile README.txt :Explore **/*.c

Re: Search all text files in a directory for text

2006-08-24 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Gary Johnson wrote: On 2006-08-18, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Gary Johnson wrote: Thanks. That removes the error and gives me a list of files, but included in that list are non-*.c names such as INSTALL Makefile README.txt

backup directory

2006-08-24 Thread Robert Hicks
I have the following in my .vimrc: = Files/Backups = set backup set backupdir=/home/devsp7/.vim/backup set dir=/home/devsp7/.vim/temp set patchmode=.prev Config for savevers.vim let savevers_types=* let savevers_max=10 let savevers_purge=1 let savevers_dirs=backupdir

Re: Python Version Trouble with ViM 7.0 (Was: Python Script Execution Support in ViM)

2006-08-24 Thread A.J.Mechelynck
Carroll, Barry wrote: -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 7:12 PM To: Carroll, Barry Cc: vim@vim.org Subject: Re: Python Script Execution Support in ViM Carroll, Barry wrote: Greetings: This is my first posting to this

Re: Open each file in newtab (without using -p)

2006-08-24 Thread Groleo Marius
On 8/24/06, Groleo Marius [EMAIL PROTECTED] wrote: On 8/24/06, Robert Hicks [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: Groleo Marius wrote: [...] Thing is, the vim's tabpage mechanism is just not the way all tabbed apps work. I've spent a whole day searching for a solution with no

Re: Open each file in newtab (without using -p)

2006-08-24 Thread A.J.Mechelynck
Groleo Marius wrote: On 8/24/06, Groleo Marius [EMAIL PROTECTED] wrote: On 8/24/06, Robert Hicks [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: Groleo Marius wrote: [...] Thing is, the vim's tabpage mechanism is just not the way all tabbed apps work. I've spent a whole day searching

Re: Search all text files in a directory for text

2006-08-24 Thread Gary Johnson
On 2006-08-24, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Gary Johnson wrote: I found another problem, though. Following my previous example and proceeding from $ vim -N -u NONE I execute the following commands and the cursor moves to the file indicated.

Python Version Trouble with ViM 7.0 (Was: Python Script Execution Support in ViM)

2006-08-24 Thread Carroll, Barry
-Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 7:12 PM To: Carroll, Barry Cc: vim@vim.org Subject: Re: Python Script Execution Support in ViM Carroll, Barry wrote: Greetings: This is my first posting to this list.

Re: Search all text files in a directory for text

2006-08-24 Thread A.J.Mechelynck
Gary Johnson wrote: [...] That's really weird. I see the same broken :Pexplore behavior with both my SunOS and Linux versions. Maybe the problem has been fixed with a patch. -- VIM - Vi IMproved 7.0 (2006 May 7, compiled May 8 2006 16:40:23) Compiled by [EMAIL PROTECTED] Normal

Re: how to 'visually' replace

2006-08-24 Thread Luis A. Florit
IIUC, it is not possible out of the box, but it is possible if you recompile with Vince's patch mentioned both in Tim's reply quoted above and in mine. Ok. Thank you all for the suggestion, Luis.

Re: Paragraph formatting options

2006-08-24 Thread cga2000
On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. I'll probably use the dot '.' .. hope it doesn't clash with anything.. Or maybe there's a :digraph that would look

Re: Paragraph formatting options

2006-08-24 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. I'll probably use the dot '.' .. hope it doesn't clash with anything.. Or maybe there's a :digraph

Re: Open each file in newtab (without using -p)

2006-08-24 Thread Groleo Marius
On 8/24/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: 1. Do you have the required features compiled-in? :version The output should include +autocmd +eval +syntax If it doesn't, install a Vim version which has them. I recommend Big or Huge features. vim --version VIM - Vi IMproved 7.0