From: Joost Kremers <joostkremers@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: Multiline Comments
Date: Mon, 09 Nov 2020 14:29:26 +0100 [thread overview]
Message-ID: <87eel2r749.fsf@fastmail.fm> (raw)
In-Reply-To: <trinity-b4e04c1a-6104-4957-96f3-f3b00dc9bb70-1604924095668@3c-app-mailcom-bs13>
On Mon, Nov 09 2020, Christopher Dimech wrote:
> Because I want to pass the file through Org-Mode and Rec-Utils, which
> require Org and Rec Commands to start at the beginning of the line.
>
> My workaround has been to include the commands within Double Quotes.
>
> (multic "
> #+STARTUP: content
> * Adds Directories to load-path and the Melpa Package Archives")
>
> But it would help if we can think of an improvement to multic, thus
> looking for ideas I can try.
Have you considered other ways of achieving what you want? You can include code
snippets in Org documents, which can be executed from within the document, or
exported to create a source-only file. The Org manual, section "Working with
source code" has all the details.
And there's also the [lentic](https://github.com/phillord/lentic) package, which
makes it possible to have two different, related versions of a file. See the
website for some examples.
Perhaps you've already considered those options, but if not, they both seem more
flexible and powerful than what you're trying.
--
Joost Kremers
Life has its moments
prev parent reply other threads:[~2020-11-09 13:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-08 20:47 Multiline Comments Christopher Dimech
2020-11-09 9:28 ` Jean Louis
2020-11-09 13:01 ` Michael Heerdegen
2020-11-09 13:18 ` Christopher Dimech
2020-11-09 13:33 ` Joost Kremers
2020-11-09 13:55 ` Christopher Dimech
2020-11-09 14:37 ` Joost Kremers
2020-11-09 15:08 ` Christopher Dimech
2020-11-09 15:23 ` Joost Kremers
2020-11-09 15:35 ` Christopher Dimech
2020-11-09 19:01 ` Joost Kremers
2020-11-10 0:13 ` Robert Thorpe
2020-11-10 0:36 ` Joost Kremers
2020-11-09 17:51 ` Christopher Dimech
2020-11-09 10:10 ` Michael Heerdegen
2020-11-09 12:14 ` Christopher Dimech
2020-11-09 13:29 ` Joost Kremers [this message]
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=87eel2r749.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=help-gnu-emacs@gnu.org \
/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.