Matt Price <[email protected]> writes:
> is it possible to mark, not the current subtree, but one level up from
> the current subtree? I would like to add that level to the org
> bindings for expand-region,
>
> https://github.com/magnars/expand-region.el/blob/master/the-org-mode-expansions.el
you are probably looking for something more sophisticated, but this
(untested) snippet should do the job when you are on a subheadline:
#+begin_src emacs-lisp
(save-excursion
(org-up-element)
(org-mark-subtree)))
#+end_src
--
cheers,
Thorsten