From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Improved org-timer-set-timer Date: Fri, 28 May 2010 12:45:20 +0200 Message-ID: <87sk5ccnjz.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=52058 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHx49-0007s3-T2 for emacs-orgmode@gnu.org; Fri, 28 May 2010 06:45:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHx48-00067i-JB for emacs-orgmode@gnu.org; Fri, 28 May 2010 06:45:25 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:43569) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHx48-00067Q-F8 for emacs-orgmode@gnu.org; Fri, 28 May 2010 06:45:24 -0400 Received: by wwi17 with SMTP id 17so534361wwi.0 for ; Fri, 28 May 2010 03:45:23 -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@gnu.org Hi all, I've improved `org-timer-set-timer' again: ,----[ `org-timer-set-timer': new prefix argument. ] | Called with a numeric prefix argument, `org-timer-set-timer' uses | this numeric value as the duration of the timer. | | Called with a `C-u' prefix argument, use `org-timer-default-timer' | without prompting the user for a duration. | | With two `C-u' prefix arguments, use `org-timer-default-timer' | without prompting the user for a duration and automatically | replace any running timer." `---- The thing we need now is a way to display the timer in the modeline. Thanks for Frédéric Couchet for ideas in this direction. -- Bastien