From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Re: Make text below heading not part of the heading Date: Thu, 27 Jan 2011 10:14:30 +0000 (UTC) Message-ID: References: <4D408504.4060505@christianmoe.com> <4D4130CA.90604@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59138 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiOsN-0007uo-7N for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 05:14:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiOsK-0006Qh-EP for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 05:14:50 -0500 Received: from lo.gmane.org ([80.91.229.12]:44624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiOsK-0006PS-49 for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 05:14:48 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PiOsG-0000t7-Di for emacs-orgmode@gnu.org; Thu, 27 Jan 2011 11:14:44 +0100 Received: from c-98-222-194-143.hsd1.in.comcast.net ([98.222.194.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 11:14:44 +0100 Received: from dnquark by c-98-222-194-143.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 11:14:44 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Christian Moe christianmoe.com> writes: > > For my money, it's neither bug nor feature, but a (minor) restriction > that follows from the (hugely enabling) feature of simple-to-use > outline folding. An exception would be an added feature. For my part, > I've not yet had a use case where inserting an extra heading was not a > satisfactory solution. > Christian is right that it's just a design limitation, but he makes it sound like the restriction follows from having simple-to-use folding, or that because simple folding is so useful by itself, we can overlook minor inconveniences like lack of fine-grained control over folding. I disagree. I would argue that _because_ folding and outlining is so central to org mode's usefulness, it would be good to introduce better control over folding. I, for one, would like to see a feature like Marcelo suggests. Implementing it the way he describes would probably be somewhat non-trivial, because it does interfere with the fundamental model of an org document. However, there are very simple ways to achieve the desired effect. For instance, a special mark-up of a heading (e.g. * ~~ heading) could be made equivalent to setting the visibility:true property. I've played with the relevant code in org.el, and it wouldn't be hard to implement. Another example where I would very much like to see more control over folding are the #+begin_src/#+end_src, #+begin_example/#+end_example, etc. blocks. In particular, I'd like an option to see #+begin... blocks in the outline view as I'm cycling through visibility with shift-tab. In a lengthy org-babel document, such an ability would be invaluable. In short, for complicated org documents with many outline levels, visiblity requirements, :DETAILS: drawers and #+begin/#+end blocks, the current level of control over folding is not entirely satisfactory. It doesn't look hard to fix, but unfortunately it seems that everyone is content with the status quo... --Leo > > On 1/26/11 10:05 PM, Jeff Horn wrote: > > On Wed, Jan 26, 2011 at 3:55 PM, Marcelo de Moraes Serpa > > gmail.com> wrote: > >> Would the current behavior be considered a bug or a feature? > > > > I consider it a feature. I don't know what your use case is (why you > > want to do this), but if you want to callout particular information, > > as a header, without messing with folding, I suggest trying > > org-inlinetask-insert-task. You can delete the "TODO" keyword if it > > pops up. > > > > You could also use list items instead of headers if you want to > > visually separate text from the body, like a note to self. > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >