Re: Unable to insert lines into buffer with Python3 interface

2010-07-24 Fir de Conversatie Nico Raffo
On Jul 24, 8:02 am, Bram Moolenaar b...@moolenaar.net wrote: Nico Raffo wrote: Due to a syntax change between python 2 and python 3, there is no way to insert a new line at an arbitrary line number into a buffer using the python interface without using undocumented parameters

Unable to insert lines into buffer with Python3 interface

2010-07-23 Fir de Conversatie Nico Raffo
it's a good idea. Nico -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Linking errors when compiled with both python and python3

2010-07-22 Fir de Conversatie Nico Raffo
On Jul 22, 5:18 am, James Vega james...@jamessan.com wrote: On Thu, Jul 22, 2010 at 12:36:27AM -0700, Nico Raffo wrote: If Vim is compiled with both --enable-pythoninterp and --enable- python3interp, errors occur when importing many python modules. To reproduce, compile as described

py3file command doesn't work

2010-07-20 Fir de Conversatie Nico Raffo
repository. Built with --with- features=huge --enable-pythoninterp --enable-python3interp Nico -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: colorcolumn or cursorcolumn misaligned when using conceallevel=3

2010-07-18 Fir de Conversatie Nico
. Also, if you put the cursor on d and run getpos(.) you get the incorrect value 3 Nico -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Update on Vim 7.3 status

2010-05-24 Fir de Conversatie Nico
one is built? Nico -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: fixed bug: floating point numbers cannot be used as arguments in GVIM + lang

2009-12-07 Fir de Conversatie Nico
On Dec 7, 3:46 am, Dominique Pellé dominique.pe...@gmail.com wrote: Nico wrote: After receiving several bug reports from users in one of my scripts, I came across this strange behavior. If GVim is being run in a different language, most functions cannot be called with floating point numbers

Re: Bug - Floating point numbers cannot be used as arguments in GVIM + lang

2009-12-06 Fir de Conversatie Nico
/ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus- P3ijeYIX6T,guid=xx DISPLAY=:0.0 XAUTHORITY=/var/run/gdm/auth-for-nraffo-eWfmuJ/database COLORTERM=gnome-terminal _=/usr/bin/env On Dec 6, 12:50 pm, Dominique Pellé dominique.pe...@gmail.com wrote: Nico wrote: After receiving

Re: Fix for crash in eval.c

2009-05-23 Fir de Conversatie Nico Weber
contains a single step labeled 1. -- perhaps get rid of the number? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Fix for crash in eval.c

2009-05-05 Fir de Conversatie Nico Weber
Hi Bram On 05.05.2009, at 03:41, Bram Moolenaar wrote: Nico Weber wrote: Valgrind memory checker finds several errors in vim-7.2 (patches 1-148) with the reproduction steps described at http://groups.google.com/group/vim_mac/browse_thread/thread/4e0149ff4f84e3d3 : ==33469== Invalid

Re: Fix for crash in eval.c

2009-05-03 Fir de Conversatie Nico Weber
. Thanks for checking. I've attached an updated version of the patch that fixes some of the leaks. The copy()d dicts in the script don't get freed, but I don't (yet?) understand why. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist

Fix for crash in eval.c

2009-05-02 Fir de Conversatie Nico Weber
, these dictionaries and lists are freed a second time. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~--- eval_crash.patch

Re: Scrollbind when scrolling unfocussed window

2009-01-11 Fir de Conversatie Nico Weber
This patch is completely rewritten, with very little in common with the previous one. Again, some review is much needed. I didn't adjust the documentation; is it customary for me to do that, or to have Bram do it? That's your job. Nico

Re: need help, writting a new gui interface

2008-12-21 Fir de Conversatie Nico Weber
). The mapping from vim processes to MMVimController objects is done by MMAppController (connectBackend:...). Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: [patch] fixed crash in vim-7.2.40 when compiling with gcc -O3

2008-11-15 Fir de Conversatie Nico Weber
This code looks OK to me. Maybe it's a bug in gcc or maybe this construction is just not portable. I suspect it's a bug in gcc but I'm not 100% sure. Isn't it better to file this as a bug with gcc? --~--~-~--~~~---~--~~ You received this message from the

Re: Can we still edit the patches list on google groups?

2008-11-14 Fir de Conversatie Nico Weber
? Anyway, I tried it for interest and the first conflict where git am failed was at patch 290 out of 672. As far as I know, macvim/vim contains the official runtime patches, and macvim/master also gets MacVim-specific runtime patches) Nico

Re: mac-osx and open

2008-11-09 Fir de Conversatie Nico Weber
guess the wiki is just outdated. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: [PATCH] Add Load/Ignore All buttons to File changed dialog

