emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Killing list and subtree?
@ 2012-02-16 15:08 François Pinard
  2012-02-17  2:51 ` Leo
  2012-02-17  8:22 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: François Pinard @ 2012-02-16 15:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Org friends.

Is there an easy command to kill a list and its subtree hierarchy?
Something like `C-c C-x C-w' but which would work at the list level
rather than at the item level?

For now, I'm either repeating a string of `C-k' or setting a region to
cut, and it happens that neither is very efficient, human-wise :-).

François

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

* Re: Killing list and subtree?
  2012-02-16 15:08 Killing list and subtree? François Pinard
@ 2012-02-17  2:51 ` Leo
  2012-02-17  8:22 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Leo @ 2012-02-17  2:51 UTC (permalink / raw)
  To: emacs-orgmode

On 2012-02-16 23:08 +0800, François Pinard wrote:
> Is there an easy command to kill a list and its subtree hierarchy?
> Something like `C-c C-x C-w' but which would work at the list level
> rather than at the item level?

fold the tree using TAB and then C-k?

Leo

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

* Re: Killing list and subtree?
  2012-02-16 15:08 Killing list and subtree? François Pinard
  2012-02-17  2:51 ` Leo
@ 2012-02-17  8:22 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2012-02-17  8:22 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hello,

pinard@iro.umontreal.ca (François Pinard) writes:

> Is there an easy command to kill a list and its subtree hierarchy?
> Something like `C-c C-x C-w' but which would work at the list level
> rather than at the item level?
>
> For now, I'm either repeating a string of `C-k' or setting a region to
> cut, and it happens that neither is very efficient, human-wise :-).

It depends on how you set the region.  You may have a look into
`org-mark-list' command.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2012-02-17  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 15:08 Killing list and subtree? François Pinard
2012-02-17  2:51 ` Leo
2012-02-17  8:22 ` Nicolas Goaziou

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).