help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline Comments


From: Joost Kremers
Subject: Re: Multiline Comments
Date: Mon, 09 Nov 2020 14:29:26 +0100
User-agent: mu4e 1.5.6; emacs 27.1.50

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]