emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] ox-info: incorrect @documentencoding
@ 2013-11-10 13:47 Suvayu Ali
  2013-11-11  9:12 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Suvayu Ali @ 2013-11-10 13:47 UTC (permalink / raw)
  To: Emacs Org mode

Hi,

For the Texinfo exporter, I noticed that the @documentencoding macro is
derived from the buffer-file-coding-system.  At the moment it is
translated like this: us-ascii-unix to US-ASCII-UNIX.  This makes
makeinfo complain like so:

org-syntax.texi:5: warning: encoding `US-ASCII-UNIX' is not a canonical texinfo encoding
org-syntax.texi:5: warning: unrecognized encoding name `US-ASCII-UNIX'

If I manually choose us-ascii as my coding system, Emacs sets it to
us-ascii-unix.  I'm guessing us-ascii is an alias of somekind for
us-ascii-<platform>.

Hand editing the US-ASCII-UNIX to US-ASCII in the exported file gets rid
of the warning.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] ox-info: incorrect @documentencoding
  2013-11-10 13:47 [BUG] ox-info: incorrect @documentencoding Suvayu Ali
@ 2013-11-11  9:12 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-11-11  9:12 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Emacs Org mode

Hello,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> For the Texinfo exporter, I noticed that the @documentencoding macro is
> derived from the buffer-file-coding-system.  At the moment it is
> translated like this: us-ascii-unix to US-ASCII-UNIX.  This makes
> makeinfo complain like so:
>
> org-syntax.texi:5: warning: encoding `US-ASCII-UNIX' is not a canonical texinfo encoding
> org-syntax.texi:5: warning: unrecognized encoding name `US-ASCII-UNIX'
>
> If I manually choose us-ascii as my coding system, Emacs sets it to
> us-ascii-unix.  I'm guessing us-ascii is an alias of somekind for
> us-ascii-<platform>.
>
> Hand editing the US-ASCII-UNIX to US-ASCII in the exported file gets rid
> of the warning.

This should be fixed. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-11  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-10 13:47 [BUG] ox-info: incorrect @documentencoding Suvayu Ali
2013-11-11  9:12 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).