From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Strange newline characters in org-export-as-html Date: Sun, 9 Mar 2014 23:21:46 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMrim-0007DL-HR for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:21:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMril-0001mH-9O for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:21:48 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:50057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMril-0001mC-4C for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:21:47 -0400 Received: by mail-ob0-f171.google.com with SMTP id wn1so6502490obc.2 for ; Sun, 09 Mar 2014 21:21:46 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" This is the simplest example: #+BEGIN_SRC emacs-lisp (message "Hello, world.") #+END_SRC On Sun, Mar 9, 2014 at 11:09 PM, Grant Rettke wro= te: > Hi, > > Org version 7.9.3f with Emacs version 24. Running org-export-as-html. > Have these options: > > #+TITLE: Creation and conservation of computer files (C3F) > #+AUTHOR: Grant Rettke > #+EMAIL: gcr@wisdomandwonder.com > #+DESCRIPTION: A literate programming style exposition of my Emacs config= uration > #+KEYWORDS: Literate Programming, Reproducible Research, Programming > Language, Lisp, Elisp, IDE, Emacs, Babel, org-mode > #+LANGUAGE: en > > Just noticed tonight that in my exported source blocks, mostly > emacs-lisp, wherever there is a newline in the code, I get the > following > sequence exported for example this: > > (setq auto-mode-alist > (append > '(("\\.scm\\'" . scheme-mode) > > becomes > >
(setq auto-mode-alist&#=
57345;
>       (append
>        '(("\\.scm\\'" .
> scheme-mode)
>
> which looks like this
>
> Auto Modes 83
> (setq auto-mode-alist=EE=80=80=EE=80=81=EE=80=81
>       (append=EE=80=80=EE=80=81=EE=80=81
>        '(("\\.scm\\'" . scheme-mode)=EE=80=80=EE=80=81=EE=80=81
>          ("\\.rkt\\'" . scheme-mode)=EE=80=80=EE=80=81=EE=80=81
>
> In a web browser, those block line things are not what I expect.
>
> Thoughts:
> 1. My org document is using unicode symbols. Perhaps this is a bad thing.
> 2. I have wrong export as html settings.
> 3. I'm missing something.
>
> Thoughts?
>
> Regards,
>
> --
> Grant Rettke | ACM, AMA, COG, IEEE
> gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
> =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates
> ((=CE=BB (x) (x x)) (=CE=BB (x) (x x)))
> =E2=80=9CLife has become immeasurably better since I have been forced to =
stop
> taking it seriously.=E2=80=9D --Thompson



--=20
Grant Rettke | ACM, AMA, COG, IEEE
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
=E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates
((=CE=BB (x) (x x)) (=CE=BB (x) (x x)))
=E2=80=9CLife has become immeasurably better since I have been forced to st=
op
taking it seriously.=E2=80=9D --Thompson