Resizing the window with very long lines of text.

2006-07-10 Thread Soon-Ping Phang
Hi, I'm trying to determine whether I should submit a bug report for a problem I encountered or if one was already submitted. Basically, I'm finding that if I paste a long line of text (4650+ characters) into an 80x25 Vim window (v7.0 on WinXP), and then, while leaving the cursor at the end of

Re: vim-7.0.035 linux motif gui crashes immediately (test16)

2006-07-10 Thread raf
Bram Moolenaar wrote: Raf wrote: on linux-2.6.17.1 (ubuntu-6.06, core duo), vim-7.0.035 with motif/lesstif crashes immediately when :gui or -g is used (e.g. test16). or is it just me? the :version output and two examples are included below. :version VIM - Vi IMproved 7.0 (2006 May

VIM 7.0 scripts, ctags and taglist.vim

2006-07-10 Thread Mikhail Shvarts
VIM 7.0 is known have been extended with rather advanced scripting capabilities such as complex data structures and object-oriented programming in embryo. So, now we can define methods for some object type in such a way: let MyObjectType = {} function! MyObjectType.method1() echo 'Hello

Re: BUG: indirect 'configure' invocation hides exit status

2006-07-10 Thread mwoehlke
(re-send because I forgot to CC vim-dev; sorry) Bram Moolenaar wrote: Matthew Woehlke wrote: [snip] The indirect 'configure' scripts need to preserve the exit status. The fix, which is trivial, I leave as an exercise. So, what is the fix? I'm lazy. Goodness, I'll say. :)

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Mon, Jul 10, 2006 at 07:56:13PM +0300, Yakov Lerner wrote: Vim is special. I believe that being organic extension of programmer/sysadmin fingers, it deserves special attitude that other packages. The point you missed, assuming I was being absurd, is that I can probably find someone on the

Re: vim mac close button state patch

2006-07-10 Thread Nicolas Weber
Hi, this patch sets the close button state according to Indicating Changes With the Close Button in the Apple HIG ( http:// developer.apple.com/documentation/UserExperience/Conceptual/ OSXHIGuidelines/XHIGWindows/chapter_17_section_3.html ). I haven't tried it but it's good to try to make

Re: Resizing the window with very long lines of text.

2006-07-10 Thread Bram Moolenaar
Soon-Ping Phang wrote: I'm trying to determine whether I should submit a bug report for a problem I encountered or if one was already submitted. Basically, I'm finding that if I paste a long line of text (4650+ characters) into an 80x25 Vim window (v7.0 on WinXP), and then, while leaving

Re: Resizing the window with very long lines of text.

2006-07-10 Thread Ron Blaschke
Bram Moolenaar wrote: Soon-Ping Phang wrote: I'm trying to determine whether I should submit a bug report for a problem I encountered or if one was already submitted. Basically, I'm finding that if I paste a long line of text (4650+ characters) into an 80x25 Vim window (v7.0 on WinXP),

Re: Resizing the window with very long lines of text.

2006-07-10 Thread Peter Cech
On Mon, Jul 10, 2006 at 20:52:00 +0100, Ron Blaschke wrote: Bram Moolenaar wrote: Soon-Ping Phang wrote: I'm trying to determine whether I should submit a bug report for a problem I encountered or if one was already submitted. Basically, I'm finding that if I paste a long line of

Re: Terminal-based auto-paste.

2006-07-10 Thread Gary Johnson
On 2006-07-10, Sean Reifschneider [EMAIL PROTECTED] wrote: On Mon, Jul 10, 2006 at 07:38:02AM +, Yakov Lerner wrote: package-maintiners and expect them to fine-tune binary packages to your inquiries/needs/wishes. Unless you are package-maintiner Having an expert tune the packages for

Re: question on guitablabel

2006-07-10 Thread Yakov Lerner
On 7/10/06, SHANKAR R-R66203 [EMAIL PROTECTED] wrote: Hi When I execute the command, :set guitablabel=xyz All the tabpages get the same name. How do I set a separate string as a name for each tab label. You need to use cunningly the % in the value for that. To set the string

Script to surround text with (),.. what's wrong?

2006-07-10 Thread Marc Weber
This is my attempt to write script which can surround text (either a word or the text selected in visual mode) with some characters such as ' ... But it doesn't work everytime. Do you see another solution than using @- (:h registers shows that this register is only used for text beeing less than

Re: Vim problems on Centos-4

2006-07-10 Thread dave--uk
I'm not really convinced that is the problem. Nothing really points to it. 1) Syntax highlighting does work for some files - if it was the build it wouldn't work at all. 2) Not remembering the file positions sounds like a configuration switch. 3) The help files being opened binary, rather than

Re: Script to surround text with (),.. what's wrong?

2006-07-10 Thread Yakov Lerner
On 7/10/06, Marc Weber [EMAIL PROTECTED] wrote: This is my attempt to write script which can surround text (either a word or the text selected in visual mode) with some characters such as ' ... But it doesn't work everytime. Why don't you use :imap and :vmap separately ? You seem to be

Re: Script to surround text with (),.. what's wrong?

2006-07-10 Thread hermitte
Marc Weber [EMAIL PROTECTED] wrote: This is my attempt to write script which can surround text (either a word or the text selected in visual mode) with some characters such as ' ... [...] I want to use this to insert brackets, braces and also things like try{ ... catch () { } Simple

