From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo M Subject: Re: Controlling new line characters during tangle Date: Wed, 21 Jun 2017 13:22:23 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045ea7b415cc59055276951e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNdiM-0008C0-V0 for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 07:22:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNdiM-0005r9-0l for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 07:22:26 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:32966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNdiL-0005qr-Oo for emacs-orgmode@gnu.org; Wed, 21 Jun 2017 07:22:25 -0400 Received: by mail-lf0-x22e.google.com with SMTP id m77so92757983lfe.0 for ; Wed, 21 Jun 2017 04:22:25 -0700 (PDT) In-Reply-To: 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: Kaushal Modi Cc: emacs-org list --f403045ea7b415cc59055276951e Content-Type: text/plain; charset="UTF-8" Dear Kashual, 1. I visit a (Unix EOL[1]) org file on Windows. 2. I write a shell script in a shell source block to be tangled. 3. I tangle it. 4. As a result, I get a (Windows EOL) shell script, while I would like a Unix EOL shell script. Thanks, Giacomo [1] End Of Line convention On Jun 21, 2017 13:02, "Kaushal Modi" wrote: > On Wed, Jun 21, 2017, 5:21 AM Giacomo M wrote: > >> Hi all, >> >> I'm using emacs also under Windows, and would need to tangle >> scripts/config files to be used under Unix. > > > Is there any header argument >> to enforce the desired new line characters in the tangled files? >> > > At which point would you like to enforce the new line characters? > > Can you post a MWE and explain what that it tangles to vs what you'd > actually like to see in the tangled file? > >> -- > > Kaushal Modi > --f403045ea7b415cc59055276951e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Kashual,
1. I visit a (Unix EOL[1]) org file on Windows.
2.= I write a shell script in a shell source block to be tangled.=C2=A0
<= div dir=3D"auto">3. I tangle it.
4. As a result, I g= et a (Windows EOL) shell script, while I would like a Unix EOL shell script= .

Thanks,

Giacomo

[1] End Of Line convention

On Jun 21, 2017 13:02, "Kau= shal Modi" <kaushal.modi@= gmail.com> wrote:
On Wed, Jun 21, 2017, 5:21= AM Giacomo M <= jackjackk@gmail.com> wrote:
= Hi all,

I'm using emacs also under Windows, and would need to tangle
scripts/config files to be used under Unix.

Is there any h= eader argument
to enforce the desired new line characters in the tangled files?

At which point would you like to enforce th= e new line characters?

Can you post a MWE and expl= ain what that it tangles to vs what you'd actually like to see in the t= angled file?
--

Kaushal Modi

--f403045ea7b415cc59055276951e--