emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Strange newline characters in org-export-as-html


From: Grant Rettke
Subject: Re: [O] Strange newline characters in org-export-as-html
Date: Wed, 12 Mar 2014 21:48:36 -0500

Nick, thanks for looking.

After upgrading to the latest Org release 8.2.5h I did narrow it down
to fci-mode being activated in lisp mode manifesting the issue.

https://github.com/alpaker/Fill-Column-Indicator


On Mon, Mar 10, 2014 at 12:14 AM, Nick Dokos <address@hidden> wrote:
> Grant Rettke <address@hidden> writes:
>
>> This is the simplest example:
>>
>> #+BEGIN_SRC emacs-lisp
>> (message "Hello, world.")
>> #+END_SRC
>>
>
> This  gives me:
>
> <pre class="src src-emacs-lisp">(message <span style="color: 
> #ffa07a;">"Hello, world."</span>)
> </pre>
>
> 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 <address@hidden> 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: address@hidden
>>> #+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
>>>
>>> <pre class="src src-emacs-lisp">(setq 
>>> auto-mode-alist&#57344;&#57345;&#57345;
>>>       (append&#57344;&#57345;&#57345;
>>>        '((<span style="color: #2aa198;">"\\.scm\\'"</span> .
>>> scheme-mode)&#57344;&#57345;&#57345;
>>>
>>> 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
>>> address@hidden | 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
>
>



-- 
Grant Rettke | ACM, AMA, COG, IEEE
address@hidden | 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



reply via email to

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