Loading ...
Sorry, an error occurred while loading the content.

Re: correction in user manual (21.6 Modelines)

Expand Messages
  • A.J.Mechelynck
    ... Did you check with the latest version of ftp://pub/vim/runtime/doc/usr_21.txt ? I have: 1 *usr_21.txt* For Vim version 7.0. Last change: 2006 Jun 21 ...
    Message 1 of 5 , Nov 26, 2006
    • 0 Attachment
      dominique.pelle@... wrote:
      > Hi,
      >
      > I stumbled upon a grammar mistake in the user manual,
      > in section "21.6 Modelines" (:help 21.6). Here is a correction.
      >
      > Cheers
      > /Dominique
      >
      > $ svn diff runtime/doc/usr_21.txt
      > Index: runtime/doc/usr_21.txt
      > ===================================================================
      > --- runtime/doc/usr_21.txt (revision 185)
      > +++ runtime/doc/usr_21.txt (working copy)
      > @@ -432,9 +432,9 @@
      > The "any-text" indicates that you can put any text before and after the part
      > that Vim will use. This allows making it look like a comment, like what was
      > done above with /* and */.
      > - The " vim:" part is what makes Vim recognize this line. The must be white
      > -space before "vim", or "vim" must be at the start of the line. Thus using
      > -something like "gvim:" will not work.
      > + The " vim:" part is what makes Vim recognize this line. There must be a
      > +white space before "vim", or "vim" must be at the start of the line. Thus
      > +using something like "gvim:" will not work.
      > The part between the colons is a ":set" command. It works the same way as
      > typing the ":set" command, except that you need to insert a backslash before a
      > colon (otherwise it would be seen as the end of the modeline).
      >

      Did you check with the latest version of ftp://pub/vim/runtime/doc/usr_21.txt ?

      I have:

      1 *usr_21.txt* For Vim version 7.0. Last change: 2006 Jun 21
      ...
      435 The " vim:" part is what makes Vim recognize this line. There must be
      436 white space before "vim", or "vim" must be at the start of the line. Thus
      437 using something like "gvim:" will not work.

      where "there must be white space" is valid English syntax for "there must be
      some white space": 'Il doit y avoir du blanc avant "vim", à moins que "vim" ne
      soit au début de la ligne.'


      Best regards,
      Tony.
    • dominique.pelle@free.fr
      ... Hmmm, I am looking at an older version here (which still had the error): *usr_21.txt* For Vim version 7.0. Last change: 2006 Apr 25 I m confused,
      Message 2 of 5 , Nov 26, 2006
      • 0 Attachment
        Quoting "A.J.Mechelynck" <antoine.mechelynck@...>:

        > Did you check with the latest version of ftp://pub/vim/runtime/doc/usr_21.txt
        > ?
        >
        > I have:
        > 1 *usr_21.txt* For Vim version 7.0. Last change: 2006 Jun 21


        Hmmm, I am looking at an older version here (which still had the
        error):

        *usr_21.txt* For Vim version 7.0. Last change: 2006 Apr 25

        I'm confused, because this is the latest version in SVN. See:

        https://svn.sourceforge.net/svnroot/vim/vim7/runtime/doc/usr_21.txt

        Doesn't HEAD in svn contain the latest version?

        /Dominique
      • A.J.Mechelynck
        ... SVN is known to lag behind somewhat; but not having been updated 5 months after an update which is itself 2 months newer than the version in the
        Message 3 of 5 , Nov 26, 2006
        • 0 Attachment
          dominique.pelle@... wrote:
          > Quoting "A.J.Mechelynck" <antoine.mechelynck@...>:
          >
          >> Did you check with the latest version of ftp://pub/vim/runtime/doc/usr_21.txt
          >> ?
          >>
          >> I have:
          >> 1 *usr_21.txt* For Vim version 7.0. Last change: 2006 Jun 21
          >
          >
          > Hmmm, I am looking at an older version here (which still had the
          > error):
          >
          > *usr_21.txt* For Vim version 7.0. Last change: 2006 Apr 25
          >
          > I'm confused, because this is the latest version in SVN. See:
          >
          > https://svn.sourceforge.net/svnroot/vim/vim7/runtime/doc/usr_21.txt
          >
          > Doesn't HEAD in svn contain the latest version?
          >
          > /Dominique
          >

          SVN is known to "lag behind" somewhat; but not having been updated 5 months
          after an update which is itself 2 months newer than the version in the
          repository, that's really a helluva lottova lag. (Maybe the SVN maintainer
          went on holiday?) However, patches are only rarely published for runtime
          files, even when they are updated. I synchronize mine periodically using
          rsync. You might want to check CVS to see which version it holds.


          Best regards,
          Tony.
        • Mikolaj Machowski
          ... CVS/SVN don t have runtime updates :( m.
          Message 4 of 5 , Nov 26, 2006
          • 0 Attachment
            Dnia nie lis 26 2006, dominique.pelle@... napisał:
            > I'm confused, because this is the latest version in SVN. See:
            >
            > https://svn.sourceforge.net/svnroot/vim/vim7/runtime/doc/usr_21.txt
            >
            > Doesn't HEAD in svn contain the latest version?
            >

            CVS/SVN don't have runtime updates :(

            m.
          Your message has been successfully submitted and would be delivered to recipients shortly.