emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Julien Danjou <julien@danjou.info>
Cc: emacs-orgmode@gnu.org
Subject: Re: Weird behaviour with org-yank and org-startup-indented
Date: Sun, 17 Oct 2010 08:08:38 +0200	[thread overview]
Message-ID: <3B1391C6-72E9-4BAA-9197-7B27B26249BC@gmail.com> (raw)
In-Reply-To: <87bp6vpks7.fsf@keller.adm.naquadah.org>


On Oct 15, 2010, at 4:56 PM, Julien Danjou wrote:

> Hi,
>
> I'm using org 7.01h with Emacs 24 trunk. When I set org-startup- 
> indented
> to t, I observe the following:
>
> ** TODO Some stuff
>
> I select "stuff" and press M-w. Then I go the the line under and press
> C-y (org-yank).
>
> Now I got:
>
> ** TODO Some stuff
> ** TODO Some

This is bad.  As this problem does not exist in Emacs 23 and I have  
not changed anything in this part of the code, maybe a bug report to  
EMacs is in order.  Will you file one, with the remark that this works  
fine in Emacs 23?

Thanks.!

- Carsten

>
> instead of:
>
> ** TODO Some stuff
> stuff
>
> Note that after M-w, `kill-ring' has a correct first entry of "stuff":
>
>  (#("stuff" 0 5
>     (fontified t face org-level-2))
>   ...)
>
> But on C-y (org-yank) something happens, and it paste the wrong  
> text. I
> think it's trying to be smart but it's not.
>
> I've found that setting org-startup-indented to nil fix that  
> behaviour.
>
> What's wrong?
> -- 
> Julien Danjou
> // ᐰ <julien@danjou.info>   http://julien.danjou.info
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-10-17  6:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-15 14:56 Weird behaviour with org-yank and org-startup-indented Julien Danjou
2010-10-17  6:08 ` Carsten Dominik [this message]
2010-10-18 14:37   ` Julien Danjou
2010-10-20 12:31     ` [Orgmode] " Julien Danjou
2010-10-20 15:09       ` Chong Yidong
2010-10-20 15:24         ` Julien Danjou
2010-10-20 15:38           ` Andreas Röhler
2010-10-20 15:58           ` [Orgmode] " Chong Yidong
2010-10-20 15:33       ` Chong Yidong
2010-10-20 15:37         ` Lennart Borgman
2010-10-20 17:38         ` Stefan Monnier
2010-10-21 17:40           ` Chong Yidong
2010-10-21 17:38         ` Carsten Dominik

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=3B1391C6-72E9-4BAA-9197-7B27B26249BC@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=julien@danjou.info \
    /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).