From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Request to add support for escaping comments in org blocks Date: Tue, 03 May 2016 19:22:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ce3c6169d1b0531f50a60 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axfv2-0000Ox-6D for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:23:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axfuq-0001j3-JR for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:23:34 -0400 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:35934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axfup-0001Uv-Bw for emacs-orgmode@gnu.org; Tue, 03 May 2016 15:23:28 -0400 Received: by mail-oi0-x22b.google.com with SMTP id x201so39116684oif.3 for ; Tue, 03 May 2016 12:23:13 -0700 (PDT) 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" To: emacs-org list --001a113ce3c6169d1b0531f50a60 Content-Type: text/plain; charset=UTF-8 Hi, I would like to add the Local Variables comment block to my org file (for documentation purpose) without affecting the actual local variable values in that buffer. Here is a minimum working example: #+BEGIN_SRC org ,#+STARTUP: align ,* COMMENT Local Variables ,# Local Variables: ,# fill-column: 90 ,# End: #+END_SRC The problem with above is that the commas before the comments are seen in the export too. The ASCII export looks like this: ,---- | #+STARTUP: align | * COMMENT Local Variables | ,# Local Variables: | ,# fill-column: 80 | ,# End: `---- If I instead have #+BEGIN_SRC org ,#+STARTUP: align ,* COMMENT Local Variables # Local Variables: # fill-column: 80 # End: #+END_SRC the export looks fine (below) .. but then that corrupts the local variables in that buffer. ,---- | #+STARTUP: align | * COMMENT Local Variables | # Local Variables: | # fill-column: 80 | # End: `---- Can we please add support for comma escaped comments in source blocks? Thanks. Kaushal -- -- Kaushal Modi --001a113ce3c6169d1b0531f50a60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I would like to add the Local Varia= bles comment block to my org file (for documentation purpose) without affec= ting the actual local variable values in that buffer.

<= div>Here is a minimum working example:

#+BEGI= N_SRC org
,#+STARTUP: align
,* COMMENT Local Variables
,# Local Variables:
,# fill-column: 90
,# End:
#+END_SRC

The problem with above is that the commas before the c= omments are seen in the export too.

The ASCII expo= rt looks like this:

,----
| #+START= UP: align
| * COMMENT Local Varia= bles
| ,# Local Variables:
| ,# fill-column:= 80
| ,# End:
`----

If I= instead have

#+BEGIN_SRC org
,#+ST= ARTUP: align
,* COMMENT Local Var= iables
# Local Variables:
# fill-column: 80<= /div>
# End:
#+END_SRC

the exp= ort looks fine (below) .. but then that corrupts the local variables in tha= t buffer.

,----
| #+STARTUP: align<= /div>
| * COMMENT Local Variables
| # Local Variables:
| # fill-column: 80
| # End:
`----

Can we please add= support for comma escaped comments in source blocks?

<= div>Thanks.

Kaushal
--=

--
Kaushal Modi

--001a113ce3c6169d1b0531f50a60--