Szabolcs wrote:

> On Jan 17, 8:35 pm, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> > I also see *.nb files listed as Nota Bene text files.  I don't know what
> > Nota Bene is, but perhaps the file contents can be checked to be
> > something that looks like Mathematica?
> 
> According to <http://filext.com/file-extension/nb>, Nota Bene is a
> word processor and bibliographic manager.
> 
> Mathematica notebooks always begin with a comment, i.e. "(*" (without
> the quotes).  I am not sure whether there may be any whitespace before
> the (*, but none of the notebooks I checked (created by versions 3.0,
> 5.2 and 6.0) had any.  So perhaps any *.nb file whose first two
> characters are (* could be linked to the mma file type?

http://www.notabene.com/

I would guess their *.nb files are a binary format, something you
wouldn't want to edit with Vim.  So handling all *.nb files as
Mathematica probably isn't a problem.

-- 
ARTHUR: If you do not open these doors, we will take this castle by force ...
   [A bucket of slops land on ARTHUR.  He tries to retain his dignity.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui