emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]


From: Bernt Hansen
Subject: [Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
Date: Fri, 14 May 2010 16:25:41 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

David Maus <address@hidden> 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:

,----
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
`----

and on the heading repeatedly clone it with C-c C-x c 1 RET RET

and I get this:

,----
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
| * test task
|   :PROPERTIES:
|   :END:
`----

then this

,----
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
| * test task
|   :PROPERTIES:
|   :END:
`----

then this

,----
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
| * test task
|   :PROPERTIES:
|   :ID:       c3601a9c-d1f6-4e76-b7fc-707895112011
|   :END:
| * test task
|   :PROPERTIES:
|   :END:
| * test task
|   :PROPERTIES:
|   :END:
`----

and as far as I can tell it behaves normally after the 3rd clone.  I
don't understand why the second clone keeps the ID.  All clones I've
tried after that produce the expected result with the empty property
drawer.

Org-mode version 6.36trans

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09
on raven, modified by Debian

Regards,
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]