Krzysztof -

> > > Dnia sobota, 9 października 2010 o 16:38:20 Bram Moolenaar 
> > > napisał(a):
> > > 
> > > > What system are you talking about?  I suppose this is done differently
> > > > for every system.  Perhaps it's different for every window manager?
> > > 
> > > In particular, openSUSE, in general, FreeDesktop.
> > > 
> > > > I have never registered a MIME type for Vim files, even though encrypted
> > > > Vim files have been around for many years.
> > > 
> > > Would you accept a patch to that effect?
> > 
> > Well, if it's clearly a good patch, yes.  You could send it to the
> > vim-dev list, so that others can comment on it.
> 
> The following code, to be performed on install, registers the file
> type *.vic for desktop use.

But that isn't right, the file name doesn't matter.  Only the magic at
the start of the file.

> This begs the following compatibility question: what about files
> encrypted with Unix _crypt_?  Can Vim decrypt them?

With a plugin and assuming they can be recognized.  Vim can already edit
.gz and .bz2 files.

- Bram

-- 
hundred-and-one symptoms of being an internet addict:
266. You hear most of your jokes via e-mail instead of in person.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui