Re: Info pages opened with an incorrect coding system

2007-07-06 Thread Eli Zaretskii
> From: Zhang Wei <[EMAIL PROTECTED]>
> Date: Fri, 06 Jul 2007 09:56:08 +0800
> 
> This problem happens with "emacs -Q", I don't think my .emacs cause
> this.

Right.  I managed to reproduce this problem on my machine in "emacs -Q".

> The comments in emacs-mime.texi specify which coding system should be
> used to edit it:
> 
> --8<---cut here---start->8---
> @c Local Variables:
> @c mode: texinfo
> @c coding: iso-8859-1
> @c End:
> --8<---cut here---end--->8---
> 
> but the generated emacs-mime info file doesn't specify which coding
> should be used to view it. I think that's why emacs open it with the
> default coding system chinese-iso-8bit.

Yes.

Unfortunately, the way to fix this is not simple.  The way to put an
appropriate `coding:' tag in an Info file is to use the
@documentencoding command in the Texinfo source, and then use the
"--enable-encoding" command-line switch to makeinfo.  But these two
features were added in Texinfo 4.6, and I don't think we've decided to
require such a new version (released in June 2003) yet.

Richard, is it okay to assume Texinfo 4.6 for the CVS trunk?  If it's
okay, I can fix emacs-mime.texi and man/Makefile.in as described
above.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: texinfmt crashes Emacs

2007-07-06 Thread Richard Stallman
Thanks.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Info pages opened with an incorrect coding system

2007-07-06 Thread Richard Stallman
This problem happens with "emacs -Q", I don't think my .emacs cause
this.

That is surely correct.

The comments in emacs-mime.texi specify which coding system should be
used to edit it:

--8<---cut here---start->8---
@c Local Variables:
@c mode: texinfo
@c coding: iso-8859-1
@c End:
--8<---cut here---end--->8---

but the generated emacs-mime info file doesn't specify which coding
should be used to view it. I think that's why emacs open it with the
default coding system chinese-iso-8bit.

Is this a bug, or is this correct behavior?

What is it on your system that makes the default coding system
chinese-iso-8bit?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Info pages opened with an incorrect coding system

2007-07-06 Thread Zhang Wei
Richard Stallman <[EMAIL PROTECTED]> writes:

[...]

> What is it on your system that makes the default coding system
> chinese-iso-8bit?

The default coding system is determined by Locale settings, that is
`LC_ALL', `LC_CTYPE', or `LANG'.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug