From: "Colin Fraizer" <orgmode@cfraizer.com>
To: "'Sébastien Vauban'" <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: Continuation of main section text after subsections
Date: Mon, 18 Apr 2011 11:34:19 -0400 [thread overview]
Message-ID: <009801cbfdde$18ef63e0$4ace2ba0$@cfraizer.com> (raw)
In-Reply-To: <807hbjg1rm.fsf@somewhere.org>
Was there ever a conclusion from this discussion?
I think I want something very similar to what Mr. van der Boom requested. I have outlines that contain varying amounts of text (paragraphs) and then, to avoid forgetting some task, I add a TODO item somewhere in the middle. That TODO item absorbs all the text following it until the next headline at the same or higher level.
For example, if I have an outline like
--------------
* Section 1
* Section 2
Paragraph 1
:
:
Paragraph 10
* Section 3
---------------
If I insert a TODO item after paragraph 3 and then collapse the outline, it hides paragraphs 4-10 as if they were part of that TODO item, even if they are unrelated.
I understand that this is not "proper" outline structure, but I was under the impression many people used org-mode for outlining /and/ for TODOs. ;-)
Syntax like "** END" to end the TODO (or other subtree) would, I think, do what I want. Based on my cursory look at it, I imagine one could simply change org-end-of-subtree to treat "^** END" specially (where the number of stars is the level). Normally, it would end with point at the beginning of the line "^** END" (treating as the next headline at the same or higher level) and return that as end of the tree.. However, I'd like for it to put point at the beginning of the line following that "fake" headline.
Then, you could suppress export of "^\\*+ END$".
I don't really see a reason not to do this, but perhaps I'm naively overlooking a big problem.
--Colin
-----Original Message-----
From: emacs-orgmode-bounces+orgmode=cfraizer.com@gnu.org [mailto:emacs-orgmode-bounces+orgmode=cfraizer.com@gnu.org] On Behalf Of Sébastien Vauban
Sent: Monday, March 28, 2011 3:09 AM
To: emacs-orgmode@gnu.org
Subject: [O] Re: Continuation of main section text after subsections
Hi,
Samuel Wales wrote:
> Perhaps we could have a tag like :noexport: except that it exports
> body. It does not export the header. Optionally, it would be replaced
> with a blank line.
>
> Then he can put headers anywhere he wants.
>
> Would this work for the OP's use case?
I really am not (yet?) convinced by the need -- as I don't really see how it fits in LaTeX/HTML.
However, just to answer one detail point, would such a new tag globally exist, it would have to be :ignoreheading: (it does already exist in Org-Beamer for "anonym" columns).
Best regards,
Seb
--
Sébastien Vauban
next prev parent reply other threads:[~2011-04-18 15:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 1:07 Continuation of main section text after subsections Samuel Wales
2011-03-28 4:18 ` Thomas S. Dye
2011-03-28 7:09 ` Sébastien Vauban
2011-04-18 15:34 ` Colin Fraizer [this message]
2011-04-18 16:17 ` Marcel van der Boom
2011-04-18 16:42 ` Colin Fraizer
2011-04-18 18:32 ` Jeff Horn
2011-03-28 14:42 ` Nick Dokos
2011-03-28 14:50 ` Marcel van der Boom
-- strict thread matches above, loose matches on Subject: below --
2011-04-26 0:02 Skip Collins
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='009801cbfdde$18ef63e0$4ace2ba0$@cfraizer.com' \
--to=orgmode@cfraizer.com \
--cc=emacs-orgmode@gnu.org \
--cc=wxhgmqzgwmuf@spammotel.com \
/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).