From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Request to add support for escaping comments in org blocks
Date: Tue, 3 May 2016 16:23:29 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1605031617360.1128@charles-berrys-macbook.local> (raw)
In-Reply-To: <CAFyQvY18N9niFCEfR0AzxQ=5PZdjxy2isum9UytGE7k+hKy9uQ@mail.gmail.com>
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
next prev parent reply other threads:[~2016-05-03 23:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-03 19:22 Request to add support for escaping comments in org blocks Kaushal Modi
2016-05-03 23:23 ` Charles C. Berry [this message]
2016-05-04 3:44 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1605031617360.1128@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=kaushal.modi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.