Re: [FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region

2023-01-20 Thread Ihor Radchenko
Philipp Kiefer  writes:

> When calling either org-copy-subtree or org-cut-subtree, check if there 
> is an active region that starts on a headline and contains at least one 
> more headline of the same level. If so, copy / cut all the subtrees 
> touched by the region. This saves the user having to count the subtrees 
> he / she wants to operate on in order to use the number as a prefix 
> argument for the command. This changeĀ  would make the process easier and 
> provide visual feedback.

+1

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



[FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region

2023-01-19 Thread Philipp Kiefer
When calling either org-copy-subtree or org-cut-subtree, check if there 
is an active region that starts on a headline and contains at least one 
more headline of the same level. If so, copy / cut all the subtrees 
touched by the region. This saves the user having to count the subtrees 
he / she wants to operate on in order to use the number as a prefix 
argument for the command. This changeĀ  would make the process easier and 
provide visual feedback.


Optionally require that the active region fully encloses two or more 
headlines and nothing else, i. e. that it begins at the start of one 
headline and terminates at the end of another headline.


Thanks.