From: David Masterson <firstname.lastname@example.org> To: Bastien <email@example.com> Cc: Christopher Dimech <firstname.lastname@example.org>, Org-Mode mailing list <email@example.com> 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: <firstname.lastname@example.org> (Bastien's message of "Wed, 23 Sep 2020 09:25:54 +0200") Bastien <email@example.com> writes: > Christopher Dimech <firstname.lastname@example.org> 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
prev parent 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 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 \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: Texinfo in Org-Mode but with texinfo syntax highlighting' \ /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
Code repositories for project(s) associated with this 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).