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
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
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
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
. 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
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
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
/
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
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
-~--~~~~--~~--~--~---
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
.
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
, 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
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
). 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
-~--~~~~--~~--~--~---
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
?
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
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
-~--~~~~--~~--~--~---
(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
-~--~~~~--~~--~--~---
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
-~--~~~~--~~--~--~---
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
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
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
-~--~~~~--~~--~--~---
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
-~--~~~~--~~--~--~---
get you started.
Nico
--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---
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
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
-~--~~~~--~~--~--~---
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].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
-~--~~~~--~~--~--~---
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
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
, 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
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
-~--~~~~--~~--~--~---
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
-~--~~~~--~~--~--~---
- 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
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
-~--~~~~--~~--~--~---
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
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
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
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
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
-~--~~~~--~~--~--~---
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
(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
, 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
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
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
-~--~~~~--~~--~--~---
, 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
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
, 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
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.
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
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
-~--~~~~--~~--~--~---
(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
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).
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
. 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
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
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
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
58 matches
Mail list logo