On 30/11/08 12:53, Bram Moolenaar wrote:
>
> Patch 7.2.058
> Problem:    Can't add a patch name to the ":version" output.
> Solution:   Add the extra_patches array.
> Files:            src/version.c
[...]

Nice new feature :-). However, unlike the "Modified by" line and the 
"highest standard patch number", it is reflected only in the output of 
":version" -- not on the ":intro" screen, where even the fact that 
"extra" patches are present does not appear. Is this intentional?

:intro

                                VIM - Vi IMproved

                                  version 7.2.60
                             by Bram Moolenaar et al.
                   Vim is open source and freely distributable

                             Sponsor Vim development!
                  type  :help sponsor<Enter>    for information

                  type  :q<Enter>               to exit
                  type  :help<Enter>  or  <F1>  for on-line help
                  type  :help version7<Enter>   for version info

Press ENTER or type command to continue

:version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Nov 30 2008 22:42:40)
Included patches: 1-60
Extra patches: Extra float functions (Bill McCarthy)
Compiled by [EMAIL PROTECTED]
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
[...]

Notes:
1. Bill's patch as it sits at Google hasn't (yet) been modified. I 
patched version.c according to the following (in addition, of course, to 
Bill's patch for eval.c and Bram's patches 7.2.001 to 7.2.060):

--- src/version.c.orig  2008-11-30 21:58:27.000000000 +0100
+++ src/version.c       2008-11-30 21:53:08.000000000 +0100
@@ -811,2 +811,4 @@
  {   /* Add your patch description below this line */
+/**/
+    "Extra float functions (Bill McCarthy)",
  /**/

If you download Bill's patch without this, you can add it at the end (or 
at the start) of the patch before applying it.

2. Code examination shows that if you have several "extra patches", 
their names will all appear one after another, comma-separated and 
latest-first, in the ":version" output.


Best regards,
Tony.
-- 
DINGO: Wicked wicked Zoot ... she is a bad person and she must pay the
        penalty.  And here in Castle Anthrax, we have but one punishment
        ... you must tie her down on a bed ... and spank her.  Come!
GIRLS: A spanking!  A spanking!
                  "Monty Python and the Holy Grail" PYTHON (MONTY) 
PICTURES LTD

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

Raspunde prin e-mail lui