From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Strange newline characters in org-export-as-html Date: Mon, 10 Mar 2014 01:14:28 -0400 Message-ID: <87mwgybpor.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMsY7-0004I8-5p for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 01:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMsY0-0008PG-Uj for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 01:14:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:38913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMsY0-0008PB-Ml for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 01:14:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WMsXw-0006ht-I6 for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 06:14:40 +0100 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 06:14:40 +0100 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 06:14:40 +0100 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 Grant Rettke writes: > This is the simplest example: > > #+BEGIN_SRC emacs-lisp > (message "Hello, world.") > #+END_SRC > This gives me:
(message "Hello, world.")
so it's probably some setting of yours. Try with emacs -q and a minimal .emacs file perhaps? > On Sun, Mar 9, 2014 at 11:09 PM, Grant Rettke wrote: >> 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 configuration >> #+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
>>       (append
>>        '(("\\.scm\\'" .
>> scheme-mode)
>>
>> which looks like this
>>
>> Auto Modes 83
>> (setq auto-mode-alist
>>       (append
>>        '(("\\.scm\\'" . scheme-mode)
>>          ("\\.rkt\\'" . scheme-mode)
>>
>> 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/
>> “Wisdom begins in wonder.” --Socrates
>> ((λ (x) (x x)) (λ (x) (x x)))
>> “Life has become immeasurably better since I have been forced to stop
>> taking it seriously.” --Thompson

-- 
Nick