Re: TUTORIAL.gz

2005-10-18 Thread Juri Linkov
> I think the warning is a good alternative. It would be very good if this > also could handle the case when there is no software available to handle > the compression (as might be the case on w32) in other situations (than > accessing tutorials etc). The warning it currently gives on Debian GNU/L

Re: TUTORIAL.gz

2005-10-17 Thread Lennart Borgman
Stefan Monnier wrote: Because it's unlikely (how many people are going to disable auto-compression-mode, really? how many of those will run in an environment where the TUTORIAL files are compressed? how many of those will want to read the tutorial?), and even if it ever happens I don't think i

Re: TUTORIAL.gz

2005-10-17 Thread Stefan Monnier
>>> Shouldn't we better enable auto-compression-mode temporarily if it is >>> switched off? I mean, if a site-wide installation (or distribution) >>> compresses stuff like tutorials and, more importantly, things like NEWS, >>> then Emacs should load these files on request no matter whether the us

Re: TUTORIAL.gz

2005-10-17 Thread Lennart Borgman
Stefan Monnier wrote: Shouldn't we better enable auto-compression-mode temporarily if it is switched off? I mean, if a site-wide installation (or distribution) compresses stuff like tutorials and, more importantly, things like NEWS, then Emacs should load these files on request no matter whethe

Re: TUTORIAL.gz

2005-10-17 Thread Stefan Monnier
> Shouldn't we better enable auto-compression-mode temporarily if it is > switched off? I mean, if a site-wide installation (or distribution) > compresses stuff like tutorials and, more importantly, things like NEWS, > then Emacs should load these files on request no matter whether the user > has

Re: TUTORIAL.gz

2005-10-17 Thread David Kastrup
David Reitter <[EMAIL PROTECTED]> writes: > On 17 Oct 2005, at 15:46, Stefan Monnier wrote: >> >> Agreed. Except that let-binding auto-compression-mode doesn't do much >> if anything. Better just check whether auto-compression-mode is >> nil and if >> so don't try to load the .gz file. > > Seems

Re: TUTORIAL.gz

2005-10-17 Thread David Reitter
On 17 Oct 2005, at 15:46, Stefan Monnier wrote: Agreed. Except that let-binding auto-compression-mode doesn't do much if anything. Better just check whether auto-compression-mode is nil and if so don't try to load the .gz file. Seems like I got confused by instructions from jka-compr.el:

Re: TUTORIAL.gz

2005-10-17 Thread Romain Francoise
Eli Zaretskii <[EMAIL PROTECTED]> writes: > FWIW, I find no compelling reason to do that. TUTORIAL.* files are > relatively small (circa 50KB), so the disk space reclaimed by > compressing them would be minimal. Yup. (A much larger gain is to compress .el files at install time. Since they're u

Re: TUTORIAL.gz

2005-10-17 Thread Eli Zaretskii
> From: David Reitter <[EMAIL PROTECTED]> > Date: Sun, 16 Oct 2005 15:52:57 +0100 > Cc: emacs-devel@gnu.org > > someone might want to change the Makefile to gzip the appropriate > files on non-Windows machines. FWIW, I find no compelling reason to do that. TUTORIAL.* files are relatively small (

Re: TUTORIAL.gz

2005-10-17 Thread Stefan Monnier
> ! (setq file (expand-file-name filename data-directory)) > ! (unless (file-exists-p file) > ! (if (file-exists-p (concat file ".gz")) > ! (setq file (concat file ".gz")) > ! (error "%s does not exist" file))) > ! (let ((auto-compression-mode t)) > ! (find-

Re: TUTORIAL.gz

2005-10-17 Thread Juri Linkov
- (insert-file-contents (expand-file-name filename data-directory)) (hack-local-variables) (goto-char (point-min)) (search-forward "\n<<") --- 52,73 (if (get-language-info current-language-environment 'tutorial) current-language

Re: TUTORIAL.gz

2005-10-16 Thread David Reitter
On 13 Oct 2005, at 21:11, Richard M. Stallman wrote: I would like to suggest to enable help-with-tutorial to load .gz files. This would allow site maintainers to compress the files, saving around 600K in installs of binary distributions. (info has no problems with gzipped file

Re: TUTORIAL.gz

2005-10-15 Thread David Kastrup
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> Date: Fri, 14 Oct 2005 13:25:57 +0200 >> From: LENNART BORGMAN <[EMAIL PROTECTED]> >> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], emacs-devel@gnu.org >> >> Does not compression create some difficulties for w32 users? > > They need gzip to be installed.

Re: TUTORIAL.gz

2005-10-15 Thread Richard M. Stallman
> I don't see the point in doing that when the info manuals remain > uncompressed at the same time. Well, then let's compress the info files too. It is not crucial whether we do this. (That is not just an Emacs question.) The point is, accessing compressed info files works; if the s

Re: TUTORIAL.gz

2005-10-15 Thread Eli Zaretskii
> Date: Fri, 14 Oct 2005 13:25:57 +0200 > From: LENNART BORGMAN <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], emacs-devel@gnu.org > > Does not compression create some difficulties for w32 users? They need gzip to be installed. So yes, it does add a difficulty, since stock Windo

Re: TUTORIAL.gz

2005-10-14 Thread LENNART BORGMAN
From: David Kastrup <[EMAIL PROTECTED]> > Werner LEMBERG <[EMAIL PROTECTED]> writes: > > >> I would like to suggest to enable help-with-tutorial to > load .gz > >> files. This would allow site maintainers to compress the > files,>> saving around 600K in installs of binary > distri

Re: TUTORIAL.gz

2005-10-14 Thread Werner LEMBERG
> > Hmm, what about making Emacs install the tutorials compressed by > > default? > > I don't see the point in doing that when the info manuals remain > uncompressed at the same time. Well, then let's compress the info files too. Werner ___ Emac

Re: TUTORIAL.gz

2005-10-14 Thread David Kastrup
Werner LEMBERG <[EMAIL PROTECTED]> writes: >> I would like to suggest to enable help-with-tutorial to load .gz >> files. This would allow site maintainers to compress the files, >> saving around 600K in installs of binary distributions. (info >> has no problems with gzipped files

Re: TUTORIAL.gz

2005-10-14 Thread Werner LEMBERG
> I would like to suggest to enable help-with-tutorial to load .gz > files. This would allow site maintainers to compress the files, > saving around 600K in installs of binary distributions. (info > has no problems with gzipped files, which is very nice.) > > It sounds good to m

Re: TUTORIAL.gz

2005-10-13 Thread Richard M. Stallman
I would like to suggest to enable help-with-tutorial to load .gz files. This would allow site maintainers to compress the files, saving around 600K in installs of binary distributions. (info has no problems with gzipped files, which is very nice.) It sounds good to me. Would

TUTORIAL.gz

2005-10-12 Thread David Reitter
I would like to suggest to enable help-with-tutorial to load .gz files. This would allow site maintainers to compress the files, saving around 600K in installs of binary distributions. (info has no problems with gzipped files, which is very nice.) __