emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [org-timer] mode line request
@ 2010-02-20 13:46 Austin Frank
  2010-02-25 15:44 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Austin Frank @ 2010-02-20 13:46 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]

Hi!

Would it be possible for timers set using org-timer-set-timer to display
their current value in the mode line?

I think all of the required pieces to implement this exist already, but
I haven't been able to get it to work.  The relevant functions seem to
be org-timer-update-mode-line and parts of
org-timer-show-remaining-time.

I'd like to be able to watch as the timer counts down towards zero.  If
this behavior isn't desired generally, could we introduce a variable to
control whether these timers are shown in the mode line?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [org-timer] mode line request
  2010-02-20 13:46 [org-timer] mode line request Austin Frank
@ 2010-02-25 15:44 ` Bastien
  2010-04-09  7:26   ` Austin Frank
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2010-02-25 15:44 UTC (permalink / raw)
  To: Austin Frank; +Cc: emacs-orgmode

Hi Austin,

Austin Frank <austin.frank@gmail.com> writes:

> Would it be possible for timers set using org-timer-set-timer to display
> their current value in the mode line?

I'm working on this.

I've also simplified the code behind temporary manually-set timers: 
you can now only add one timer.  It's not useful to allow many such 
timers.

While doing this, I fixed a bug about a remaining timer that the user
could see when calling `org-timer-show-remaining-time'.  Thanks to
Frédéric Couchet for catching this.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [org-timer] mode line request
  2010-02-25 15:44 ` Bastien
@ 2010-04-09  7:26   ` Austin Frank
  0 siblings, 0 replies; 3+ messages in thread
From: Austin Frank @ 2010-04-09  7:26 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]

On Thu, Feb 25 2010, Bastien wrote:

> Austin Frank <austin.frank@gmail.com> writes:
>
>> Would it be possible for timers set using org-timer-set-timer to
>> display their current value in the mode line?
>
> I'm working on this.

Ping?  I know you're a busy fella, but have you had a chance to look at
this.  If not, any takers?  If not, any tips for an example function I
can look at for how to set and update the mode-line?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-09  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-20 13:46 [org-timer] mode line request Austin Frank
2010-02-25 15:44 ` Bastien
2010-04-09  7:26   ` Austin Frank

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).