all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region
@ 2023-01-19 22:17 Philipp Kiefer
  2023-01-20 10:37 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Kiefer @ 2023-01-19 22:17 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1095 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region
  2023-01-19 22:17 [FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region Philipp Kiefer
@ 2023-01-20 10:37 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-01-20 10:37 UTC (permalink / raw)
  To: Philipp Kiefer; +Cc: emacs-orgmode

Philipp Kiefer <phil.kiefer@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-20 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 22:17 [FEATURE REQUEST] Make org-copy-subtree and org-cut-subtree work on an active region Philipp Kiefer
2023-01-20 10:37 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.