2008/8/24 Bram Moolenaar <[EMAIL PROTECTED]>:
>
>> Still, this behaviour of :args is very counterintuitive: if I start
>> Vim with "gvim file1.m file1.h file2.m" then the arglist will be the
>> order I specified, whereas if I start Vim, then type ":args file1.m
>> file1.h file2.m" the arglist will be in a different order (unless I
>> ":set su=" first).
>>
>> So this still makes me wonder if there isn't a way force :args _not_
>> to rearrange the filenames you pass to it?  What is the rationale
>> behind making :args perform this kind of "sorting"?
>
> ":args" works like giving the arguments on the Vim command line, where
> the shell does the wildcard expansion.  Then Vim handles 'suffixes' to
> move less important files to the end.  But the list isn't sorted, only
> the matches from expanded arguments are sorted.
>
> It has always been this way and changing it may go against the
> expectations of long time users.

Ok, well at least I can make :args open files in the order I want by
temporarily clearing 'suffixes' so this is not too big a deal for me.

Thanks,
Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui