emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [Babel] Coding system of tangled files?


From: Eric Schulte
Subject: Re: [Orgmode] Re: [Babel] Coding system of tangled files?
Date: Mon, 22 Nov 2010 06:20:34 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Sébastien Vauban <address@hidden> writes:

> ** Two
>
> After different trials, I came up with the following which works for me...
>
> Evaluate this:
>
> #+begin_src emacs-lisp :results silent :tangle no
> (add-hook 'org-babel-pre-tangle-hook
>           (lambda ()
>             (setq coding-system-for-write 'iso-latin-9-unix)))
> #+end_src
>

That's great, I'm happy you found a solution.

>
> It's not clear to me what's the exact difference between the 2 variables
> (=save-buffer-coding-system= and =coding-system-for-write=). But that works:
>

I don't know myself, I've never had to dig too deeply into Emacs coding
system.

Cheers -- Eric

>
> #+begin_src sh
> address@hidden:.../Accounting/dev 0$ doit.sh
> accountlog.csv  csv2ledger.sh  doit.sh  ecm-tangle.txt  my-csv2ledger.html  
> my-csv2ledger.txt
> Mon Nov 22 13:30:12     2010
> #+end_src
>
>
> Best regards,
>   Seb



reply via email to

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