From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: Re: org-yank improvement?
Date: Tue, 10 Apr 2012 21:43:35 -0400 [thread overview]
Message-ID: <86d37f59nf.fsf@iro.umontreal.ca> (raw)
In-Reply-To: <87ipikr0r0.fsf@iro.umontreal.ca> ("François Pinard"'s message of "Sun, 04 Mar 2012 07:47:47 -0500")
pinard@iro.umontreal.ca (François Pinard) writes:
> [...] so what I usually do is position the cursor at
> the beginning of the /next/ heading and yank the list item there. [...]
> However, by mistake, it happens that the cursor is on the only visible
> bullet star of the next heading (I'm using org-indent-mode
> instead of really being at the start of the line.
> 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.
While revising old email, I'm stumbling on this, and just got a small
idea. I do not know if it would work. While playing with the
visibility of the stars, maybe that the text between the beginning of
the line up to the last and only visible star in a header could be given
the "intangible" attribute. I did not play with this in a very long
while, but if I remember well, this would prevent inserting in the
middle of this region.
François
next prev parent reply other threads:[~2012-04-11 1:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2012-04-11 6:33 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86d37f59nf.fsf@iro.umontreal.ca \
--to=pinard@iro.umontreal.ca \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).