emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: outline-minor-mode and org-mode capabilities for programming languages
Date: Sun, 09 May 2021 10:02:15 -0400	[thread overview]
Message-ID: <jwv4kfcypjm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: trinity-218456ea-634f-4272-ae92-9ac46c57cdb4-1620550380687@3c-app-mailcom-bs07

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


      reply	other threads:[~2021-05-09 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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. [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:

  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=jwv4kfcypjm.fsf-monnier+emacs@gnu.org \
    --to=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \


* 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


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