emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yuri Goncharov <gy@hl.ru>
To: emacs-orgmode@gnu.org
Subject: Re: modeline clock string
Date: Mon, 12 Apr 2010 09:38:15 +0400	[thread overview]
Message-ID: <20100412093815.207451b1@n14> (raw)
In-Reply-To: <20100409101801.GA22973@taupan.ath.cx>




> Yuri Goncharov schrieb:
> > I use xmonad with xmobar at my desktop. I'd like to add clock
> > string from mode line to xmobar. Is there  way to save it to
> > file every time when update mode line?
> > 
> ---Zitatende---
> 
> You can find information on various subjects with M-x apropos but it's
> sometimes hard to find the right keyword. I emacs, certain functions
> are called when certain events occur, those functions are called
> hooks. I found display-time-hook by doing M-x apropos<ret>hook<ret>
> and then searching for status (no result) and update (which yielded
> display-time-hook).
> 
> See documentation of variable display-time-hook

Thanks to answer! I need some more help, because my knowledge of lisp
too poor. I found two hooks like I need org-clock-in-hook and 
org-clock-out-hook. Function  org-clock-get-clock-string returns string
that is showing in mode line. I cant figure how to write it in file.
Apologies to my english. 

-- 
Yuri Goncharov
system administrator
Highlink Ltd. St-Peterburg, Russia
+7 812 3341212
http://www.hl.ru

  reply	other threads:[~2010-04-12  5:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  9:30 modeline clock string Yuri Goncharov
2010-04-09 10:18 ` Friedrich Delgado Friedrichs
2010-04-12  5:38   ` Yuri Goncharov [this message]
2010-04-14 15:50     ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100412093815.207451b1@n14 \
    --to=gy@hl.ru \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).