[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Controlling new line characters during tangle
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Controlling new line characters during tangle |
Date: |
Sat, 01 Jul 2017 14:35:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Giacomo M <address@hidden> writes:
> Ok, rudimentary elisp knowledge seems to help here:
>
> #+BEGIN_SRC emacs-lisp
> (defun jack/dos2unix-post-tangle-hook ()
> (set-buffer-file-coding-system 'unix 't)
> (save-buffer)
> )
> (add-hook 'org-babel-post-tangle-hook 'jack/dos2unix-post-tangle-hook)
> #+END_SRC
Thank you for sharing.
Would it make sense to provide a :tangle-coding-system attribute? Would
you want to implement it?
Regards,
--
Nicolas Goaziou
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Controlling new line characters during tangle,
Nicolas Goaziou <=