emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Changing Modes and Headline Closing
@ 2018-03-26 22:00 42 147
  2018-04-26 23:34 ` Bastien
  2018-04-27  7:36 ` Eric S Fraga
  0 siblings, 2 replies; 3+ messages in thread
From: 42 147 @ 2018-03-26 22:00 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2018-04-27  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 22:00 Changing Modes and Headline Closing 42 147
2018-04-26 23:34 ` Bastien
2018-04-27  7:36 ` Eric S Fraga

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