Re: Script to surround text with (),.. what's wrong?

2006-07-10 Thread Marc Weber
It is also available on SF, however I haven't updated it for a coupled of years. HTH, Do you still remember some keyword to find the functionality I'm looking for or the filename? I'm not sure where to start. Usage like this? runtimepath+=lh-cpp/ Thx Marc

Re: Out of sequence messages from python

2006-07-10 Thread J Alan Brogan
Benji Fisher wrote: It looks as though you have already put a lot of work into this approach, but have you considered using quickfix mode? :help quickfix Although I knew in general of the quickfix approach, I hadn't looked at in particular for this problem, because what I'm doing is an

Re: Script to surround text with (),.. what's wrong?

2006-07-10 Thread hermitte
Marc Weber [EMAIL PROTECTED] wrote: It is also available on SF, however I haven't updated it for a coupled of years. HTH, Do you still remember some keyword to find the functionality I'm looking for or the filename? Of course. :h Surround() This function permit to surround selections

Re: Script to surround text with (),.. -- solved

2006-07-10 Thread Marc Weber
But it doesn't work everytime. This was my fault. exec @- did uses the deleted text before this deletion. Why don't you use :imap and :vmap separately ? Seems to be a working idea. Now I've managed to get it working. The trick was to use only one normal command. = surround.vim

a question about subsitution....

2006-07-10 Thread Robert Cussons
Hi everyone, I have a point of interest question about a substitution I was trying to make. At some points in my code I had a variable that was a pointer that was denoted (in C) by: *iterNum I wanted to replace instances of exactly this string globally between my present position and line

RE: a question about subsitution....

2006-07-10 Thread Max Dyckhoff
As I understand it, the \ and \ tokens represent the beginning and end of a word. This means that the character immediately after the \ token must be a word character, namely letters, numbers, and underscore (as defined by the iskeyword option). Max -Original Message- From: Robert

Re: perlcomplete.vim -- anyone working on this?

2006-07-10 Thread Hakim Cassimally
On 28/05/06, Vigil [EMAIL PROTECTED] wrote: I would just like ctags to work with perl :-/ ctags already works with Perl (up to a point) though the bundled pltags.pl script is slightly better. You might also want to try my recently released perl module Perl::Tags, which is a slightly

Re: Remapping - how to get the count

2006-07-10 Thread Charles E Campbell Jr
Andy Wokula wrote: I want to remap Ctrl-A (normal mode) to do something similar with other data, e.g. :nmap c-a ciwc-r=IncRoman(@-)cresc Now if a count is provided this will mess up the text, e.g. 10c-a does 10ciw... What is a good way to catch the count and make it available to the function

Re: perlcomplete.vim -- anyone working on this?

2006-07-10 Thread Dr Bean
On Mon, 10 Jul 2006, Hakim Cassimally wrote: You might also want to try my recently released perl module Perl::Tags... It has the advantage of being embeddable within Vim, so you can incrementally add to a tags file as you edit. http://search.cpan.org/~osfameron/Perl-Tags/lib/Perl/Tags.pm

Access to undo/redo stack

2006-07-10 Thread John Reese
So it seems to me that it would be interesting, sometimes, to be able to type some colon-mode command and see the whole stack of undo and redo commands and your current position. I mean, most commands can be represented fairly readably... you might imagine using comments for things that aren't

Re: Access to undo/redo stack

2006-07-10 Thread Yakov Lerner
On 7/11/06, John Reese [EMAIL PROTECTED] wrote: So it seems to me that it would be interesting, sometimes, to be able to type some colon-mode command and see the whole stack of undo and redo commands and your current position. At current position ? Sounds too restrictive to me. If I wanted to

[VIM] Anyway to disable the autocmd group and then enable it?

2006-07-10 Thread panshizhu
Hi there, It is possible to remove all autocmds in the autogroup. However, when I want to temperilly disable the autogroup, and enable it in the future. I need to copy the source. Example: Suppose there is some autogroup HisAutoGroup in one of my startup scripts. In one of my script, I need to

Re: [VIM] Anyway to disable the autocmd group and then enable it?

2006-07-10 Thread Yakov Lerner
On 7/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is possible to remove all autocmds in the autogroup. However, when I want to temperilly disable the autogroup, and enable it in the future. I need to copy the source. Example: Suppose there is some autogroup HisAutoGroup in one of my

How to vim a class file in a jar file with the java decompiler executed?

2006-07-10 Thread ERIC HO
Hi there, in tip 1259, I can edit a java jar file by putting the jar.vim in ftdectect directory: au BufReadCmd *.jar,*.war,*.ear,*.sar,*.rarcall zip#Browse(expand(amatch)) That's good. But is there a way that when I select a class file from a jar file, it will execute the java

language menu

2006-07-10 Thread Cesar Romani
Normally the language of my vim's menu is Italian. How can I change it to English? Many thanks in advance, Cesar

Vim7.0 isntallation in the Unix/Solaris

2006-07-10 Thread SHANKAR R-R66203
Hi, I am installing Vim in Unix and Solaris In which file do I configure, to enable perl, python etc. Regards Shankar