Hi Carsten,

On Tue, Jun 22, 2010 at 7:03 PM, Carsten Dominik
<carsten.domi...@gmail.com> wrote:
>
> On Jun 22, 2010, at 1:10 PM, Puneeth wrote:
[..]
> no, I do not think so.  The variable is called "-rounding", not "-step".

Sorry for the unclear message. Let me explain.

I tried to use the function shown below (imitating a similar function
by Juan Pechier [1]). But this function only changes the time by
either +5 or -5 minutes for whatever value of "n". Should it not,
increase the time by a multiple of 5 mins?

8<----------------------------------------

(defun upminutes ( n )
  "update all timestamps n minutes"
  (interactive "nAdd minutes: ")
  (save-excursion
    (goto-char (point-min))
     (while (re-search-forward "[[<]" nil t)
       (when (org-at-timestamp-p t)
         (org-timestamp-change n 'minute)
         ))))

8<----------------------------------------

Thanks,
Puneeth

[1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-06/msg00229.html

_______________________________________________
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

Reply via email to