* Texinfo in Org-Mode but with texinfo syntax highlighting
@ 2020-09-20 3:24 Christopher Dimech
2020-09-23 7:25 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Christopher Dimech @ 2020-09-20 3:24 UTC (permalink / raw)
To: Org-Mode mailing list
Dear Compeers,
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?
---------------------
Christopher Dimech
Chief Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Texinfo in Org-Mode but with texinfo syntax highlighting
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
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2020-09-23 7:25 UTC (permalink / raw)
To: Christopher Dimech; +Cc: Org-Mode mailing list
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,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Texinfo in Org-Mode but with texinfo syntax highlighting
2020-09-23 7:25 ` Bastien
@ 2020-09-23 21:28 ` David Masterson
0 siblings, 0 replies; 3+ messages in thread
From: David Masterson @ 2020-09-23 21:28 UTC (permalink / raw)
To: Bastien; +Cc: Christopher Dimech, Org-Mode mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-23 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.