Sebastian Fischmeister <sfisc...@uwaterloo.ca> writes: >>> This causes problems, when the level has semantic meaning beyond >>> defining the hierarchy (e.g., level 3 always indicates a task while >>> levels 2 and 1 are project headings). >> >> Why don't you simply refile into the parent, then? > > Because there might not be a lvl 2 heading, but still lvl 3 are tasks.
Good point. Forcing the level of the heading is not a good idea, because it can badly alter the structure of the document (e.g., you are refiling under "A", but the task ends up being a grandson). Maybe we need a more general mechanism to refile "at" instead of refiling "within", i.e., a mechanism to refile just before a given headline, at its very same level, which could be a toggle when calling org-refile. Maybe this is overkill, tho. Regards,