Re: Bad QUOTESED expression in src/Makefile

2006-08-31 Thread A.J.Mechelynck
Alexey I. Froloff wrote: * A.J.Mechelynck antoine.mechelynck@ [060831 02:48]: Hmmm... it seems you configured a nonstandard location for your system vimrc and gvimrc. I have CFLAGS with escaped quotes. Backslashes should be escaped too. ; compiling pathdef.c gives me no errors or warnings

Re: Fixing cweb.vim

2006-08-31 Thread Charles E Campbell Jr
David Brown wrote: A.J.Mechelynck wrote: David Brown wrote: What I'm having difficulty with is figuring out what to put there. Is there a way of finding out what region a given part of the buffer is in? I'm not a specialist of these matters; but try help completion on synID Well, I

The location of dialog box

2006-08-31 Thread Akria Sheng
The dialog box which notice the file changed somtimes appear at strange location. my environment: 1. vim7.0(gtk) 2. Hummingbird Exceed to connect server and the display mode is multiple. It make the total task will appear on the taskbar of winXP, like a normal windows program. When I

Re: vim modes switching problem

2006-08-31 Thread Radoslaw Garbacz
On Wednesday 30 August 2006 15:18, Benji Fisher wrote: On Thu, Aug 24, 2006 at 12:17:45PM +0200, Radoslaw Garbacz wrote: I have a problem with switching from the command-line mode to the normal one and back to the command-line. :help :execute Thank you very much for the hint. -- Mit

Re: I have got one ml_get error

2006-08-31 Thread A.J.Mechelynck
Akria Sheng wrote: I have got one error to crash vim. It happened when meet the following condition: A. must in Linux(solaris and winxp is OK) B. vim7.0(6.4 is ok) C. open one huge file(exceed 368710 bytes) then type :sp ./ In general, it will split one window to show the

Re: I have got one ml_get error

2006-08-31 Thread Akria Sheng
A.J.Mechelynck wrote: Akria Sheng wrote: I have got one error to crash vim. It happened when meet the following condition: A. must in Linux(solaris and winxp is OK) B. vim7.0(6.4 is ok) C. open one huge file(exceed 368710 bytes) then type :sp ./ In general, it will split

Re: Can I make my sesion forget it's a session

2006-08-31 Thread Marius Roets
On 8/30/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: A session is not only a number of settings, it's also one or more editfiles etc. To make a session forget all that makes it a session, use :qa followed by vim or gvim (the latter may be entered in an Alt-F2

Re: I have got one ml_get error

2006-08-31 Thread Akria Sheng
A.J.Mechelynck wrote: Akria Sheng wrote: A.J.Mechelynck wrote: Akria Sheng wrote: I have got one error to crash vim. It happened when meet the following condition: A. must in Linux(solaris and winxp is OK) B. vim7.0(6.4 is ok) C. open one huge file(exceed 368710 bytes) then

Re: I have got one ml_get error

