-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Vim developers,

the new range handling on :argdo (and :bufdo, :windo) proceeds even if
a silly (and invalid) range is passed to it:

    $ vim -N -u NONE
    :args *.txt
    :/foo/,/bar/argdo echo bufnr('')
    E14: Invalid address
    2
    "INSTALLmac.txt" 67 lines, 1942 characters
    3
    "INSTALLpc.txt" 513 lines, 19434 characters
    4
    "INSTALLvms.txt" 393 lines, 12432 characters
    5
    "INSTALLx.txt" 165 lines, 5354 characters
    6
    "README.txt" 143 lines, 5178 characters
    7

In contrast,
    :1,999argdo echo bufnr('')
correctly aborts with
    E16: Invalid range

- -- regards, ingo

- -- 
  -- Ingo Karkat --  /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --
  --   http://vim.sourceforge.net/account/profile.php?user_id=9713   --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJUylwwAAoJEA7ziXlAzQ/v4doH/0G46VMP8lwUoWFHKBAelwm5
4bP+0I3n6SoBkyvZVfj03om8SSkWE56rqCNxXQn98GwhafL50Js+P387AzTnob+K
DlYdaVG12xaAXHaAtv+JFQoZj0a4C3qUghl4kUJk2YjrWk2SmPxHtBWonXopRBrW
8Mgg1Qv9qGqy4QVKSJebqSwETsITISFbDOAUIEMJ3PZlu3OBPn9gjiHglwW7VSWU
nv2DpASxvvm1OTtuUZg9ecaPXbGj7Vle7ibtz60JmvDKE1xJirUegsoOmYFMU15K
4Y/FkPKfCxW77T0X+ULuc9d8/vjk+GQvRejxI0e1+2aiW+grmTIBno1RUkPwDYs=
=TFhn
-----END PGP SIGNATURE-----

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui