Nikolai Pavlov wrote:

> Though coming to think about it: you are breaking compatibility for all `-w`
> and macros users, this is not limited to vimgolf: if somebody is actually
> using `-w` to e.g. create large scale macros for batch editing or just keeps
> a number of his faviourite macros in viminfo and is using the keys which
> internal representation you touch then it may result in those macros
> corrupting of the files they are applied to after a new release.
> 
> Given that this is the first time I hear about issue then most likely either
> things like `<C-End>` are used only by the crazy vimgolfers out of all
> experienced users (inexperienced normally do not use macros), or people would
> rather write a VimL script then reuse macros stored anywhere.
> 
> In any case, do not forget: `-w` is using that internal representation.
> Recorded register (i.e. `qa{actions}q`) is using that internal representation
> as well and that is stored in viminfo. So there *is* a compatibility problem
> and it is better to stabilize and document the internal representation rather
> then say that vimgolf creators are wrong in what they do.

Yeah, I hadn't thought about recording something and keeping it for longer
time.  Either in a script or in a register.  That does uses the internal
representation, so that it works in different terminals.

Hmm, that would mean we need to change the enum into using fixed numbers.
Adding a comment "do not change" isn't really sufficient (you don't see the
comment when making a change halfway).

-- 
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
                                               -- Dave Parnas

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui