From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: [BUG] ox-info: incorrect @documentencoding Date: Sun, 10 Nov 2013 14:47:22 +0100 Message-ID: <20131110134722.GA20321@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfVMc-0005fK-BI for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 08:47:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfVMT-0005RK-Uo for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 08:47:42 -0500 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:45254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfVMT-0005RC-Os for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 08:47:33 -0500 Received: by mail-ee0-f45.google.com with SMTP id c4so399196eek.4 for ; Sun, 10 Nov 2013 05:47:32 -0800 (PST) Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id i1sm49533611eeg.0.2013.11.10.05.47.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Nov 2013 05:47:31 -0800 (PST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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-. 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.