From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Unnecessary comma escapes in HTML export of #+INCLUDE files Date: Wed, 2 Sep 2009 08:25:19 +0200 Message-ID: <8CB3B2C4-5114-4DC7-9BCD-BA44AAB5DB68@gmail.com> References: <20090722011304.GY16388@hplhtang> <87tz15jgv3.fsf@bzg.ath.cx> <20090722173504.GZ16388@hplhtang> <87vdlizxha.fsf@bzg.ath.cx> <20090724054520.GB2207@hplhtang> <20090901220312.GP4172@hplhtang.hpl.hp.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MijHg-0000j8-FS for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 02:25:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MijHa-0000hq-Oo for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 02:25:31 -0400 Received: from [199.232.76.173] (port=52053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MijHa-0000hX-8r for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 02:25:26 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:54802) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MijHZ-0007q4-1I for emacs-orgmode@gnu.org; Wed, 02 Sep 2009 02:25:25 -0400 Received: by ewy7 with SMTP id 7so438895ewy.31 for ; Tue, 01 Sep 2009 23:25:22 -0700 (PDT) In-Reply-To: <20090901220312.GP4172@hplhtang.hpl.hp.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hsiu-Khuern Tang Cc: "emacs-orgmode@gnu.org" Hi Hsiu-Khuern, I am not able to reproduce the problem. - Carsten On Sep 2, 2009, at 12:03 AM, Hsiu-Khuern Tang wrote: > * On Fri 05:45AM +0000, 24 Jul 2009, Tang, Hsiu-Khuern (hsiu-khuern.tang@hp.com > ) wrote: >> * On Fri 01:22AM +0000, 24 Jul 2009, Bastien (bastienguerry@googlemail.com >> ) 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. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode