On 25/05/10 19:42, Christian Brabandt wrote:
Hi Nikolai!
On Di, 25 Mai 2010, Nikolai Weibull wrote:
2010/5/25 Dominique Pellé<[email protected]>:
Nikolai Weibull wrote:
That said, I think persistent undo is more or less useless and, well,
just a big pile of potential problems. Persistent undo is in the
version control system, not in the editor.
I think this is a bit harsh.
And I think persistent undo is a lot problematic and only a bit useful.
And now what? You can always disable it at compile time.
Not every file is in version control.
And that’s the problem.
You don't always have a VCS System available. Sometimes there are
constraints that prevent you from using an VCS System only for yourself.
And you can't always change that.
And even if you do use a version control system, persistent undo
allows you to undo with a smaller granularity than simply
reverting revisions in version control system.
One user added a FileWritePost autocmd to commit changed files to Git
whenever he saved. Not that I’d recommend that, but that’s a
solution.
chrisbra t41:~/vim [1008]% git
zsh: command not found: git
zsh: exit 127 git
Users of Vim find different features more or less useful.
And persistent undo is on par with window tabs in terms of usefulness,
just above floating point numbers.
As I said, nobody forces you to use vim 7.3. You can always disable it
at compile time. Or even use vim7.
regards,
Christian
Nikolai:
When tab pages appeared in Vim 7.00aa, I regarded them as not really
useful, only good for people who didn't understand the power of
split-windows (and yet I wrote an enhanced 'tabline' function, which I
still use, even before the 'guitablabel' option existed). Now that I
have so many split windows that their status lines use just about half
the screen height (even with 'winminheight' set to zero: &lines == 49,
winnr('$') == 25), I've started keeping the help on its own tab.
As for floating point numbers, I constantly use Vim as a floating-point
calculator; I wouldn't say it's a useless feature. Not a /necessary/ one
-- I could do without the trig and exp/log functions, and I could even
supply additional decimals by scaling, and evaluate orders of magnitude
mentally, as I did when using a slide rule in high school and college --
but useful, yes, and at no marginal cost (especially now that Bill's
additional functions are part of Vim 7.3a, so even the risk of bit-rot
is gone).
I don't use persistent undo (yet?), any more than I use the +perl,
+python, +ruby, +tcl, +clientserver and +profile features (and probably
a lot more) yet they're all compiled into my "Huge" gvim build. Who
knows? I may use them some day. The only "feature" which I've
specifically excluded from this build (by editing feature.h) is
+tag_old_static, as I believe that the probability that I'll ever need
that one is _really_ vanishingly small.
Best regards,
Tony.
--
Q: How many hardware engineers does it take to change a lightbulb?
A: None. We'll fix it in software.
--
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