From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Subject: [PATCH] org-timestamp-change changes minutes in multiples of rounding time Date: Tue, 22 Jun 2010 16:40:52 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001636e1fcaeb2d27e04899c7a24 Return-path: Received: from [140.186.70.92] (port=51414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OR1Nx-0004gw-4p for emacs-orgmode@gnu.org; Tue, 22 Jun 2010 07:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OR1Nv-0007rP-Fg for emacs-orgmode@gnu.org; Tue, 22 Jun 2010 07:11:20 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:42969) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OR1Nv-0007rC-BJ for emacs-orgmode@gnu.org; Tue, 22 Jun 2010 07:11:19 -0400 Received: by pwi7 with SMTP id 7so5170727pwi.0 for ; Tue, 22 Jun 2010 04:11:13 -0700 (PDT) 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: emacs-orgmode --001636e1fcaeb2d27e04899c7a24 Content-Type: text/plain; charset=UTF-8 Hi, (org-timestamp-change n 'minutes) changes timestamp only by 5 minutes (when my org-time-stamp-rounding-minutes is (0 5)) for any non-zero value of n. I think the timestamp should change by an integer multiple of 5. Do you think this is correct behaviour? A patch for the same has been attached. Thanks, Puneeth --001636e1fcaeb2d27e04899c7a24 Content-Type: application/octet-stream; name="org-timestamp-change.patch" Content-Disposition: attachment; filename="org-timestamp-change.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gaqmuhhp0 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLmVsIGIvbGlzcC9vcmcuZWwKaW5kZXggZTI1MTk0Yy4uYjRk MmJkNyAxMDA3NTUKLS0tIGEvbGlzcC9vcmcuZWwKKysrIGIvbGlzcC9vcmcuZWwKQEAgLTE0OTgx LDcgKzE0OTgxLDggQEAgaW4gdGhlIHRpbWVzdGFtcCBkZXRlcm1pbmVzIHdoYXQgd2lsbCBiZSBj aGFuZ2VkLiIKICAgICAgIChzZXRxIHRpbWUwIChvcmctcGFyc2UtdGltZS1zdHJpbmcgdHMpKQog ICAgICAgKHdoZW4gKGFuZCAoZXEgb3JnLXRzLXdoYXQgJ21pbnV0ZSkKIAkJIChlcSBjdXJyZW50 LXByZWZpeC1hcmcgbmlsKSkKLQkoc2V0cSBuICgqIGRtIChjb25kICgoPiBuIDApIDEpICgoPCBu IDApIC0xKSAodCAwKSkpKQorCShzZXRxIG4gKCogZG0gKGNvbmQgKCg+IG4gMCkgKG1heCAoLyBu IGRtKSAxKSkgCisJCQkgICAgKCg8IG4gMCkgKG1pbiAoLyBuIGRtKSAtMSkpICh0IDApKSkpCiAJ KHdoZW4gKG5vdCAoPSAwIChzZXRxIHJlbSAoJSAobnRoIDEgdGltZTApIGRtKSkpKQogCSAgKHNl dGNhciAoY2RyIHRpbWUwKSAoKyAobnRoIDEgdGltZTApCiAJCQkJIChpZiAoPiBuIDApICgtIHJl bSkgKC0gZG0gcmVtKSkpKSkpCg== --001636e1fcaeb2d27e04899c7a24 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 --001636e1fcaeb2d27e04899c7a24--