emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-yank improvement?
@ 2012-03-04 12:47 François Pinard
  2012-03-04 14:26 ` François Pinard
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: François Pinard @ 2012-03-04 12:47 UTC (permalink / raw)
  To: emacs-orgmode

Hi again, Org people!

I often cut a list item (or a hierarchy of list items) to reinsert it
into another heading which I know contains only list items.  All the
headings are collapsed, so what I usually do is position the cursor at
the beginning of the /next/ heading and yank the list item there, this
has the effect of inserting it at the end of the previous heading, no
need to open it.

However, by mistake, it happens that the cursor is on the only visible
bullet star of the next heading (I'm using clean mode, as probably
everybody does!) instead of really being at the start of the line.  In
this case, yanking is physically done between two stars in the string of
stars (all but the last being hidden) making the outline level, which
breaks the layout of course.  I just undo, reposition the cursor better
with Ctrl-A and retry.

It never really make sense, in my opinion, to yank in the middle of an
invisible string.  Luckily enough, yanking is done through a special
org-yank function, so it is at least theoretically possible to prevent
this.  My suggestion would be that whenever yanking into a start string,
that the yanking really occurs at the beginning of it.

Of course, it is my error.  Yet, Org mode could be friendlier, here!

François

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

end of thread, other threads:[~2012-04-12 16:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 12:47 org-yank improvement? François Pinard
2012-03-04 14:26 ` François Pinard
2012-03-04 15:30 ` Memnon Anon
2012-03-04 15:45   ` Thorsten
2012-04-11  6:38     ` Bastien
2012-04-11  7:07       ` Carsten Dominik
2012-04-11 11:50         ` Bernt Hansen
2012-04-11 12:59           ` Bastien
2012-04-12 14:02             ` Thorsten
2012-04-12 14:28               ` Nicolas Goaziou
2012-04-12 16:59                 ` Thorsten
2012-04-12 13:56       ` Thorsten
2012-03-04 16:23   ` Bernt Hansen
2012-03-04 16:41     ` Memnon Anon
2012-03-04 18:41       ` Bernt Hansen
2012-04-11  1:31   ` François Pinard
2012-04-11  1:43 ` François Pinard
2012-04-11  6: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).