On 10/07/09 02:34, Matt Wozniski wrote:
>
> On Wed, Jul 8, 2009 at 3:59 AM, Christian Brabandt wrote:
>>
>> Hi Robert!
>>
>> On Mi, 08 Jul 2009, Robert Mark Bram wrote:
>>
>>>  From :help autosave:
>>>
>>>     *'autosave'* *'as'* *'noautosave'* *'noas'*
>>>      'autosave' 'aw' number  (default 0)
>>>            Automatically write the current buffer to file N seconds after
>>> the
>>>            last change has been made and when |'modified'| is still set.
>>>            Default: 0 = do not autosave the buffer.
>>>      Alternative: have 'autosave' use 'updatetime' and 'updatecount'
>>> but make
>>>      them save the file itself besides the swapfile.
>>>
>>> but :autosave 5 gives "Not an editor command"
>>> and :set autosave 5 gives "Unknown option: autosave"
>>>
>>> What am I missing? :/
>>
>> It's in the todo list. That means, it is not yet implemented.
>
> And, even if it were implemented, it would be an option, not a command
> - you'd use
>
>      :set autosave=5
>
> and not
>
>      :autosave 5
>
> ~Matt

Yes, and looking at that todo list item shows that it has a typo, 
currently (as of 2009-Jul-02) at line 3197 col 18, where it has the 
letter w (in 'aw') but it should be an s (to make it 'as') -- 'aw' 
already exists as the short form of 'autowrite' which is a different 
option. Also, there are help tags there for *'noas'* and *'noautosave'* 
as for a Boolean option, but on the next line it is mentioned as a 
Number option. Maybe those Boolean tags are there to cover the 
"alternative" possibility mentioned at the end of the "future help item".


Best regards,
Tony.
-- 
You can create your own opportunities this week.  Blackmail a senior
executive.

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

Reply via email to