Stefan Karlsson | 1 Oct 2005 18:00
Picon

Error while processing function SpellPopup

Hello guys,

When I do ":set spell" and then right clicks on a word I get the message 
"Error while processing function <SNR>7_SpellPopup". Does anyone else 
experience the same behavior?

I run Vim 7 dated 29 september 2005.

--

-- 
Stefan Karlsson | stefan.74 <at> comhem.se

Bram Moolenaar | 1 Oct 2005 18:55
Picon

Re: Error while processing function SpellPopup


Stefan Karlsson -

> When I do ":set spell" and then right clicks on a word I get the message 
> "Error while processing function <SNR>7_SpellPopup". Does anyone else 
> experience the same behavior?
> 
> I run Vim 7 dated 29 september 2005.

This patch will fix it:

Index: runtime/menu.vim
===================================================================
RCS file: /cvsroot/vim/vim7/runtime/menu.vim,v
retrieving revision 1.19
diff -u -r1.19 menu.vim
--- runtime/menu.vim	16 Aug 2005 22:54:47 -0000	1.19
+++ runtime/menu.vim	1 Oct 2005 16:52:06 -0000
 <at>  <at>  -902,7 +902,7  <at>  <at> 
     endif

     let curcol = col('.')
-    let w = spellbadword()
+    let [w, a] = spellbadword()
     if col('.') > curcol		" don't use word after the cursor
       let w = ''
       call cursor(0, curcol)	" put the cursor back where it was

--

-- 
Beer & pretzels can't be served at the same time in any bar or restaurant.
(Continue reading)

Michael Gold | 2 Oct 2005 08:14
Picon
Picon
Favicon

[PATCH] New option: leftindent

The attached patch for Vim 6.3 adds a new option called 'leftindent'
(short form 'li'). It is similar to preserveindent, but adds and removes
indentation at the far left end of the line rather than immediately
before the first non-whitespace character. You can enter the following
code in Vim to see my problem with preserveindent (use ":set noet pi
ts=4 sw=4 sts=0"):

function(a,
         b);       // 9 spaces before b, aligning it with a

If you use >> to indent all 3 lines, you'll get this (">--" is a tab):

>---function(a,
         >-- b);   // 9 spaces, a tab, and 1 space before b

If you change the tab width (ts=3 for example) the letters no longer
line up. I'd expect my code to display properly regardless of the tab
width. With leftindent it does; this is the result:

>---function(a,
>---         b);   // 1 tab and 9 spaces before b

[ if you take this code and use << with the above :set line, you'll see
  a similar problem with unindenting - again, a and b won't line up when
  you change the tab width ]

I always use shiftwidth == tabstop, but I've tried to make the code work
when this isn't true (for example, with Vim's code which uses ts=8 sts=4
sw=4). A possible issue is that >> would always insert some spaces, and
these would build up with repeated indentation (and if sw < ts you'd
(Continue reading)

Alexey I. Froloff | 3 Oct 2005 10:09
Picon
Favicon

[PATCH] typo in pi_spec.txt

6.3, 7.00aa

https://bugzilla.altlinux.org/attachment.cgi?id=1035

Reported by php-coder at altlinux dot org.

--

-- 
Regards,
Sir Raorn.
A. J. Mechelynck | 3 Oct 2005 11:01
Picon

Re: [PATCH] typo in pi_spec.txt

Alexey I. Froloff wrote:
> 6.3, 7.00aa
> 
> https://bugzilla.altlinux.org/attachment.cgi?id=1035
> 
> Reported by php-coder at altlinux dot org.
> 

The patch corrects a typo, but leaves another one untouched.
There is
--- pi_spec.txt.orig	2005-08-07 19:31:38 +0700
+++ pi_spec.txt	2005-08-07 19:32:28 +0700
 <at>  <at>  -28,7 +28,7  <at>  <at> 

 Everytime you run the plugin, it will check to see if the last entry
 in the changelog has been written today and by you. If it's the entry
-mathes, it will just insert a new changelog item, otherwise it will
+matches, it will just insert a new changelog item, otherwise it will
 create a new changelog entry. If you are running with
 |spec_chglog_release_info| enabled, it will also check if the name, version
 and release matches. The plugin is smart enough to ask you if it should

There should be
--- pi_spec.txt.orig	2005-08-07 19:31:38 +0700
+++ pi_spec.txt	2005-08-07 19:32:28 +0700
 <at>  <at>  -27,8 +27,8  <at>  <at> 
 to use in this edit session.

 Everytime you run the plugin, it will check to see if the last entry
-in the changelog has been written today and by you. If it's the entry
(Continue reading)

Bram Moolenaar | 3 Oct 2005 11:48
Picon

Re: [PATCH] typo in pi_spec.txt


Alexey -

> 6.3, 7.00aa
> 
> https://bugzilla.altlinux.org/attachment.cgi?id=3D1035
> 
> Reported by php-coder at altlinux dot org.

I'll fix that.  There is another error in the line above it.

- Bram

--

-- 
FROG: How you English say:  I one more time, mac, I unclog my nose towards
      you, sons of a window-dresser,  so, you think you could out-clever us
      French fellows with your silly knees-bent creeping about advancing
      behaviour.  (blows a raspberry) I wave my private parts at your aunties,
      you brightly-coloured, mealy-templed, cranberry-smelling, electric
      donkey-bottom biters.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///

Bram Moolenaar | 3 Oct 2005 12:24
Picon

Re: [PATCH] typo in pi_spec.txt


Tony Mechelynck wrote:

> Alexey I. Froloff wrote:
> > 6.3, 7.00aa
> > 
> > https://bugzilla.altlinux.org/attachment.cgi?id=1035
> > 
> > Reported by php-coder at altlinux dot org.
> > 
> 
> The patch corrects a typo, but leaves another one untouched.

And Everytime -> Every time.

--

-- 
ARTHUR: CHARGE!
   [The mighty ARMY charges.  Thundering noise of feet.  Clatter of coconuts.
   Shouts etc.   Suddenly there is a wail of a siren and a couple of police
   cars roar round in front of the charging ARMY and the POLICE leap out and
   stop them.  TWO POLICEMAN and the HISTORIAN'S WIFE.  Black Marias skid up
   behind them.]
HISTORIAN'S WIFE: They're the ones, I'm sure.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram <at> Moolenaar.net -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///

(Continue reading)

Pavel Tavoda | 3 Oct 2005 15:22
Picon

Java/Eclipse integration

About year ago I was trying best way how to integrate Java with VIM. I found
one simple way. On net are available ANSI terminals/interpreters writen in
Java. If you redirect stdin/stdout of standard command line VIM to java
terminal this looks like graphical VIM with all features (syntax
highligting....). If somebody is interested I should look into my archive
for working sample.

Shouldn't be this option for possible VIM integration to Eclipse? Of course
in VIM editor you can forgot all existing advantages of Eclipse Java editor.

Regards

Pavel

Nate Cole | 3 Oct 2005 18:56
Picon
Favicon

Re: Java/Eclipse integration

Please post as a VIM tip.

--- Pavel Tavoda <pavel.tavoda <at> gmail.com> wrote:

> About year ago I was trying best way how to integrate Java with
> VIM. I found
> one simple way. On net are available ANSI
> terminals/interpreters writen in
> Java. If you redirect stdin/stdout of standard command line VIM
> to java
> terminal this looks like graphical VIM with all features
> (syntax
> highligting....). If somebody is interested I should look into
> my archive
> for working sample.
> 
> Shouldn't be this option for possible VIM integration to
> Eclipse? Of course
> in VIM editor you can forgot all existing advantages of Eclipse
> Java editor.
> 
> Regards
> 
> Pavel
> 

		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
(Continue reading)

Bram Moolenaar | 3 Oct 2005 20:34
Picon

Vim 6.4 preparations


It looks like Vim 7 is still far from a release.  There are quite a few
things to be worked on.  And I'm going to Uganda for about a month, that
pushes it further forward.

Vim 6.3 was released over a year ago.  There are patches, but many
people prefer installing Vim directly, with all the updated runtime
files.  Therefore I'm planning a 6.4 release.  This is just going to be
Vim 6.3 with all the patches included and the most recent runtime files.

If there is some bug that was fixed in Vim 7 but not put back into Vim
6.3, let me know and I'll see if the risk is small enough to do that
now.  Stability is the main goal of this release, thus I will reject
anything that I am not confident about.

The most recent runtime files can be found here:
	ftp://ftp.vim.org/pub/vim/runtime/
If you spot an outdated file there, please ask the maintainer to send me
an update.

Don't send requests for new features, I will ignore them.

It has been a long time since I made a release, I'm first going to make
Vim 6.4a beta.  Mostly to verify the release building is OK.

Schedule:
Right now, until October 7: Maintainers send me updated runtime files
    Weekend of October 8/9: Vim 6.4a beta
    Less than a week later: Vim 6.4

(Continue reading)


Gmane