From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Request to add support for escaping comments in org blocks Date: Tue, 3 May 2016 16:23:29 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axjfh-0006ZJ-RV for emacs-orgmode@gnu.org; Tue, 03 May 2016 19:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axjfW-0003kE-85 for emacs-orgmode@gnu.org; Tue, 03 May 2016 19:24:00 -0400 Received: from iport-acv3-out.ucsd.edu ([132.239.0.4]:34682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axjfU-0003h3-Qi for emacs-orgmode@gnu.org; Tue, 03 May 2016 19:23:54 -0400 In-Reply-To: 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: Kaushal Modi Cc: emacs-org list On Tue, 3 May 2016, Kaushal Modi wrote: > 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 Try this: #+BEGIN_SRC org :exports results :results replace :wrap example ,#+STARTUP: align ,* COMMENT Local Variables ,# Local Variables: ,# fill-column: 90 ,# End: #+END_SRC and be sure to (require 'ob-org) HTH, Chuck