2008-10-19 Fir de Conversatie Nico Weber
(fileinput.input(' It converts the current buffer from quoted-printable to normal text. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Highlight a particular line

2008-09-17 Fir de Conversatie Nico Weber
could use :match Error /\%444l/ Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: A small patch for gui_mac.c to let ATSUI support NON-antialias.

2008-08-24 Fir de Conversatie Nico Weber
feel I had to do the switching for now... :-) Fair enough. If you submit a patch to MacVim, it's usually merged in a few days instead of a few months, though. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information

Re: opening huge files, a little slow

2008-06-16 Fir de Conversatie Nico Weber
Hi, but that is not true. Reading the same file with a command like grep, takes 567msecs. is it faster if you do `set swapsync=` and `set nofsync` before reading the file? If so, ext3 is to blame: http://taint.org/2008/03/12/122601a.html Nico

Re: Floating point syntax

2008-06-04 Fir de Conversatie Nico Weber
with just slightly awkward syntax :-) Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: [Patch] Nicer notebook tabs with GTK2

2008-05-03 Fir de Conversatie Nico Weber
include file icons. In OS X, tabs usually don't have file icons, so I wouldn't want it in the OS X version). Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: How many windows? tabs?

2008-04-25 Fir de Conversatie Nico Weber
get you started. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: GSOC Application

2008-04-14 Fir de Conversatie Nico Weber
analysis for example. Writing your own frontend is madness :-) The real challenge is to come up with a general interface between vim and the language checking modules; writing a module for C with clang should be doable. Nico --~--~-~--~~~---~--~~ You received

Re: GSOC: On-the-fly Code Checking for Vim - Challenges

2008-04-14 Fir de Conversatie Nico Weber
if a variable is defined before use, etc. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: GSOC: On-the-fly Code Checking for Vim - Challenges

