emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Cloning a task also clones the unique id [6.36trans]
Date: Fri, 14 May 2010 23:01:32 +0200	[thread overview]
Message-ID: <87iq6qjiz7.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <87y6fmcjsq.fsf@gollum.intra.norang.ca>


[-- Attachment #1.1: Type: text/plain, Size: 1227 bytes --]

Bernt Hansen wrote:
>David Maus <dmaus@ictsoc.de> writes:

>> Ah, yes, thanks.  Deleting the property occurred on the wrong place.  Fixed in
>> 51a37ca09529e2597a863e7b7390da4409c750dc in
>> git://github.com/dmj/dmj-org-mode.git quickfix.
>>
>> I'm not sure if we should delete an empty property drawer after
>> cloning, too.  E.g.  If the ID property was the only property of the
>> original subtree the clone have an empty property drawer.  Though, it
>> is just a cosmetic issue.

>Personally I would prefer to delete the empty drawer.  I still have
>weird behaviour with cloning a subtree.  I start with this: [...]

Again, sorry, yes.  The problem was that I told Org to remove the ID
property at headline at point after inserting the clone.  Merely the
headline at point after insert is not necessarily the clone but a
sibling of the clone.

Now it is definetly fixed in git://github.com/dmj/dmj-org-mode.git
quickfix -- Org removes the ID property in the copy of the original
subtree before it is inserted anywhere.

Dang, you should always be sure where (point) is when depending
(point) to be somewhere specific.

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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-05-14 21:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 16:13 Bug: Cloning a task also clones the unique id [6.36trans] Bernt Hansen
2010-05-14 19:29 ` David Maus
2010-05-14 19:44   ` Bernt Hansen
2010-05-14 20:04     ` David Maus
2010-05-14 20:25       ` Bernt Hansen
2010-05-14 21:01         ` David Maus [this message]
2010-05-14 23:05           ` Carsten Dominik
2010-05-17 13:00             ` Giovanni Ridolfi
2010-05-17 13:26               ` 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=87iq6qjiz7.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=bernt@norang.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).