emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Prevent creating empty lines with trailing spaces when tangling


From: Nicolas Goaziou
Subject: Re: [O] Prevent creating empty lines with trailing spaces when tangling noweb
Date: Sat, 06 May 2017 09:23:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Kaushal Modi <address@hidden> writes:

> Notice that the empty line is created between noweb segments as expected
> because of ":noweb-sep "\\n\\n"". But what was unexpected to me was the
> creation of empty line with spaces inserted to match the indentation.
>
> Is this by design?

I lean towards "yes".

> If it is by design, I would propose to have a new switch called something
> like ":noweb-notrailingspc" (would like a better suggestion for this switch
> name).

I don't think this is necessary. This is but a corner-case. That doesn't
require a dedicated switch.

I'd rather clean every empty line upon tangling, or let the user do it
with `org-babel-post-tangle-hook'.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]