emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Detlef Steuer <detlef.steuer@gmx.de>
To: emacs-orgmode@gnu.org
Subject: [bug] killing and yanking _sometimes_ doesn`t indent correctly
Date: Tue, 9 Aug 2011 16:19:26 +0200	[thread overview]
Message-ID: <20110809161926.1a4bee2d@vknecht-intel.unibw-hamburg.de> (raw)

Hi!

Using the following files I can reproduced a bug I encountered.

inbox.org
---
* Inbox
** TODO first
** TODO second
---

fileto.org
---
* What todo

** Subheading 1

** Subheading 2
---

Now, if I place the cursor in inbox.org on 
** TODO first

hit
C-c C-x C-w 

move to fileto.org and hit 
C-c C-x C-y  whlie the cursor is in the empty line after 
** Subheading 1 

I get
---
** Subheading 1
* TODO first

** Subheading 2
---

Should be

---
** Subheading 1
*** TODO first

** Subheading 2
---

In larger files it somestimes works, sometimes behaves this way.

While experimenting I found, when yanking while the cursor is _at the
end_ of the line
** Subheading 1

I get

--
* What todo
** TODO first



** Subheading 2
--

so the lovely subheading 1 gets eaten by my yank.

Shouldn`t I guess.

Orgmode:
release_7.7-38-g1b379
Org-mode version 7.7 (release_7.7.38.g1b379)
Emacs: GNU Emacs 23.2.1 (x86_64-suse-linux-gnu, GTK+ Version 2.22.1) of 2011-02-22 on build34

Regards
Detlef

             reply	other threads:[~2011-08-09 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09 14:19 Detlef Steuer [this message]
2011-08-10 16:43 ` [bug] killing and yanking _sometimes_ doesn`t indent correctly David Maus
2011-08-10 19:08   ` Detlef Steuer

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=20110809161926.1a4bee2d@vknecht-intel.unibw-hamburg.de \
    --to=detlef.steuer@gmx.de \
    --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).