emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [Babel] Coding system of tangled files?
Date: Mon, 22 Nov 2010 06:20:34 -0700	[thread overview]
Message-ID: <87aal1sak8.fsf@gmail.com> (raw)
In-Reply-To: <80tyj9wmwr.fsf@missioncriticalit.com>

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> 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
> sva@MEDIACENTER:.../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	other threads:[~2010-11-22 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 12:59 Sébastien Vauban
2010-11-18 14:07 ` Eric Schulte
2010-11-22 12:41   ` Sébastien Vauban
2010-11-22 13:20     ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aal1sak8.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    --subject='Re: Re: [Babel] Coding system of tangled files?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).