From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Bug: Cloning a task also clones the unique id [6.36trans] Date: Fri, 14 May 2010 22:04:01 +0200 Message-ID: <8739xuntce.wl%dmaus@ictsoc.de> References: <87eiheea2a.fsf@gollum.intra.norang.ca> <877hn6nuxs.wl%dmaus@ictsoc.de> <8739xue09q.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1367263061==" Return-path: Received: from [140.186.70.92] (port=35880 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OD17h-0003Wl-Aa for emacs-orgmode@gnu.org; Fri, 14 May 2010 16:04:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OD17f-0008Hd-ED for emacs-orgmode@gnu.org; Fri, 14 May 2010 16:04:41 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:41430) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OD17f-0008HL-9A for emacs-orgmode@gnu.org; Fri, 14 May 2010 16:04:39 -0400 In-Reply-To: <8739xue09q.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org --===============1367263061== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_May_14_22:04:00_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Fri_May_14_22:04:00_2010-1 Content-Type: text/plain; charset=US-ASCII Bernt Hansen wrote: >David Maus writes: >> Bernt Hansen wrote: >> >>>I use unique ids for my tasks (enabling org-id in org-modules) >> >>>If you clone a task with a unique id by using C-c C-x c the clone has a >>>copy of the property drawer with the same ID. >> >> Commit b18a4f8a2b093f951fdd143b1331a135eab4e515 in >> git://github.com/dmj/dmj-org-mode.git quickfix fixes this glitch by >> removing the ID property of the clones of the original subtree. >> >> It makes sense to not clone the ID properties if we think of it >> representing the identity of a subtree. >Hi David, >Thanks for this. There's a problem with it if you don't do a time shift >when you clone -- in this case you don't remove the entry. >C-c C-x c 1 RET RET >produces a straight copy of the task including the id. 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. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Fri_May_14_22:04:00_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkvtrLAACgkQma24O1pEeOY0WAEA2xVIqDgEF/+TpY6goEFz9ZCK GeQl6WMDrCpkByo8jpYA/27ldW5FiLeQRz7BBRJuJOql4eNKoVLLU1Wr12ckUyAl =GCNv -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_May_14_22:04:00_2010-1-- --===============1367263061== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1367263061==--