From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>,
1853-done@emacsbugs.donarmstrong.com
Cc: emacs-devel@gnu.org
Subject: Re: bug#1853: Trouble with gzipped info files on Windows
Date: Sat, 17 Jan 2009 15:11:14 +0200 [thread overview]
Message-ID: <utz7y2i31.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0901101349s605a5909p2f42abb51ac957df@mail.gmail.com>
> Date: Sat, 10 Jan 2009 22:49:05 +0100
> From: "Juanma Barranquero" <lekktu@gmail.com>
> Cc:
>
> Gzipping normal CRLF info files on Windows, there's currently two problems:
>
> 1.- For all info files:
>
> cd info
> gzip efaq
> emacs -Q --eval "(progn (set-language-environment \"UTF-8\") (info \"(efaq)\"))"
>
> The info pages are decoded with a -unix coding system, so lines
> contain spurious ^M characters.
>
> It does depend on setting the language environment (on the command
> line or .emacs). For example, with my default "Spanish" environment,
> it does not happen; but if I pass "Spanish" in the command above, the
> info pages are erroneously decoded as info-latin-1-unix.
This happened because, on DOS and Windows, file-coding-system-alist
includes the association `("" . find-buffer-file-type-coding-system)',
and find-buffer-file-type-coding-system was not ready to see an
argument whose `car' does not appear to exist because jka-compr
removed the .gz extension from its name.
I fixed find-buffer-file-type-coding-system to work correctly in this
case.
> 2.- Additionally, for info nodes that do NOT contain a Top node:
>
> cd info
> emacs -Q --eval "(progn (set-language-environment \"UTF-8\") (info
> \"(ccmode)\")"
> ;; works OK.
>
> gzip ccmode*
> emacs -Q --eval "(progn (set-language-environment \"UTF-8\") (info
> \"(ccmode)\")"
> ;; "No such node or anchor: Top"
This is yet another separate bug: set-language-environment always sets
default-buffer-file-coding-system to *-unix. See my other message a
few minutes ago.
next prev parent reply other threads:[~2009-01-17 13:11 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <uab9gu30o.fsf@gnu.org>
2009-01-10 21:49 ` bug#1853: Trouble with gzipped info files on Windows Juanma Barranquero
2009-01-17 12:59 ` set-language-environment sets default EOL type to -unix Eli Zaretskii
2009-01-17 14:36 ` Stefan Monnier
2009-01-17 15:23 ` Eli Zaretskii
2009-01-17 15:40 ` Juanma Barranquero
2009-01-17 16:36 ` Eli Zaretskii
2009-01-17 16:59 ` Juanma Barranquero
2009-01-18 1:45 ` Stefan Monnier
2009-01-17 13:11 ` Eli Zaretskii [this message]
2009-01-17 14:05 ` bug#1853: Trouble with gzipped info files on Windows Eli Zaretskii
2009-01-17 14:05 ` Eli Zaretskii
2009-01-17 14:15 ` Eli Zaretskii
2009-01-17 14:15 ` Eli Zaretskii
2009-01-18 21:01 ` Stefan Monnier
2009-01-18 21:01 ` Stefan Monnier
2009-01-19 4:11 ` Eli Zaretskii
2009-01-20 5:10 ` Stefan Monnier
2009-01-24 15:34 ` Eli Zaretskii
2009-01-24 15:34 ` Eli Zaretskii
2009-01-20 5:10 ` Stefan Monnier
2009-01-19 4:11 ` Eli Zaretskii
2009-01-17 13:20 ` bug#1853: marked as done (Trouble with gzipped info files on Windows) Emacs bug Tracking System
2009-01-24 15:45 ` Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=utz7y2i31.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=1853-done@emacsbugs.donarmstrong.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.