emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson92630@outlook.com>
To: Bastien <bzg@gnu.org>
Cc: Christopher Dimech <dimech@gmx.com>,
	Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Texinfo in Org-Mode but with texinfo syntax highlighting
Date: Wed, 23 Sep 2020 14:28:21 -0700	[thread overview]
Message-ID: <SJ0PR03MB5615D5550C5DBF405FBEDA869B380@SJ0PR03MB5615.namprd03.prod.outlook.com> (raw)
In-Reply-To: <877dslar99.fsf@gnu.org> (Bastien's message of "Wed, 23 Sep 2020 09:25:54 +0200")

Bastien <bzg@gnu.org> writes:

> Christopher Dimech <dimech@gmx.com> writes:

>> I am writing a document in texinfo, but I also have some commands in
>> Org-Mode so that if I change my Emacs Major Mode to Org-Mode
>> I get an easy way to traverse my texinfo code. However I would like
>> to keep the syntax highlighting as the use set for texinfo, rather than
>> that of org-mode. I share a way to do that?

> There is some code out there to let you run multiple major modes in
> Emacs, I would look into that:

> See https://www.emacswiki.org/emacs/MultipleModes and perhaps check
> for https://github.com/purcell/mmm-mode

> 2 cents,

Further 2 cents (now we're up to 4 cents ;-) ):

There is a folding minor mode on MELPA that seems to be what you want
instead of org-mode.  You just embed fold markers in a comment (what's a
comment for texinfo?) and fold away.

However, why not consider writing your document with Org and then export
to Texinfo?
-- 
David Masterson


      reply	other threads:[~2020-09-23 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20  3:24 Texinfo in Org-Mode but with texinfo syntax highlighting Christopher Dimech
2020-09-23  7:25 ` Bastien
2020-09-23 21:28   ` David Masterson [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR03MB5615D5550C5DBF405FBEDA869B380@SJ0PR03MB5615.namprd03.prod.outlook.com \
    --to=dsmasterson92630@outlook.com \
    --cc=bzg@gnu.org \
    --cc=dimech@gmx.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).