From: 42 147 <aeuster@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Changing Modes and Headline Closing
Date: Tue, 27 Mar 2018 00:00:53 +0200 [thread overview]
Message-ID: <f3ab025c-a3a1-9d98-37ac-882f4035ecf8@gmail.com> (raw)
Hello,
I'm editing a large document, mostly text, that is intended for a
website -- thus html is interspersed throughout, though not enough to
justify editing the document as a dedicated .html file.
I only use html-mode if I have to edit a list with 6-7 uls / ols nested
in, mainly to keep track of the position of each li. This is fine, but
when I switch back to org-mode everything collapses back to the
top-level headline. My workaround is to kill-buffer and re-open rather
than M-x org-mode out of html-mode.
Is there a way to switch back to org-mode via M-x org-mode while
preserving the state of the open / closed headlines?
Thanks,
John
next reply other threads:[~2018-03-26 22:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 22:00 42 147 [this message]
2018-04-26 23:34 ` Changing Modes and Headline Closing Bastien
2018-04-27 7:36 ` Eric S Fraga
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=f3ab025c-a3a1-9d98-37ac-882f4035ecf8@gmail.com \
--to=aeuster@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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
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
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).