2006-08-31 Thread A.J.Mechelynck
Akria Sheng wrote: A.J.Mechelynck wrote: Akria Sheng wrote: A.J.Mechelynck wrote: Akria Sheng wrote: I have got one error to crash vim. It happened when meet the following condition: A. must in Linux(solaris and winxp is OK) B. vim7.0(6.4 is ok) C. open one huge file(exceed 368710

Re: [VIM] Re: I have got one ml_get error

2006-08-31 Thread Walter Cazzola
On Thu, 31 Aug 2006, Akria Sheng wrote: Dear Tony, I have update the netrw to version 102, but it still happened. The two line are changed to be 4424 4426. When I comment the two line again, vim open the fileexplorer success. just my 2¢, are you using a latin encode? I have noted your

Re: utf-8 encoding without BOM

2006-08-31 Thread Yakov Lerner
On 8/31/06, Péter Zsoldos [EMAIL PROTECTED] wrote: Greetings, I'm using gVim 6.3 on Windows Xp Sp2 and I ran into a problem that I need to edit files with UTF-8 encoding, but I just can't get VIM to do so. If I create utf-8 encoded files in notepad, VIM accepts this, but places the BOM into the

utf8 vs string handling vs virtcol

2006-08-31 Thread Thomas
Hi, In a plugin on mine, I have the following lines: let col = virtcol(.) let line = strpart(getline(.), col - 1) The idea is to get the line right of the cursor including the character under the cursor. This works fine for latin1 encoding but yields wrong results

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Thomas
This is wrong. You need: let col = col(.) let line = strpart(getline(.), col - 1) Unfortunately, IIRC this doesn't work with wrapped lines which is why I chose virtcol() ... But, well can't reproduce what I did (or thought that I did) 10 minutes ago. Anyway, it

Netrw closes on execute

2006-08-31 Thread Josh D
Hello, when I have multiple tabs opened and I run some shell command (eg: !ls), then all tabs where only netrw is running are closed. How can I prevent that? Versions: vim: 7.0-035+0bpo1 (backport on debian-sarge) netrw: v98 and also 102 Thank you josh

Re: utf-8 encoding without BOM

2006-08-31 Thread Péter Zsoldos
A.J.Mechelynck wrote: it may be that the headers you talk about must be in 7-bit US-ASCII: in that case it might be simplest to edit the headers as a separate file with These headers I talk about are HTTP headers, and according to protocol, they should be sent out to the client *before* any

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Yakov Lerner
On 8/31/06, Thomas [EMAIL PROTECTED] wrote: This is wrong. You need: let col = col(.) let line = strpart(getline(.), col - 1) Unfortunately, IIRC this doesn't work with wrapped lines which is why I chose virtcol() ... But, well can't reproduce what I did (or thought

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Yakov Lerner
Try :echo col('a') Ooops my mistake. I meant to write: Try :echo col('.') Yakov

Re: vim 7 on win xp console slow

2006-08-31 Thread Yakov Lerner
On 8/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, When i press ESC, it takes about one second to finish, i.e. switching from insert into normal mode, or placing the cursor in the buffer window when escaping from the commandline. All other things don't seem to create delays. This

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Thomas
Yes it does. Take simple example, Create line with 1 high utf-8 char entering Ctrl-Vu1234 then a. Ok, you're right as far as col() is concerned. I'm having here some problems though with enc=utf8 soft-wrapped lines showbreak=¦, which I mistook as being a issue related to col(). The cursor

Font problems on Linux after upgrade

2006-08-31 Thread Boris Dinkevich
Hello everyone, I am using Mandrake 9.2 and have recently upgraded from Vim6 to 7. Unfortunately after the update, the lookfeel changed, I was able to restore most of the settings but am unable to restore the font configuration. My font was similar (or the same) to Monospace font as appears in

Re: Font problems on Linux after upgrade

2006-08-31 Thread Yakov Lerner
On 8/31/06, Boris Dinkevich [EMAIL PROTECTED] wrote: Hello everyone, I am using Mandrake 9.2 and have recently upgraded from Vim6 to 7. Unfortunately after the update, the lookfeel changed, I was able to restore most of the settings but am unable to restore the font configuration. My font was

Re: Netrw closes on execute

2006-08-31 Thread Josh D
Great. Thanks! josh On 8/31/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Josh D wrote: when I have multiple tabs opened and I run some shell command (eg: !ls), then all tabs where only netrw is running are closed. How can I prevent that? Versions: vim: 7.0-035+0bpo1 (backport on

Re: utf-8 encoding without BOM

2006-08-31 Thread Stefan Walk
the interpreter executes code between ? and ?, and doesn't output it's content, but outputs everything else in the file. The BOM marks are located *before* the ?, and thus is considered content by the interpreter, and is sent to the client. Also, if you are using multiple PHP files that include

Re: Font problems on Linux after upgrade

2006-08-31 Thread Boris Dinkevich
Hello, I have used the AAP utility for installation. Is there a way to reconfigure recompile for GTK2 (a howto/help perhaps) Thanks alot for your help Boris On 8/31/06, Robert Cussons [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 8/31/06, Boris Dinkevich [EMAIL PROTECTED] wrote: Hello

Re: [VIM] Re: [VIM] Re: I have got one ml_get error

2006-08-31 Thread Walter Cazzola
On Thu, 31 Aug 2006, Akria Sheng wrote: Yes, I am using latin1 encoding. The linux which I use don't install any function about chinese. So the environment is english only. But I am not sure there is other strange configuration to make this mistake. I have tried to change some options include

Using openssl bf encryption

2006-08-31 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All I'd like to be able to edit an encrypted plain text file using vim. It's blowfish encoded with openssl. I noticed right away that the contents could end up in .viminfo, so I started doing some research. I looked at these pages

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread A.J.Mechelynck
Thomas wrote: Hi, In a plugin on mine, I have the following lines: let col = virtcol(.) let line = strpart(getline(.), col - 1) The idea is to get the line right of the cursor including the character under the cursor. This works fine for latin1 encoding but yields

Running a Set of Commands from a File

2006-08-31 Thread Mike Blonder
Hi. I have saved a file called 'commands.' This file has all of the commands (g /foobar/,/goobar/ d, etc) I need to edit some very large files. I want to 'run' this commands file from within each of the large files that I need to edit. 1) do I have to chmod 'commands' as an executable? 2)

Re: Running a Set of Commands from a File

2006-08-31 Thread Charles E Campbell Jr
Mike Blonder wrote: I have saved a file called 'commands.' This file has all of the commands (g /foobar/,/goobar/ d, etc) I need to edit some very large files. I want to 'run' this commands file from within each of the large files that I need to edit. 1) do I have to chmod 'commands' as

Re: Font problems on Linux after upgrade

2006-08-31 Thread Boris Dinkevich
Hello Yakov I have tried to configure manualy, but to not avail. (By the way, I have KDE) Tried compiling with: --enable-gui=gtk2 but when I try to start gvim I get the following error: E25: GUI cannot be used: Not enabled at compile time PS. I am not sure how I can start the old gvim (if its

Re: Font problems on Linux after upgrade

2006-08-31 Thread A.J.Mechelynck
Boris Dinkevich wrote: Hello, I have used the AAP utility for installation. Is there a way to reconfigure recompile for GTK2 (a howto/help perhaps) Thanks alot for your help Boris [...] Configure will select the GTK2 GUI by default, provided that: a) it is installed, including development

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Mikolaj Machowski
Dnia czwartek, 31 sierpnia 2006 13:09, Thomas napisał: This is wrong. You need: let col = col(.) let line = strpart(getline(.), col - 1) Unfortunately, IIRC this doesn't work with wrapped lines which is why I chose virtcol() ... But, well can't reproduce what I

Re: Running a Set of Commands from a File

2006-08-31 Thread striker
I have a set of quotes that I download as a .html file and then manipulate. I use a file called data.vim to do everything I need. I run the file in Vim with the command :so data.vim Here is an example from the file: :e ~/Desktop/sf.html :v/String('/d :execute norm vf'df'D :%s/|/\r/g

silent make

2006-08-31 Thread Luis A. Florit
Hi, I use Vim and Quickfix to compile C++ programs. I have set let makeprg='g++ -o % %' as the compiler. My problem is that while compiling, vim goes to the console, distracting me. I don't need the console, if I use Quickfix! I would like it to stay in the buffer window. I

RE: Problem with :normal?

2006-08-31 Thread Chuck Mason
If you do :normal vfld then what happens is what you expect. So, my guess is that the script is simply stopped when f' doesn't do anything. I.e. there is no ' so f' errs and the rest of the command is terminated. That's just my *guess*, though. Chuck -Original Message- From: [EMAIL

RE: Problem with :normal?

2006-08-31 Thread Chuck Mason
Sorry for the added reply, but this is indeed very interesting. I get the same results from recording: qqvf'df'Dq -- does what you expect executing all commands @q -- behaves like :normal vf'df'D and stops executing after f' :normal f' is another example where the are

Re: Problem with :normal?

2006-08-31 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hey Vimmers, after reading through a thread earlier on sourcing commands from a file i did a little experimentation with :normal. If given the line: test this line ^ with the cursor at the carat and you do :normal vf'df'D nothing is deleted and you are left in

vim is too smart for its own good

2006-08-31 Thread Bruce Korb
Hi, I'd like to use a plain text editor. I don't want any surprises. I don't want it to think it understands language syntax. I don't want it to colorize things. I don't want it to do anything at all for me, unless I explicitly say it is okay for it to do so. In short, I want vi. Except Linux

Re: vim is too smart for its own good

2006-08-31 Thread Michael Hernandez
On Aug 31, 2006, at 3:19 PM, Bruce Korb wrote: Hi, I'd like to use a plain text editor. I don't want any surprises. I don't want it to think it understands language syntax. I don't want it to colorize things. I don't want it to do anything at all for me, unless I explicitly say it is okay for

Re: vim is too smart for its own good

2006-08-31 Thread Diwaker Gupta
alone, please. I want it all turned off. I have been unable to find a simple way to do that. Or even any way to do that, because I have not found any way at all to turn off the ``you must want this line prefixed with a double slash'' feature. Help! Suggestions, please? Thank you! - Bruce

Re: vim is too smart for its own good

2006-08-31 Thread Bruce Korb
Michael Hernandez wrote: you might try nvi? http://www.bostic.com/vi/ Mike $ type nvi ksh: type: nvi: not found Hi Mike, If distributions were to normally install it, that would be fine. Installing my own vi is way over the top for what my needs ought to require. Surely getting vim to act

Re: vim is too smart for its own good

2006-08-31 Thread A.J.Mechelynck
Bruce Korb wrote: Hi, I'd like to use a plain text editor. I don't want any surprises. I don't want it to think it understands language syntax. I don't want it to colorize things. I don't want it to do anything at all for me, unless I explicitly say it is okay for it to do so. In short, I want

Re: vim is too smart for its own good

2006-08-31 Thread Bruce Korb
Diwaker Gupta wrote: And 'vim -u NONE' doesn't work for you? alias vi='vim -u NONE' OK. That works. Can't that be done with something a little more obvious in ~/.vimrc ?? So, I'll burn that in my brain and not be bothered anymore. Thank you all. Bruce

RE: Copy/paste to another console

2006-08-31 Thread Gene Kwiecinski
I've a little problem, I do remote box A with console A using putty (under MS) then using vim open file A, I do copy a line with yy in file A, so I do remote to box B with console B using putty (under MS), then open file B, the question how to do paste to file B in console B without mouse (I do

Re: vim is too smart for its own good

2006-08-31 Thread Tim Chase
If distributions were to normally install it, that would be fine. Installing my own vi is way over the top for what my needs ought to require. Surely getting vim to act like a plain text editor cannot be _that_ hard!!! [tongue in cheek] There's always ed... -more ubiquitous in its presence

Re[2]: vim is too smart for its own good

2006-08-31 Thread Alan G Isaac
On Thu, 31 Aug 2006, Tim Chase apparently wrote: There's always ed... -more ubiquitous in its presence -consistent in its behavior -powerful -tools like diff interoperate with it -it can be used on a slow TTY -can be used on with a one-line display -smaller executable size

Re: vim is too smart for its own good

2006-08-31 Thread Gary Johnson
On 2006-08-31, Bruce Korb [EMAIL PROTECTED] wrote: Diwaker Gupta wrote: And 'vim -u NONE' doesn't work for you? alias vi='vim -u NONE' OK. That works. Can't that be done with something a little more obvious in ~/.vimrc ?? So, I'll burn that in my brain and not be bothered anymore.