emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* yanking a headline in folded state
@ 2013-04-02  2:56 42 147
  2013-04-02 19:18 ` Rasmus
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: 42 147 @ 2013-04-02  2:56 UTC (permalink / raw)
  To: emacs-orgmode


Hello mailing list,

A source of slight irritation is killing a whole headline with C-k
(usually to move it to another buffer), and seeing it unfold every
single sub-headline after I yank it to its new position. This causes
tremendous chaos sometimes, especially if there are a number of nested
sub-headlines, and the killed headline itself needs to be adjusted to a
deeper / shallower level (depending on where I inserted it).

So in fewer words: how do I yank a headline in its folded state?

Much thanks,

42

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: yanking a headline in folded state
@ 2013-04-02 22:08 42 147
  2013-04-03 10:33 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: 42 147 @ 2013-04-02 22:08 UTC (permalink / raw)
  To: Org Mode

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

> In my Emacs I have the following.  Would that work?

> "C-c C-x C-w runs the command org-cut-special, which is an interactive
> compiled Lisp function in `org.el'.

I incidentally figured out the problem: I had rebound yank to "C-.", and
did not realize that org-yank was bound to the original yank shortcut
(C-y).

Therefore, I was yanking the org text rather than org-yanking it.
org-cut-special turns out not to be necessary, although I appreciate the
suggestion; and in fiddling around with it, I found the solution to my
problem.

Lesson learned: I should always take a second look at potential org-mode
parallels to the standard Emacs commands. Until now, I had assumed that
"yank" in org-mode was identical to "yank" generally.

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

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

end of thread, other threads:[~2013-04-03 18:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-02  2:56 yanking a headline in folded state 42 147
2013-04-02 19:18 ` Rasmus
2013-04-03  9:31 ` Bastien
2013-04-03 18:11 ` Samuel Wales
  -- strict thread matches above, loose matches on Subject: below --
2013-04-02 22:08 42 147
2013-04-03 10:33 ` Bastien

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