From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre =?utf-8?Q?T=C3=A9choueyres?= Subject: [PATCH] Add new keyword :coding for #+include directive Date: Mon, 16 Apr 2018 21:52:23 +0200 Message-ID: <87tvsbx72g.fsf@killashandra.ballybran.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8AAu-0003qj-93 for emacs-orgmode@gnu.org; Mon, 16 Apr 2018 15:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8AAt-0007gM-KB for emacs-orgmode@gnu.org; Mon, 16 Apr 2018 15:52:28 -0400 Received: from smtp4-g21.free.fr ([2a01:e0c:1:1599::13]:31368) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8AAt-0007f9-Bp for emacs-orgmode@gnu.org; Mon, 16 Apr 2018 15:52:27 -0400 Received: from killashandra.ballybran.fr.free.fr (unknown [IPv6:2a01:e35:2e14:eab0:b51f:3dc7:7e03:942]) by smtp4-g21.free.fr (Postfix) with ESMTPS id 079D819F5CA for ; Mon, 16 Apr 2018 21:52:23 +0200 (CEST) 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" To: org-mode Hello org's developpers, I want to propose the attached patch which allow you to specify an optionnal `:coding' keyword to the `#+INCLUDE:' directive. This allow you to specify something like #+begin_example ,#+INCLUDE: "myfile.cmd" src cmd :coding "cp850-dos" #+end_example Which allow you to have different encoding for your various sources files. This allow me to include localised Microsoft Windows batch sources inside my utf-8-unix org-files. Thanks in advance for your remarks. Pierre