2008-04-12 Fir de Conversatie Nico Weber
code checking system with an example code-checker for C based on clang (that'll also provide C++ and Obj-C support), that'd be quite useful. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http

Re: (patch) new regexp

2008-04-04 Fir de Conversatie Nico Weber
[-re].exe -u NONE -U NONE -c wq!`? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: (patch) new regexp

2008-04-03 Fir de Conversatie Nico Weber
to a function, it should work on all compilers (and I guess it won't even be slower since the compiler will inline the function call automatically). Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http

Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Nico Weber
a longest match, Javascript does the same as Python, Ruby and Perl (at least the Spidermonkey implementation; the spec suggests that this is correct ( http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf , 15.10.2.3)). nico$ tclsh % regexp {ab|abc} abc matched

Re: feature request: help users count lines - display relative line numbers

2008-02-13 Fir de Conversatie Nico Weber
, such as :2435,2457d Most of the time it's even faster to use v/ (and perhaps 'n' a few times) to jump to the line where you want to go in my experience. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http

Compilation warning

2008-01-22 Fir de Conversatie Nico Weber
cast makes the warning go away: sprintf((char *)num, %d, (int)STRLEN(xp-xp_pattern)); Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: New features to vote on and sponsoring

2008-01-20 Fir de Conversatie Nico Weber
Is this close enough? :command BDP bp | bd # :command BDN bn | bd # Yes. Thanks :-) Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: New features to vote on and sponsoring

2008-01-15 Fir de Conversatie Nico Weber
- add collaborative editing: changes made to a file show up in another Vim in a second Do you mean changes to a file (ie. contents are only synced on file write) or do you mean changes to a buffer (ie collaborative real- time editing over the web)? Thanks, Nico

Re: New features to vote on and sponsoring

2008-01-15 Fir de Conversatie Nico Weber
harder, but I don't see any value in this feature without web support.) Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Documentation for /ordinary-atom missing \*?

2008-01-13 Fir de Conversatie Nico Weber
Hi, you can use '\*' to match a literal '*' (with 'magic' set). I can't find this mentioned anywhere in the documentation. User error or missing documentation? Thanks, Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more

Documentation for $ in pattern

2008-01-12 Fir de Conversatie Nico Weber
end-of-line EOL; at other positions, matches literal '$'. I'm having the impression that $ in front of \n and \%( matches EOL as well. Must the documentation be updated? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more

Re: --remote-tab-silent not mentioned in --help

2008-01-10 Fir de Conversatie Nico Weber
Ted Pavlic mentioned on the vim-mac list that --remote-tab-silent is not mentioned in the --help output and suggests to add it. I think that's a good idea. What do you think? There has been some positive feedback on this, so here's a patch to implement it. Bye, Nico

--remote-tab-silent not mentioned in --help

2007-12-29 Fir de Conversatie Nico Weber
Hi all, Ted Pavlic mentioned on the vim-mac list that --remote-tab-silent is not mentioned in the --help output and suggests to add it. I think that's a good idea. What do you think? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev

Re: Patch to allow ctermfg or bg values as #rrggbb

2007-12-21 Fir de Conversatie Nico Weber
a (the?) color system based on perceived colors, so perhaps is coul be used for your purpose. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Taglist plugin gives errors when switching tabs

2007-12-03 Fir de Conversatie Nico Weber
Hi, I'm using the Taglist plugin version 4.5. If I open a taglist window with `:Tlist` in one tab, switch to another tab and back again, I get Error detected while processing function SNR17_Tlist_Refresh_Folds: line 24: E16: invalid range: 67,145fold Nico

Re: `match()` with branches [and a patch]

2007-12-02 Fir de Conversatie Nico Weber
(1, min([line($), 200])), '@interface\|@end') -1 If we add the '^'s and '\|[EMAIL PROTECTED]', this line would be 80 chars. setf objc elseif exists(c_syntax_for_h) setf c elseif exists(ch_syntax_for_h) setf ch else setf cpp endif endfunc Nico

Re: Bug with )

2007-11-26 Fir de Conversatie Nico Weber
, BTW) as expected. (I'm using FC5 Linux, vim version 7.1 patches 1-162, huge) FWIW, I can reproduce it (vim 7.0.234 and MacVim 7.1.156). Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http

Re: Patch 7.1.160

2007-11-26 Fir de Conversatie Nico Weber
Patch 7.1.160 Problem:When a focus autocommand is defined, getting or losing focus causes the hit-enter prompt to be redrawn. (Bjorn Winckler) Solution: Overwrite the last line. If you do `:intro` and lose or gain focus, the problem still happens. Nico

Re: Patch 7.1.160

2007-11-26 Fir de Conversatie Nico Weber
is not in the last line (i have 'lines=50')? Do you have Focus* autocommands set? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

[patch] forking gvim on os x

2007-11-23 Fir de Conversatie Nico Weber
, but I'm not very proficient in this kind of code, so I'm thankful for comments. This should work for all vim guis on OS X, but I tested it only with MacVim. If there's a simpler way to achieve the same thing, I'd be happy to hear about it ;-) Bye, Nico ps: Bjorn: If I do `ls | .../Vim

Re: Integration of Vim

2007-10-11 Fir de Conversatie Nico Weber
modifications to vim's core (macvim-*-patch.tar.gz in the downloads section). But it's still a lot of work. Sorry for the bad news :-| Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org

Re: MacVIM: Right click spelling fix doesn't allow :spellr

2007-10-03 Fir de Conversatie Nico Weber
, not a MacVim bug. Another thing I noticed: If I write neccessary and `:set spell`, z= suggests Necessary but the popup menu suggests necessary. Is this intentional? Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more

Re: Mac clipboard support

2007-09-27 Fir de Conversatie Nico Weber
1. The snapshot archives contain multiple items at the top level. This is fairly nonstandard IMHO This is the normal way of packaging stuff in OS X because BOMUnarchiver (the program the finder invokes when you double-click a zip) creates a folder with the name of the zip for you.

vim and git

2007-09-20 Fir de Conversatie Nico Weber
Hi all, everytime I do some hacking on vim, I put my modified files into a local svn repository -- which is a bit cumbersome. I found this article today: http://live.gnome.org/GitForGnomeDevelopers This sounds as it could be very useful to other people working on vim as well. Nico

Re: vim and git

2007-09-20 Fir de Conversatie Nico Weber
people. I'm sure you can tell git to ignore config.h and friends when generating patches too. Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: Handling Unicode codepoints outside the BMP

2007-09-14 Fir de Conversatie Nico Weber
(the last screenshot shows that the new character is drawn twice: once at its original position, and once one to the right). The file I used for testing is attached. FWIW, it's in utf8. --~--~-~--~~~---~--~~ You received this message from the vim_dev

Re: problem with MacVim

2007-09-13 Fir de Conversatie Nico Weber
Apparently, it happens with plain vim (taken from svn). file-opened- in-another-session is a file which I have open in another Vim[*] window (application). Application just crashes. The official version works for me (I did `gvim ~/_vimrc` twice, worked fine).

Errors unreadable with cursorline in default color scheme

2007-09-09 Fir de Conversatie Nico Weber
is in the same line as the error, Errors are displayed with a light grey background and white text -- barely readable (tested on gvim/ubuntu and carbon vim/osx). Any ideas what could be done about this? Thanks, Nico --~--~-~--~~~---~--~~ You received this message

Re: Errors unreadable with cursorline in default color scheme

2007-09-09 Fir de Conversatie Nico Weber
. Even if this is not done, the default (!) colorscheme should Just Work. And if we expect each and every colorscheme author to manually take care of this, we can be sure that there are going to be lots of colorschemes that don't work with cursorline set. Nico

Re: Searching for Vim scripts

2007-09-04 Fir de Conversatie Nico Weber
Try it out on the Vim search page (second box from the top): http://www.vim.org/search.php Very nice. A bit feature-laden perhaps ;-) Nico --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http

Re: pum behaviour

2007-08-21 Fir de Conversatie Nico Weber
Hi, As a result, I understood 1% of the code and had a 'behaving` pum, which only redraws the screen at the start,end and when hiding the pvw. If there is any interest, I can post that patch. I am interested. Nico --~--~-~--~~~---~--~~ You received

Re: patch 7.1.080 (extra)

2007-08-18 Fir de Conversatie Nico Weber
undefined behaviour (I guess this is not a problem now, but if searchpath() is changed to modify its argument array in the future, then this will introduce a bug). I don't know if this is true in C as well, does someone know? Nico --~--~-~--~~~---~--~~ You