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 23:01:32 +0200 Message-ID: <87iq6qjiz7.wl%dmaus@ictsoc.de> References: <87eiheea2a.fsf@gollum.intra.norang.ca> <877hn6nuxs.wl%dmaus@ictsoc.de> <8739xue09q.fsf@gollum.intra.norang.ca> <8739xuntce.wl%dmaus@ictsoc.de> <87y6fmcjsq.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1954982273==" Return-path: Received: from [140.186.70.92] (port=46381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OD21Q-0004sj-0w for emacs-orgmode@gnu.org; Fri, 14 May 2010 17:02:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OD21K-0006T7-Bi for emacs-orgmode@gnu.org; Fri, 14 May 2010 17:02:15 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:41191) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OD21K-0006Sr-5A for emacs-orgmode@gnu.org; Fri, 14 May 2010 17:02:10 -0400 In-Reply-To: <87y6fmcjsq.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 --===============1954982273== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_May_14_23:01:32_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Fri_May_14_23:01:32_2010-1 Content-Type: text/plain; charset=US-ASCII Bernt Hansen wrote: >David Maus 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 --pgp-sign-Multipart_Fri_May_14_23:01:32_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkvtuiwACgkQma24O1pEeObsIAD/ZBVLhKKC+T7pwGvFGpxP8uV0 chueDvjo0NLQ+2egUfABAI1xIQFlYQt9q4m0RSbH8Nm/dzfTj4p1EFi0ReA4Ufgn =qne2 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_May_14_23:01:32_2010-1-- --===============1954982273== 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 --===============1954982273==--