From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: How to change CREATED property value to inactive in org-expiry Date: Thu, 31 Dec 2009 10:54:07 +0100 Message-ID: <87ljgj5v0g.wl%maus.david@gmail.com> References: <878wcobxac.wl%maus.david@gmail.com> <87d41yuidw.fsf@bzg.ath.cx> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============2111908045==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQHjT-0007ma-M8 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 04:54:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQHjS-0007mO-4R for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 04:54:15 -0500 Received: from [199.232.76.173] (port=47689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQHjS-0007mL-0I for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 04:54:14 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:36083) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQHjR-0004lc-Ey for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 04:54:13 -0500 Received: by fg-out-1718.google.com with SMTP id 16so756136fgg.12 for ; Thu, 31 Dec 2009 01:54:10 -0800 (PST) In-Reply-To: <87d41yuidw.fsf@bzg.ath.cx> 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: Bastien Cc: Org-Mode --===============2111908045== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Dec_31_10:54:03_2009-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Thu_Dec_31_10:54:03_2009-1 Content-Type: multipart/mixed; boundary="Multipart_Thu_Dec_31_10:54:03_2009-1" --Multipart_Thu_Dec_31_10:54:03_2009-1 Content-Type: text/plain; charset=US-ASCII Hi Bastien, I attached the two patches: - 0001: Use `org-time-string-to-time' to convert timestamps to time objects - 0002: Allow inactive timestamps I am currently pondering whether or not it could be useful to limit the creation of the created timestamp to todo headlines only. At least for me a created timestamp does not make sense for a headline that is, say, part of a document's outline. Regards -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... maus.david@gmail.com ICQ....... 241051416 --Multipart_Thu_Dec_31_10:54:03_2009-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="0001-Use-org-time-string-to-time-to-convert-timestamp-to-.patch" Content-Transfer-Encoding: base64 RnJvbSA0Yjg1Zjc5MDdmZTkxZTM1OTQxOTFlZjE3ZTg0Y2ViZDEwMDczYjc0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBNYXVzIDxtYXVzLmRhdmlkQGdtYWlsLmNvbT4KRGF0 ZTogU2F0LCAyNiBEZWMgMjAwOSAyMjoxNDozNCArMDEwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBV c2UgYG9yZy10aW1lLXN0cmluZy10by10aW1lJyB0byBjb252ZXJ0IHRpbWVzdGFtcCB0byB0aW1l IG9iamVjdC4KCi0tLQogY29udHJpYi9saXNwL29yZy1leHBpcnkuZWwgfCAgICA1ICsrLS0tCiAx IGZpbGVzIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMoLSkKCmRpZmYgLS1n aXQgYS9jb250cmliL2xpc3Avb3JnLWV4cGlyeS5lbCBiL2NvbnRyaWIvbGlzcC9vcmctZXhwaXJ5 LmVsCmluZGV4IDJhNjk5OGEuLjQxZmI5MWMgMTAwNjQ0Ci0tLSBhL2NvbnRyaWIvbGlzcC9vcmct ZXhwaXJ5LmVsCisrKyBiL2NvbnRyaWIvbG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KCg== --Multipart_Thu_Dec_31_10:54:03_2009-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="0002-Allow-inactive-timestamps-for-created-and-expired-ti.patch" Content-Transfer-Encoding: base64 RnJvbSAyMjc2MjVjZDI3YmNlOGE3ZTk4NDdkZjBmMzc3M2Y2ZDQxMzU2MzE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBNYXVzIDxtYXVzLmRhdmlkQGdtYWlsLmNvbT4KRGF0 ZTogU3VuLCAyNyBEZWMgMjAwOSAwOTo0NTowMyArMDEwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBB bGxvdyBpbmFjdGl2ZSB0aW1lc3RhbXBzIGZvciBjcmVhdGVkIGFuZCBleHBpcmVkIHRpbWVzdGFt cHMuCgpBZGQgY3VzdG9taXphdGlvbiB2YXJpYWJsZSBgb3JnLWV4cGlyeS1pbmFjdGl2ZS10aW1l c3RhbXBzJy4gSWYgc2V0IHRvCnRvLCBvcmctZXhwaXJ5IGNyZWF0aW9uIGFuZCBleHBpcmF0aW9u IGRhdGUgYXMgaW5hY3RpdmUgdGltZXN0YW1wcy4KClRoaXMgbWF5IGJlIHVzZWZ1bCBhcyBlbnRy aWVzIHdpdGggYWN0aXZlIHRpbWVzdGFtcHMgYXJlIHNob3duIGluIHRoZQphZ2VuZGEgYW5kIGhl bmNlIG1heSBjbHV0dGVyIHVwIHRoZSBhZ2VuZGEgdmlldy4KLS0tCiBjb250cmliL2xpc3Avb3Jn LWV4cGlyeS5lbCB8ICAgMzUgKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0KIDEg ZmlsZXMgY2hhbmdlZCwgMjQgaW5zZXJ0aW9ucygrKSwgMTEgZGVsZXRpb25zKC0pCgpkaWZmIC0t Z2l0IGEvY29udHJpYi9saXNwL29yZy1leHBpcnkuZWwgYi9jb250cmliL2xpc3Avb3JnLWV4cGly eS5lbAppbmRleCA0MWZiOTFjLi4zY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KQorICAgICAgIChwb2ludCkgb3JnLWV4cGlyeS1leHBpcnktcHJvcGVy dHktbmFtZSB0aW1lc3RyKSkpKQogCiA7OzsgRnVuY3Rpb25zIHRvIHByb2Nlc3MgZXhwaXJlZCBl bnRyaWVzOgogCi0tIAoxLjYuNQoK --Multipart_Thu_Dec_31_10:54:03_2009-1-- --pgp-sign-Multipart_Thu_Dec_31_10:54:03_2009-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAks8dL4ACgkQMW9L5GcHFv3DeACfVx90RqiYFNXC+wtFE9SNuSZk oGgAnjDU7mXiV/o14ET89J330csqlF+g =MlZi -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Dec_31_10:54:03_2009-1-- --===============2111908045== 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 --===============2111908045==--