emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE file


From: Hsiu-Khuern Tang
Subject: Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE files
Date: Tue, 1 Sep 2009 15:03:13 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

* On Fri 05:45AM +0000, 24 Jul 2009, Tang, Hsiu-Khuern (address@hidden) wrote:
> * On Fri 01:22AM +0000, 24 Jul 2009, Bastien (address@hidden) wrote:
> > Hi Hsiu-Khuern,
> > 
> > I've just pushed a fix for this: when the "src" switch is present,
> > including a file won't escape org-like lines.  With a bare #+include 
> > we still escape lines starting with * or #.
> > 
> > Please test it and report any problem. 
> 
> It works beautifully now.  Thank you very much for the fix!

It looks Org has reverted to the old behavior: inserting a comma at a beginning
of every line in the #INCLUDE'd file that starts with whitespace followed by #.

For example, if you export this as ascii (see
http://article.gmane.org/gmane.emacs.orgmode/15718):

File 1: a.org
==================================================
* test

#+INCLUDE: "a.sh" src sh
==================================================

File 2: a.sh
==================================================
#!/bin/sh

 ## shell comment
echo "This is a test"
==================================================

the output contains the line ", ## shell comment".

Related question: what git commands does one use to obtain all the commits that
changed a particular range of lines in a file?  I'm quite lost with git.

-- 
Best,
Hsiu-Khuern.




reply via email to

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