emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^M in the info files


From: Juri Linkov
Subject: Re: ^M in the info files
Date: Thu, 10 Jul 2008 21:42:32 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>>> Does info.el need to use Emacs's auto-detection machinery?  I mean don't
>>> Info files come with their own scheme to specify the encoding used?
>
>> FYI.  Only gnus.texi and emacs-mime.texi have
>> @documentencoding directive along with coding: tag.  As a
>> result (or not, I'm not sure), the resulting info files
>> "gnus" and "emacs-mime" contain coding: tag.
>
> But the others are pure ASCII aren't they (isn't that what it means for
> an Info file not to have a "coding:" tag)?

If an Info file has no "coding:" tag, then the Info reader uses
Emacs's auto-detection machinery.

But maybe in this case we should force some safe coding like `undecided'
(as it seems to use now for pure ASCII Info files without null-bytes)?

>> And, for instance, faq.texi has @today{} directive, and it
>> seems that makeinfo generates a date string according to the
>> current locale (and thus results in non-ASCII characters).
>
> Isn't that a bug in makeinfo?

IIUC, this is an intentional feature.  But we could run it with e.g.
`LANG=C makeinfo' in Makefiles.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]