Re: Change the recommended first line? (was: texinfo should support Emacs coding specifier)

2015-12-26 Thread Eli Zaretskii
> Date: Sat, 26 Dec 2015 20:56:37 + > From: Gavin Smith > Cc: Texinfo > > On 26 December 2015 at 18:58, Mathieu Lirzin wrote: > > Hi, > > > > In the texinfo manual we can read this: > > > > --8<---cut here---start->8--- > > Every Texinfo file that is to b

Re: Change the recommended first line? (was: texinfo should support Emacs coding specifier)

2015-12-26 Thread Gavin Smith
On 26 December 2015 at 18:58, Mathieu Lirzin wrote: > Hi, > > In the texinfo manual we can read this: > > --8<---cut here---start->8--- > Every Texinfo file that is to be the top-level input to TeX must begin > with a line that looks like this: > > \input t

Change the recommended first line? (was: texinfo should support Emacs coding specifier)

2015-12-26 Thread Mathieu Lirzin
Hi, In the texinfo manual we can read this: --8<---cut here---start->8--- Every Texinfo file that is to be the top-level input to TeX must begin with a line that looks like this: \input texinfo @c -*-texinfo-*- --8<---cut here---

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Eli Zaretskii
> Date: Sat, 26 Dec 2015 12:00:53 + > From: Gavin Smith > Cc: Per Bothner , Texinfo > > >> "The '@documentencoding' command declares the input document encoding, > >> and can also affect the encoding of the output." > > > > A plain-ASCII document could produce a UTF-8 encoded Info manual, no

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Gavin Smith
On 26 December 2015 at 11:49, Eli Zaretskii wrote: >> Date: Sat, 26 Dec 2015 11:01:15 + >> From: Gavin Smith >> Cc: Per Bothner , Texinfo >> >> On 26 December 2015 at 10:58, Eli Zaretskii wrote: >> >> If the duplication of the encoding information is a problem, maybe the >> >> Emacs mode fo

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Eli Zaretskii
> Date: Sat, 26 Dec 2015 11:01:15 + > From: Gavin Smith > Cc: Per Bothner , Texinfo > > On 26 December 2015 at 10:58, Eli Zaretskii wrote: > >> If the duplication of the encoding information is a problem, maybe the > >> Emacs mode for Texinfo could recognize a "@documentencoding" command. >

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Gavin Smith
On 26 December 2015 at 10:58, Eli Zaretskii wrote: >> If the duplication of the encoding information is a problem, maybe the >> Emacs mode for Texinfo could recognize a "@documentencoding" command. > > But @documentencoding doesn't necessarily mean the file is in that > encoding, does it? I thoug

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Eli Zaretskii
> Date: Sat, 26 Dec 2015 10:38:45 + > From: Gavin Smith > Cc: Texinfo > > If the duplication of the encoding information is a problem, maybe the > Emacs mode for Texinfo could recognize a "@documentencoding" command. But @documentencoding doesn't necessarily mean the file is in that encodin

Re: Using iconv in stand-alone info

2015-12-26 Thread Gavin Smith
On 26 December 2015 at 07:34, Eli Zaretskii wrote: > Perhaps it would be better to put this in the EILSEQ part of the > switch above. The result should be the same, AFAICT, since EILSEQ is > the only case when we don't 'continue' or 'return', but having the > code there makes it more self-explana

Re: texinfo should support Emacs coding specifier

2015-12-26 Thread Gavin Smith
On 25 December 2015 at 23:22, Per Bothner wrote: > There is an Emacs standard for specifying the character encoding of a file, > by putting 'coding: ENCODING' in the mode specifier. > The texinfo specification should follow this standard; it is extra > weird to not do so when the texinfo specifica