On So, 13 Sep 2015, James McCoy wrote:
> On Sun, Sep 13, 2015 at 06:16:22PM -0700, Gary Johnson wrote:
> > While I can appreciate the problem of running out of disc space, 3.5
> > MB is only 0.23 % of 1.5 GB. If that little bit is a problem, and
> > you are trying to squeeze extra space out of your file system 0.23 %
> > at a time, you are not spending your time wisely.
>
> I have 2100 packages installed on my system. If all of them decided
> 3.5MB of savings wasn't worthwhile, that's over 7GB of extra data. In
> isolation, 3.5MB isn't but in total it can be an appreciable difference.
>
> That being said, we stopped compressing the help files in Debian's
> packages back in 2004 since, at the time, :helpgrep didn't work with
> compressed help files. I'm not sure whether that's still the case.
Looks like this is still an issue. Wondering how the fedora guys solved
that. Anyway here is a patch, that loads the gzip plugin when running
vimtutor.
Best,
Christian
--
Das Evangelium durch ein Wunder beweisen heißt etwas Widersinniges
durch etwas Naturwidriges zu beweisen.
-- Denis Diderot
--
--
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.
diff -r 917ffa98aeeb src/vimtutor
--- a/src/vimtutor Wed Sep 09 22:45:04 2015 +0200
+++ b/src/vimtutor Mon Sep 14 09:01:01 2015 +0200
@@ -70,5 +70,5 @@
# The script tutor.vim tells Vim which file to copy
$VIM -f -u NONE -c 'so $VIMRUNTIME/tutor/tutor.vim'
-# Start vim without any .vimrc, set 'nocompatible'
-$VIM -f -u NONE -c "set nocp" $TUTORCOPY
+# Start vim without any .vimrc, set 'nocompatible' and load the gzip Plugin
+$VIM -f -u NONE -c "set nocp" -c 'ru plugin/gzip.vim' $TUTORCOPY
diff -r 917ffa98aeeb vimtutor.bat
--- a/vimtutor.bat Wed Sep 09 22:45:04 2015 +0200
+++ b/vimtutor.bat Mon Sep 14 09:01:01 2015 +0200
@@ -41,7 +41,7 @@
IF ERRORLEVEL 1 GOTO use_vim
:: Start gvim without any .vimrc, set 'nocompatible'
-start "dummy" /b /w gvim -u NONE -c "set nocp" %TUTORCOPY%
+start "dummy" /b /w gvim -u NONE -c "set nocp" -c "ru plugin/gzip.vim" %TUTORCOPY%
GOTO end