emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Christopher Dimech <dimech@gmx.com>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Texinfo in Org-Mode but with texinfo syntax highlighting
Date: Wed, 23 Sep 2020 09:25:54 +0200	[thread overview]
Message-ID: <877dslar99.fsf@gnu.org> (raw)
In-Reply-To: <trinity-b0a0d328-2681-4c39-a09f-f4e0f1c34725-1600572287721@3c-app-mailcom-bs13> (Christopher Dimech's message of "Sun, 20 Sep 2020 05:24:47 +0200")

Hi Christopher,

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,


  reply	other threads:[~2020-09-23  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20  3:24 Christopher Dimech
2020-09-23  7:25 ` Bastien [this message]
2020-09-23 21:28   ` David Masterson

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:

  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=877dslar99.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=dimech@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Texinfo in Org-Mode but with texinfo syntax highlighting' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).