From mboxrd@z Thu Jan 1 00:00:00 1970 From: 42 147 Subject: Changing Modes and Headline Closing Date: Tue, 27 Mar 2018 00:00:53 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0aAn-0007p5-Ce for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 18:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0aAk-0004x9-6F for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 18:01:01 -0400 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:40086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0aAj-0004wQ-V1 for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 18:00:58 -0400 Received: by mail-wr0-x22b.google.com with SMTP id z8so20388022wrh.7 for ; Mon, 26 Mar 2018 15:00:57 -0700 (PDT) Received: from [192.168.2.98] (dslb-092-072-053-063.092.072.pools.vodafone-ip.de. [92.72.53.63]) by smtp.gmail.com with ESMTPSA id e7sm389904wrj.26.2018.03.26.15.00.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 15:00:54 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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