emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* outline-minor-mode and org-mode capabilities for programming languages
@ 2021-05-09  8:53 Christopher Dimech
  2021-05-09 14:02 ` Stefan Monnier via General discussions about Org-mode.
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Dimech @ 2021-05-09  8:53 UTC (permalink / raw)
  To: Help Gnu Emacs, Help Emacs Orgmode

Dear Compeers,

I have same elisp code and using outline-minor-mode.  The good thing about it is that
the language highlighting is preserved.  But navigating and moving the code around is
much more difficult than actually being in org-mode (I can use tab ate move code with
"M-<up>", M-<down>).  The downside is that org-mode removes the highlighting for the
language.  Is there any way out of this.  Having flexibility of org-mode with language
highlighting preserved?

Regards
Christopher


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: outline-minor-mode and org-mode capabilities for programming languages
  2021-05-09  8:53 outline-minor-mode and org-mode capabilities for programming languages Christopher Dimech
@ 2021-05-09 14:02 ` Stefan Monnier via General discussions about Org-mode.
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier via General discussions about Org-mode. @ 2021-05-09 14:02 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: help-gnu-emacs

> I have same elisp code and using outline-minor-mode.  The good thing about it is that
> the language highlighting is preserved.  But navigating and moving the code around is
> much more difficult than actually being in org-mode (I can use tab ate move code with
> "M-<up>", M-<down>).  The downside is that org-mode removes the highlighting for the
> language.  Is there any way out of this.  Having flexibility of org-mode with language
> highlighting preserved?

I think you like to try Orgstruct or Outshine.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-09  8:53 outline-minor-mode and org-mode capabilities for programming languages Christopher Dimech
2021-05-09 14:02 ` Stefan Monnier via General discussions about Org-mode.

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